“8eb70ea2dbba1d0b15f693a85b60d1f56c527ff2”上不存在“arch/powerpc/configs/40x/ep405_defconfig”
提交 7aeb2e47 编写于 作者: I Iswara Nagulendran 提交者: Alex Deucher

drm/amd/display: Allow PSR exit when panel is disconnected

[HOW&WHY]
Fixed check to only avoid PSR entry when panel
is disconnected. PSR exit can be permitted to restore
the HW to it's non-PSR state.
Reviewed-by: NJayendran Ramani <Jayendran.Ramani@amd.com>
Acked-by: NHamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: NIswara Nagulendran <Iswara.Nagulendran@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 749b6c2a
...@@ -3143,7 +3143,7 @@ bool dc_link_set_psr_allow_active(struct dc_link *link, const bool *allow_active ...@@ -3143,7 +3143,7 @@ bool dc_link_set_psr_allow_active(struct dc_link *link, const bool *allow_active
if (!dc_get_edp_link_panel_inst(dc, link, &panel_inst)) if (!dc_get_edp_link_panel_inst(dc, link, &panel_inst))
return false; return false;
if (allow_active && link->type == dc_connection_none) { if ((allow_active != NULL) && (*allow_active == true) && (link->type == dc_connection_none)) {
// Don't enter PSR if panel is not connected // Don't enter PSR if panel is not connected
return false; return false;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册