Skip to content

Commit b5fe6aa

Browse files
Wyatt Woodalexdeucher
authored andcommitted
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 <[email protected]> Reviewed-by: Anthony Koo <[email protected]> Acked-by: Eryk Brol <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 8b0379a commit b5fe6aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/amd/display/dc/dce/dmub_psr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,8 @@ static bool dmub_psr_copy_settings(struct dmub_psr *dmub,
233233
copy_settings_data->frame_cap_ind = psr_context->psrFrameCaptureIndicationReq;
234234
copy_settings_data->debug.bitfields.visual_confirm = dc->dc->debug.visual_confirm == VISUAL_CONFIRM_PSR ?
235235
true : false;
236+
copy_settings_data->debug.bitfields.use_hw_lock_mgr = 1;
236237
copy_settings_data->init_sdp_deadline = psr_context->sdpTransmitLineNumDeadline;
237-
copy_settings_data->debug.bitfields.use_hw_lock_mgr = 0;
238238

239239
dc_dmub_srv_cmd_queue(dc->dmub_srv, &cmd);
240240
dc_dmub_srv_cmd_execute(dc->dmub_srv);

0 commit comments

Comments
 (0)