aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
diff options
context:
space:
mode:
authorEric Yang <[email protected]>2022-01-23 13:20:20 -0500
committerAlex Deucher <[email protected]>2022-01-25 18:00:35 -0500
commit85b8f62b564120943cc0db1e754d6649037e6c7a (patch)
treea86caa0ff69b4dd83237553d887f6389d8dcc09c /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
parent05d6aea36a69e65b071e6ba897bf83a4aebaeab2 (diff)
drm/amd/display: fix zstate allow interface to PMFW
[Why] psr_feature_enabled flag is dynamically updated, and sometimes when zstate allow status is determined the flag has not been set to true yet even on PSR enabled config, lid off/on is such a case, which will result in zstate disabled even though PSR is supported. [How] Check the supported PSR version and the PSR disable status instead. Tested-by: Daniel Wheeler <[email protected]> Reviewed-by: Nicholas Kazlauskas <[email protected]> Acked-by: Rodrigo Siqueira <[email protected]> Signed-off-by: Eric Yang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions