Commit 8135f1c
drm/xe/oa: Don't reset OAC_CONTEXT_ENABLE on OA stream close
Mesa testing on Xe2+ revealed that when OA metrics are collected for an
exec_queue, after the OA stream is closed, future batch buffers submitted
on that exec_queue do not complete. Not resetting OAC_CONTEXT_ENABLE on OA
stream close resolves these hangs and should not have any adverse effects.
v2: Make the change that we don't reset the bit clearer (Ashutosh)
Also make the same fix for OAC as OAR (Ashutosh)
Bspec: 60314
Fixes: 2f4a730 ("drm/xe/oa: Add OAR support")
Fixes: 14e077f ("drm/xe/oa: Add OAC support")
Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/2821
Signed-off-by: José Roberto de Souza <[email protected]>
Signed-off-by: Ashutosh Dixit <[email protected]>
Cc: [email protected]
Reviewed-by: Ashutosh Dixit <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit 0c8650b)
Signed-off-by: Lucas De Marchi <[email protected]>1 parent 67801fa commit 8135f1c
1 file changed
+3
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
709 | 709 | | |
710 | 710 | | |
711 | 711 | | |
712 | | - | |
713 | | - | |
| 712 | + | |
714 | 713 | | |
715 | 714 | | |
716 | 715 | | |
| |||
742 | 741 | | |
743 | 742 | | |
744 | 743 | | |
745 | | - | |
746 | | - | |
747 | | - | |
748 | | - | |
| 744 | + | |
| 745 | + | |
749 | 746 | | |
750 | 747 | | |
751 | 748 | | |
| |||
0 commit comments