diff options
author | Jiadong Zhu <Jiadong.Zhu@amd.com> | 2024-07-02 09:17:14 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-09-02 11:40:47 -0400 |
commit | 097af47d3cfb99ee02afbdd7e0d9596eb012c65a (patch) | |
tree | cc05a600f44479556519904f19b32a851bc09a69 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | 2f3806f781421ce6dfa60471eb2116627c0eb893 (diff) |
drm/amdgpu/gfx10: 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.
v2: fix KIQ locking (Alex)
v3: fix KIQ locking harder (Jessie)
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
0 files changed, 0 insertions, 0 deletions