]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: skip CG/PG for gfx during S0ix
authorPratik Vishwakarma <Pratik.Vishwakarma@amd.com>
Tue, 16 Mar 2021 18:15:44 +0000 (14:15 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Apr 2021 20:37:06 +0000 (16:37 -0400)
commitdc6b529a1318ab73364eab2aca45f14c07149494
tree65413904ae5af8980079cee1c6c9a285fb6ffc8a
parenta5e09724f5b2c57665590b9c9d1b4c381457707c
drm/amdgpu: skip CG/PG for gfx during S0ix

Not needed as the device is in gfxoff state so the CG/PG state
is handled just like it would be for gfxoff during runtime gfxoff.

This should also prevent delays on resume.

Reworked from Pratik's original patch (Alex)

Acked-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Pratik Vishwakarma <Pratik.Vishwakarma@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c