summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c
diff options
context:
space:
mode:
authorDale Zhao <dale.zhao@amd.com>2021-08-23 16:44:37 +0800
committerAlex Deucher <alexander.deucher@amd.com>2021-09-14 15:57:10 -0400
commit63f8bee439c0e3f94cff90d0f9c7b719be693265 (patch)
tree5da97de427126ac0c12e91fec02e95800a427085 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c
parent34316c1e561db0b24e341029f04a5a5bead9a7bc (diff)
downloadlinux-63f8bee439c0e3f94cff90d0f9c7b719be693265.tar.gz
linux-63f8bee439c0e3f94cff90d0f9c7b719be693265.tar.bz2
linux-63f8bee439c0e3f94cff90d0f9c7b719be693265.zip
drm/amd/display: Refine condition of cursor visibility for pipe-split
[Why] In some scenarios like fullscreen game, major plane is scaled. Then if a upper layer owns the cursor, cursor is invisiable in the majority of the screen. [How] Instead assuming upper plane handles cursor, summing up upper split planes on the same layer. If whole upper plane covers current half/whole pipe plane, disable cursor. Reviewed-by: Krunoslav Kovac <Krunoslav.Kovac@amd.com> Acked-by: Mikita Lipski <mikita.lipski@amd.com> Signed-off-by: Dale Zhao <dale.zhao@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c')
0 files changed, 0 insertions, 0 deletions