diff options
author | Max Erenberg <merenber@amd.com> | 2021-11-23 15:10:16 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-04-11 13:51:32 -0400 |
commit | 1b5c30bf41586fdf4f2313d0b37545975568e29f (patch) | |
tree | b2c2e23cc7ba289afe5951f87c949dba2e91a6b7 /drivers/leds/leds-pca955x.c | |
parent | 5d5af34072c8b11f60960c3bea57ff9de5877791 (diff) | |
download | linux-1b5c30bf41586fdf4f2313d0b37545975568e29f.tar.bz2 |
drm/amd/display: Disallow entering PSR when panel is disconnected
[WHY]
The dGPU cannot enter PSR when it is not connected to a panel.
[HOW]
Added a check to dc_link_set_psr_allow_active
which returns early if panel is disconnected.
Reviewed-by: Harry Vanzylldejong <harry.vanzylldejong@amd.com>
Reviewed-by: Evgenii Krasnikov <Evgenii.Krasnikov@amd.com>
Reviewed-by: Nicholas Choi <Nicholas.Choi@amd.com>
Acked-by: Pavle Kotarac <Pavle.Kotarac@amd.com>
Signed-off-by: Max Erenberg <merenber@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/leds/leds-pca955x.c')
0 files changed, 0 insertions, 0 deletions