Commit 9be6fd9
drm/xe/oa: Allow reading after disabling OA stream
Some OA data might be present in the OA buffer when OA stream is
disabled. Allow UMD's to retrieve this data, so that all data till the
point when OA stream is disabled can be retrieved.
v2: Update tail pointer after disable (Umesh)
Fixes: efb315d ("drm/xe/oa/uapi: Read file_operation")
Cc: [email protected]
Signed-off-by: Ashutosh Dixit <[email protected]>
Reviewed-by: Umesh Nerlige Ramappa<[email protected]>
Link: https://patch.msgid.link/[email protected]
(cherry picked from commit 4ff57c5)
Signed-off-by: Thomas Hellström <[email protected]>1 parent 38b8dcd commit 9be6fd9
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
543 | 543 | | |
544 | 544 | | |
545 | 545 | | |
546 | | - | |
547 | | - | |
| 546 | + | |
548 | 547 | | |
549 | 548 | | |
550 | 549 | | |
| |||
1460 | 1459 | | |
1461 | 1460 | | |
1462 | 1461 | | |
| 1462 | + | |
| 1463 | + | |
| 1464 | + | |
| 1465 | + | |
1463 | 1466 | | |
1464 | 1467 | | |
1465 | 1468 | | |
| |||
0 commit comments