drm/amd/display: Cursor flicker when entering PSRSU
[Why] The DAL driver may transmit the wrong cursor position to PSRSU DMUB driver when there are multiple planes. [How] Currently the driver apply the HW cursor on the top plane. So we should only transmit the cursor position on the top plane to PSRSU DMUB driver. Reviewed-by: Anthony Koo <Anthony.Koo@amd.com> Acked-by: Brian Chang <Brian.Chang@amd.com> Signed-off-by: Robin Chen <po-tchen@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
99c957fedf
commit
28c042707b
@ -3340,6 +3340,9 @@ static bool dcn10_dmub_should_update_cursor_data(
|
||||
if (pipe_ctx->plane_state->address.type == PLN_ADDR_TYPE_VIDEO_PROGRESSIVE)
|
||||
return false;
|
||||
|
||||
if (dcn10_can_pipe_disable_cursor(pipe_ctx))
|
||||
return false;
|
||||
|
||||
if (pipe_ctx->stream->link->psr_settings.psr_version == DC_PSR_VERSION_SU_1)
|
||||
return true;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user