]> 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)
commite98c5d6bb37e32c25f99055ebcbbcba0104d3b3b
tree1c83a67ae5109d9ddfd049ded6769a975675d758
parent617084d6daca4098878b23e28c54a4fd8db993ac
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