]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Adjust cursor visibility between MPC slices
authorNevenko Stupar <nevenko.stupar@amd.com>
Wed, 19 Jun 2024 20:08:41 +0000 (16:08 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 1 Jul 2024 20:06:53 +0000 (16:06 -0400)
commitcbe9d7c1d25ef6da67c9bf19eb02760632857f13
treefe9ed6a19740510282823d3d12df1aa9b79ae622
parent3269d6fb7580e91313f40dffcff70c01cd3f0717
drm/amd/display: Adjust cursor visibility between MPC slices

[Why & How]
When MPC enabled, need to adjust x and hot spot x
position on one pipe when the cursor is between
MPC slices i.e. when the cursor is moving from one
MPC slice to next slice, while whole cursor size is not
contained within one pipe, to make part of the cursor
to be visible on the other pipe.

Reviewed-by: Sridevi Arvindekar <sridevi.arvindekar@amd.com>
Signed-off-by: Jerry Zuo <jerry.zuo@amd.com>
Signed-off-by: Nevenko Stupar <nevenko.stupar@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c
drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.h