Commit 4ce4d5e
drm/amdgpu/gfx9: manually control gfxoff for CS on RV
commit b35eb91 upstream.
When mesa started using compute queues more often
we started seeing additional hangs with compute queues.
Disabling gfxoff seems to mitigate that. Manually
control gfxoff and gfx pg with command submissions to avoid
any issues related to gfxoff. KFD already does the same
thing for these chips.
v2: limit to compute
v3: limit to APUs
v4: limit to Raven/PCO
v5: only update the compute ring_funcs
v6: Disable GFX PG
v7: adjust order
Reviewed-by: Lijo Lazar <[email protected]>
Suggested-by: Błażej Szczygieł <[email protected]>
Suggested-by: Sergey Kovalenko <[email protected]>
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/3861
Link: https://lists.freedesktop.org/archives/amd-gfx/2025-January/119116.html
Signed-off-by: Alex Deucher <[email protected]>
Cc: [email protected] # 6.12.x
Signed-off-by: Greg Kroah-Hartman <[email protected]>1 parent 7d672fd commit 4ce4d5e
1 file changed
+30
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7415 | 7415 | | |
7416 | 7416 | | |
7417 | 7417 | | |
| 7418 | + | |
| 7419 | + | |
| 7420 | + | |
| 7421 | + | |
| 7422 | + | |
| 7423 | + | |
| 7424 | + | |
| 7425 | + | |
| 7426 | + | |
| 7427 | + | |
| 7428 | + | |
| 7429 | + | |
| 7430 | + | |
| 7431 | + | |
| 7432 | + | |
| 7433 | + | |
| 7434 | + | |
| 7435 | + | |
| 7436 | + | |
| 7437 | + | |
| 7438 | + | |
| 7439 | + | |
| 7440 | + | |
| 7441 | + | |
| 7442 | + | |
| 7443 | + | |
| 7444 | + | |
| 7445 | + | |
7418 | 7446 | | |
7419 | 7447 | | |
7420 | 7448 | | |
| |||
7591 | 7619 | | |
7592 | 7620 | | |
7593 | 7621 | | |
7594 | | - | |
7595 | | - | |
| 7622 | + | |
| 7623 | + | |
7596 | 7624 | | |
7597 | 7625 | | |
7598 | 7626 | | |
| |||
0 commit comments