]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add judgement for suspend/resume sequence
authorLikun Gao <Likun.Gao@amd.com>
Tue, 15 Dec 2020 16:32:20 +0000 (11:32 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Dec 2020 16:32:46 +0000 (11:32 -0500)
commitff010f9199117dd09e5f340af3aeeff80c5d0f6c
treee7fb8cf1b2791f0f6547e1a46e5b0432e7cb31dd
parent1cadd0ab9c6289de057f334d2add68cf9fdb051e
drm/amdgpu: add judgement for suspend/resume sequence

S0ix only makes sense on APUs since they are part of the platform, so
only when the ASIC is APU should set amdgpu_acpi_is_s0ix_supported flag
to deal with the related situation.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c