drm/amd/display: Use hw lock mgr
[Why] Feature requires synchronization of dig, pipe, and cursor locking between driver and fw. [How] Set flag to force psr to use hw lock mgr. Signed-off-by: Wyatt Wood <wyatt.wood@amd.com> Reviewed-by: Anthony Koo <Anthony.Koo@amd.com> Acked-by: Eryk Brol <eryk.brol@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
31f34d19f8
commit
42a614800b
|
@ -233,8 +233,8 @@ static bool dmub_psr_copy_settings(struct dmub_psr *dmub,
|
||||||
copy_settings_data->frame_cap_ind = psr_context->psrFrameCaptureIndicationReq;
|
copy_settings_data->frame_cap_ind = psr_context->psrFrameCaptureIndicationReq;
|
||||||
copy_settings_data->debug.bitfields.visual_confirm = dc->dc->debug.visual_confirm == VISUAL_CONFIRM_PSR ?
|
copy_settings_data->debug.bitfields.visual_confirm = dc->dc->debug.visual_confirm == VISUAL_CONFIRM_PSR ?
|
||||||
true : false;
|
true : false;
|
||||||
|
copy_settings_data->debug.bitfields.use_hw_lock_mgr = 1;
|
||||||
copy_settings_data->init_sdp_deadline = psr_context->sdpTransmitLineNumDeadline;
|
copy_settings_data->init_sdp_deadline = psr_context->sdpTransmitLineNumDeadline;
|
||||||
copy_settings_data->debug.bitfields.use_hw_lock_mgr = 0;
|
|
||||||
|
|
||||||
dc_dmub_srv_cmd_queue(dc->dmub_srv, &cmd);
|
dc_dmub_srv_cmd_queue(dc->dmub_srv, &cmd);
|
||||||
dc_dmub_srv_cmd_execute(dc->dmub_srv);
|
dc_dmub_srv_cmd_execute(dc->dmub_srv);
|
||||||
|
|
Loading…
Reference in New Issue