]> 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)
commit440590e97e3f85ce3937d80b779b6c27ba7f8dba
treee7fb8cf1b2791f0f6547e1a46e5b0432e7cb31dd
parent2320fe6dbe686cc6b5aaa79b11ddf38e7524d368
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