Commit cf4cde2b authored by Yongqiang Sun's avatar Yongqiang Sun Committed by Alex Deucher
Browse files

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

parent 9e594f4c
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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;