]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: rework S3/S4/S0ix state handling
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 12 Mar 2021 20:22:36 +0000 (15:22 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Apr 2021 20:36:29 +0000 (16:36 -0400)
commitcbd0648dd02886fcf01e84a4b4a799cac79352f8
tree954fd0522f48df20cd642758c77b7ed0ccd6c727
parent3c4fea136e7a8b24da3e53b20a8cdf284b8fbc05
drm/amdgpu: rework S3/S4/S0ix state handling

Set flags at the top level pmops callbacks to track
state.  This cleans up the current set of flags and
properly handles S4 on S0ix capable systems.

Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c