linux/drivers/gpu/drm/amd
Nicholas Kazlauskas ae1cf20df7 drm/amd/display: Fix disabled cursor on top screen edge
[Why]
The cursor vanishes when touching the top of edge of the screen for
Raven on Linux.

This occurs because the cursor height is not taken into account when
deciding to disable the cursor.

[How]
Factor in the cursor height into the cursor calculations - and mimic
the existing x position calculations.

Fixes: 94a4ffd1d4 ("drm/amd/display: fix PIP bugs on Dal3")

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-01-14 16:01:52 -05:00
..
acp drm/amdgpu: Remove wrapper layer of cgs irq handling 2018-03-21 14:36:58 -05:00
amdgpu Merge branch 'drm-fixes-5.0' of git://people.freedesktop.org/~agd5f/linux into drm-fixes 2019-01-11 07:38:56 +10:00
amdkfd drm/amdkfd: Don't assign dGPUs to APU topology devices 2019-01-14 15:59:50 -05:00
display drm/amd/display: Fix disabled cursor on top screen edge 2019-01-14 16:01:52 -05:00
include drm/amd/powerplay: support BOOTUP_DEFAULT power profile mode 2019-01-02 15:24:48 -05:00
lib drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
powerplay drm/amd/powerplay: run acg btc for Vega12 2019-01-14 16:00:04 -05:00