diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2022-01-25 21:37:57 -0600 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-02-02 18:26:30 -0500 |
commit | d2a197a45daacd4ab3221161405768a6d1d11086 (patch) | |
tree | 6d689f173ca7ee2a91a2fbca4d72059263693f18 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
parent | 18b66ace6b3acb01b645d2fbbd571f66b2705c71 (diff) | |
download | linux-d2a197a45daacd4ab3221161405768a6d1d11086.tar.gz linux-d2a197a45daacd4ab3221161405768a6d1d11086.tar.bz2 linux-d2a197a45daacd4ab3221161405768a6d1d11086.zip |
drm/amd: Only run s3 or s0ix if system is configured properly
This will cause misconfigured systems to not run the GPU suspend
routines.
* In APUs that are properly configured system will go into s2idle.
* In APUs that are intended to be S3 but user selects
s2idle the GPU will stay fully powered for the suspend.
* In APUs that are intended to be s2idle and system misconfigured
the GPU will stay fully powered for the suspend.
* In systems that are intended to be s2idle, but AMD dGPU is also
present, the dGPU will go through S3
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions