提交 cf4cde2b 编写于 作者: Y Yongqiang Sun 提交者: Alex Deucher

drm/amd/display: Disable cursor on video surface.

Signed-off-by: NYongqiang Sun <yongqiang.sun@amd.com>
Acked-by: NHarry Wentland <Harry.Wentland@amd.com>
Reviewed-by: NTony Cheng <Tony.Cheng@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 9e594f4c
...@@ -250,6 +250,10 @@ bool dc_stream_set_cursor_position( ...@@ -250,6 +250,10 @@ bool dc_stream_set_cursor_position(
!pipe_ctx->ipp || !pipe_ctx->surface) !pipe_ctx->ipp || !pipe_ctx->surface)
continue; 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) if (pipe_ctx->top_pipe && pipe_ctx->surface != pipe_ctx->top_pipe->surface)
pos_cpy.enable = false; pos_cpy.enable = false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册