diff options
author | Likun Gao <Likun.Gao@amd.com> | 2020-07-06 16:18:28 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-07-08 09:01:18 -0400 |
commit | 2373dd48fc85c710e49ebc9833e0ef97cc103213 (patch) | |
tree | 5a87e92ab7dd9d7a470834a57102b4964d63e910 /drivers/gpu/drm/amd/display/modules/freesync/freesync.c | |
parent | dcf9864d2d31fb27c320b38a40a1596b7c91d935 (diff) |
drm/amdgpu: use RREG32_KIQ to read register when get cg state
Use RREG32_KIQ to read gfx register when try to get gfx/sdma
clockgating state instead of RREG32, as it will result
to system hard hang when GPU is enter into GFXOFF state.
Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/freesync/freesync.c')
0 files changed, 0 insertions, 0 deletions