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>
Thu, 29 Sep 2022 13:41:42 +0000 (09:41 -0400)
commit74365388999386d8becd147945a714be2c36228d
tree7c89632e5665c4bba5d3884c5cf5ea6d45aefc17
parent629c30db7c6812fe82d2dcc0110c9e994a831182
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