drm/amdgpu: add s0i3 capacity check for s0i3 routine (v2)
authorPrike Liang <Prike.Liang@amd.com>
Wed, 9 Sep 2020 02:55:39 +0000 (10:55 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Nov 2020 22:29:45 +0000 (17:29 -0500)
commit4cd078dc654d7ead65746fba04b06e5ab7e97bff
treea7536e9d7cebb6da87116f4c627fb94b60378dd5
parentfec3124dc627c2cefc276534130898c3fb38dca1
drm/amdgpu: add s0i3 capacity check for s0i3 routine (v2)

add amdgpu_acpi_is_s0ix_supported() to check the platform
whether support s0i3.

v2: fix empty function parameters warning (void)

Signed-off-by: Prike Liang <Prike.Liang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Huang Rui <ray.huang@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