Skip to content
Snippets Groups Projects
Commit 55335bcd authored by Mario Limonciello's avatar Mario Limonciello Committed by Linux Infrastructure
Browse files

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 6dc8265f ("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: Björn Daase's avatarBjoren Dasse <bjoern.daase@gmail.com>
Link: drm/amd#1824


Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarMario Limonciello <mario.limonciello@amd.com>
Change-Id: I73047502c60239d3907fbbbfb6701518d1e55b97
parent 293647b4
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment