Commit a10c939
drm/amdgpu/gfx11: wait for reset done before remap
There is a racing condition that cp firmware modifies
MQD in reset sequence after driver updates it for
remapping. We have to wait till CP_HQD_ACTIVE becoming
false then remap the queue.
Acked-by: Vitaly Prosyak <vitaly.prosyak@amd.com>
Signed-off-by: Jiadong Zhu <Jiadong.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>1 parent 7d8e9e6 commit a10c939
1 file changed
+14
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6582 | 6582 | | |
6583 | 6583 | | |
6584 | 6584 | | |
6585 | | - | |
| 6585 | + | |
6586 | 6586 | | |
6587 | 6587 | | |
6588 | 6588 | | |
6589 | 6589 | | |
6590 | 6590 | | |
6591 | 6591 | | |
| 6592 | + | |
| 6593 | + | |
| 6594 | + | |
| 6595 | + | |
| 6596 | + | |
| 6597 | + | |
| 6598 | + | |
| 6599 | + | |
| 6600 | + | |
6592 | 6601 | | |
6593 | 6602 | | |
6594 | 6603 | | |
| 6604 | + | |
| 6605 | + | |
| 6606 | + | |
| 6607 | + | |
6595 | 6608 | | |
6596 | 6609 | | |
6597 | 6610 | | |
| |||
0 commit comments