Skip to content
Commit 1b5c30bf authored by Max Erenberg's avatar Max Erenberg Committed by Alex Deucher
Browse files

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: default avatarHarry Vanzylldejong <harry.vanzylldejong@amd.com>
Reviewed-by: default avatarEvgenii Krasnikov <Evgenii.Krasnikov@amd.com>
Reviewed-by: default avatarNicholas Choi <Nicholas.Choi@amd.com>
Acked-by: default avatarPavle Kotarac <Pavle.Kotarac@amd.com>
Signed-off-by: default avatarMax Erenberg <merenber@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 5d5af340
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment