mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 07:03:03 +02:00
drm/amd/display: Fix notification of vtotal to DMU for cursor offload
[Why] It was placed after the early return and the notification is never sent. [How] Place it after .set_drr and before the return. Reviewed-by: Alvin Lee <alvin.lee2@amd.com> Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Signed-off-by: Wayne Lin <wayne.lin@amd.com> Tested-by: Dan Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
7c228b1aab
commit
6cf0552e03
|
|
@ -493,13 +493,14 @@ bool dc_stream_adjust_vmin_vmax(struct dc *dc,
|
|||
1,
|
||||
*adjust);
|
||||
stream->adjust.timing_adjust_pending = false;
|
||||
|
||||
if (dc->hwss.notify_cursor_offload_drr_update)
|
||||
dc->hwss.notify_cursor_offload_drr_update(dc, dc->current_state, stream);
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
if (dc->hwss.notify_cursor_offload_drr_update)
|
||||
dc->hwss.notify_cursor_offload_drr_update(dc, dc->current_state, stream);
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user