drm/amd/display: Add logging when setting DP sink power state fails
Log if we fail to setup sink power states. Cc: Fangzhi Zuo <Jerry.Zuo@amd.com> Cc: Aurabindo Pillai <aurabindo.pillai@amd.com> Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com> Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
70bdfedaae
commit
ca9beb8aac
@ -1043,6 +1043,9 @@ static enum dc_status wake_up_aux_channel(struct dc_link *link)
|
||||
DP_SET_POWER,
|
||||
&dpcd_power_state,
|
||||
sizeof(dpcd_power_state));
|
||||
if (status < 0)
|
||||
DC_LOG_DC("%s: Failed to power up sink: %s\n", __func__,
|
||||
dpcd_power_state == DP_SET_POWER_D0 ? "D0" : "D3");
|
||||
return DC_ERROR_UNEXPECTED;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user