drm/amdgpu: avoid gfx register accessing during gfxoff
authorEvan Quan <evan.quan@amd.com>
Fri, 26 Aug 2022 11:30:20 +0000 (19:30 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 27 Sep 2022 21:46:52 +0000 (17:46 -0400)
commit7516777434570833469252c16e5fd7d8f73c45be
tree508c0b3ee632c3ed33d0a4702e6f4ef60a572b44
parentf76349cf41451c5c42a99f18a9163377e4b364ff
drm/amdgpu: avoid gfx register accessing during gfxoff

Make sure gfxoff is disabled before gfx register accessing.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c