]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: disallow gfxoff until GC IP blocks complete s2idle resume
authorPrike Liang <Prike.Liang@amd.com>
Fri, 21 Oct 2022 02:04:40 +0000 (10:04 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 26 Oct 2022 21:48:43 +0000 (17:48 -0400)
commit064b4f7435b9792965fdb200b7f5b4957e264b2f
tree1c83a67ae5109d9ddfd049ded6769a975675d758
parentc60c3ffb978676aefd027493487e94a081edba2a
drm/amdgpu: disallow gfxoff until GC IP blocks complete s2idle resume

In the S2idle suspend/resume phase the gfxoff is keeping functional so
some IP blocks will be likely to reinitialize at gfxoff entry and that
will result in failing to program GC registers.Therefore, let disallow
gfxoff until AMDGPU IPs reinitialized completely.

Signed-off-by: Prike Liang <Prike.Liang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 5.15.x
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c