aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorMario Limonciello <[email protected]>2022-01-11 20:00:26 +0000
committerAlex Deucher <[email protected]>2022-01-31 21:12:29 +0000
commitf588a1bbfce781042196e68f8e200f08b3d9e8c4 (patch)
tree4badd11e1bf7fcf4939b40baad26b51430fade5d /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentdrm/amdgpu: Wrong order for config and counter_id parameters (diff)
downloadkernel-f588a1bbfce781042196e68f8e200f08b3d9e8c4.tar.gz
kernel-f588a1bbfce781042196e68f8e200f08b3d9e8c4.zip
drm/amd: Warn users about potential s0ix problems
On some OEM setups users can configure the BIOS for S3 or S2idle. When configured to S3 users can still choose 's2idle' in the kernel by using `/sys/power/mem_sleep`. Before commit 6dc8265f9803 ("drm/amdgpu: always reset the asic in suspend (v2)"), the GPU would crash. Now when configured this way, the system should resume but will use more power. As such, adjust the `amdpu_acpi_is_s0ix function` to warn users about potential power consumption issues during their first attempt at suspending. Reported-by: Bjoren Dasse <[email protected]> Link: https://gitlab.freedesktop.org/drm/amd/-/issues/1824 Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Mario Limonciello <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions