drm/amd/display: Disable cursor on video surface.
Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
9e594f4c3f
commit
cf4cde2b0b
|
@ -250,6 +250,10 @@ bool dc_stream_set_cursor_position(
|
|||
!pipe_ctx->ipp || !pipe_ctx->surface)
|
||||
continue;
|
||||
|
||||
if (pipe_ctx->surface->public.address.type
|
||||
== PLN_ADDR_TYPE_VIDEO_PROGRESSIVE)
|
||||
pos_cpy.enable = false;
|
||||
|
||||
if (pipe_ctx->top_pipe && pipe_ctx->surface != pipe_ctx->top_pipe->surface)
|
||||
pos_cpy.enable = false;
|
||||
|
||||
|
|
Loading…
Reference in New Issue