diff options
author | Pratik Vishwakarma <Pratik.Vishwakarma@amd.com> | 2021-07-23 18:08:40 +0530 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-07-27 12:42:17 -0400 |
commit | 91e273712ab8dd8c31924ac7714b21e011137e98 (patch) | |
tree | 3d190c81b51dbcaa7b793a53055173bb42f58269 /lib/mpi/mpi-add.c | |
parent | 6aade587d329ebe88319dfdb8e8c7b6aede80417 (diff) |
drm/amdgpu: Check pmops for desired suspend state
[Why]
User might change the suspend behaviour from OS.
[How]
Check with pm for target suspend state and set s0ix
flag only for s2idle state.
v2: User might change default suspend state, use target state
v3: squash in build fix
Suggested-by: Lijo Lazar <Lijo.Lazar@amd.com>
Signed-off-by: Pratik Vishwakarma <Pratik.Vishwakarma@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions