Commit 39fc2bc
drm/amdgpu: Protect GPU register accesses in powergated state in some paths
Ungate GPU CG/PG in device_fini_hw and device_halt to protect GPU
register accesses, e.g. GC registers are accessed in amdgpu_irq_disable_all()
and amdgpu_fence_driver_hw_fini().
Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org1 parent 8a70a26 commit 39fc2bc
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3504 | 3504 | | |
3505 | 3505 | | |
3506 | 3506 | | |
3507 | | - | |
3508 | | - | |
3509 | | - | |
3510 | 3507 | | |
3511 | 3508 | | |
3512 | 3509 | | |
| |||
4902 | 4899 | | |
4903 | 4900 | | |
4904 | 4901 | | |
| 4902 | + | |
| 4903 | + | |
| 4904 | + | |
4905 | 4905 | | |
4906 | 4906 | | |
4907 | 4907 | | |
| |||
7360 | 7360 | | |
7361 | 7361 | | |
7362 | 7362 | | |
| 7363 | + | |
| 7364 | + | |
| 7365 | + | |
7363 | 7366 | | |
7364 | 7367 | | |
7365 | 7368 | | |
| |||
0 commit comments