drm/amdgpu/gmc10: don't touch gfxhub registers during S0ix
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 8 Nov 2022 20:47:56 +0000 (15:47 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 20 Dec 2022 17:46:46 +0000 (12:46 -0500)
commitd5d29009b88f9b0e56e3d8b0bbebc443d41f89ef
treee9a7ceb184ddbbb20fd710655c23ec1806dc3496
parentb93df61dda09ed93e6f2834b4fe6440917f95468
drm/amdgpu/gmc10: don't touch gfxhub registers during S0ix

gfxhub registers are part of gfx IP and should not need to be
changed.  Doing so without disabling gfxoff can hang the gfx IP.

v2: add comments explaining why we can skip the interrupt
    control for S0i3

Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c