linux/drivers/gpu/drm/amd/display/dc/dcn10
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
..
dcn10_clk_mgr.c drm/amd/display: Clean up for DCN1 clock debug logging 2018-11-30 12:04:45 -05:00
dcn10_clk_mgr.h drm/amd/display: Clean up for DCN1 clock debug logging 2018-11-30 12:04:45 -05:00
dcn10_cm_common.c drm/amd/display: Add tracing to dc 2018-12-05 17:49:49 -05:00
dcn10_cm_common.h drm/amd/display: Set gamma not working on MPO planes 2018-11-05 14:21:31 -05:00
dcn10_dpp_cm.c drm/amd/display: get rid of 32.32 unsigned fixed point 2018-05-18 16:08:21 -05:00
dcn10_dpp_dscl.c drm/amd/display: add HDR visual confirm 2018-07-16 16:11:49 -05:00
dcn10_dpp.c drm/amd/display: Fix disabled cursor on top screen edge 2019-01-14 16:01:52 -05:00
dcn10_dpp.h drm/amd/display: fix PIP bugs on Dal3 2018-08-27 11:10:14 -05:00
dcn10_hubbub.c drm/amd/display: Typo for return check value. 2018-11-19 15:27:37 -05:00
dcn10_hubbub.h drm/amd/display: WA for DF keeps awake after S0i3. 2018-10-09 17:02:22 -05:00
dcn10_hubp.c drm/amd/display: Fix disabled cursor on top screen edge 2019-01-14 16:01:52 -05:00
dcn10_hubp.h drm/amd/display: make underflow status clear explicit 2018-11-19 15:27:36 -05:00
dcn10_hw_sequencer_debug.c drm/amd/display: Clean up for DCN1 clock debug logging 2018-11-30 12:04:45 -05:00
dcn10_hw_sequencer.c drm/amd/display: fix warning on raven hotplug 2019-01-14 16:01:32 -05:00
dcn10_hw_sequencer.h drm/amd/display: expose surface confirm color function 2018-11-19 15:27:41 -05:00
dcn10_ipp.c drm/amd/display: moving cursor functions from ipp to mem_input 2017-10-21 16:44:03 -04:00
dcn10_ipp.h drm/amd/display: Move dpp reg access from hwss to dpp module. 2018-02-19 14:17:33 -05:00
dcn10_link_encoder.c drm/amd/display: Add link encoder dp_ycbcr420_supported feature flag 2018-11-05 14:20:46 -05:00
dcn10_link_encoder.h drm/amd/display: expose dcn10_aux_initialize in header 2018-07-13 14:50:10 -05:00
dcn10_mpc.c drm/amd/display: Make function pointer structs const 2018-07-10 14:17:23 -05:00
dcn10_mpc.h drm/amd/display: add mpc to dtn log 2018-04-11 13:07:38 -05:00
dcn10_opp.c drm/amd/display: Make function pointer structs const 2018-07-10 14:17:23 -05:00
dcn10_opp.h drm/amd/display: Move opp reg access from hwss to opp module. 2018-02-19 14:17:34 -05:00
dcn10_optc.c drm/amd/display: clear underflow on optc unblank 2018-11-19 15:27:38 -05:00
dcn10_optc.h drm/amd/display: Consolidate two-pixels-per-container check 2018-11-19 15:27:38 -05:00
dcn10_resource.c drm/amd/display: Clean up for DCN1 clock debug logging 2018-11-30 12:04:45 -05:00
dcn10_resource.h
dcn10_stream_encoder.c drm/amd/display: Clean up dp_blank functions 2018-11-19 15:27:37 -05:00
dcn10_stream_encoder.h drm/amd/display: Define registers for dcn10 2018-08-27 11:11:06 -05:00
Makefile drm/amd/display: rename dccg to clk_mgr 2018-11-05 14:20:48 -05:00