linux/drivers/gpu/drm/amd/display/dc/dcn10
Nicholas Kazlauskas c6a228be7f drm/amd/display: Only enable cursor on pipes that need it
[Why]
In current code we're essentially drawing the cursor on every pipe
that contains it. This only works when the planes have the same
scaling for src to dest rect, otherwise we'll get "double cursor" where
one cursor is incorrectly filtered and offset from the real position.

[How]
Without dedicated cursor planes on DCN we require at least one pipe
that matches the scaling of the current timing.

This is an optimization and workaround for the most common case where
the top-most plane is not scaled but the bottom-most plane is scaled.

Whenever a pipe has a parent pipe in the blending tree whose recout
fully contains the current pipe we can disable the pipe.

This only applies when the pipe is actually visible of course.

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-02-04 10:32:22 -05:00
..
dcn10_cm_common.c drm/amd/display: Allow inverted gamma 2019-10-25 16:50:08 -04:00
dcn10_cm_common.h drm/amd/display: Implement CM dealpha and bias interfaces 2019-05-31 10:39:29 -05:00
dcn10_dpp_cm.c drm/amd/display: Fix double buffering in dcn2 ICSC 2020-01-16 14:13:16 -05:00
dcn10_dpp_dscl.c drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
dcn10_dpp.c drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
dcn10_dpp.h drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
dcn10_dwb.c drm/amd/display: rename DCN1_0 kconfig to DCN 2019-11-13 15:29:44 -05:00
dcn10_dwb.h drm/amd/display: rename DCN1_0 kconfig to DCN 2019-11-13 15:29:44 -05:00
dcn10_hubbub.c drm/amd/display: Add default switch case for DCC 2020-01-16 14:15:42 -05:00
dcn10_hubbub.h drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_1 flag 2019-11-13 15:29:44 -05:00
dcn10_hubp.c drm/amd/display: update chroma viewport wa 2019-12-18 16:09:08 -05:00
dcn10_hubp.h drm/amd/display: update chroma viewport wa 2019-12-18 16:09:08 -05:00
dcn10_hw_sequencer_debug.c drm/amd/display: refactor dump_clk_registers 2019-07-18 14:18:09 -05:00
dcn10_hw_sequencer_debug.h drm/amd/display: cleanup of function pointer tables 2019-11-19 10:12:53 -05:00
dcn10_hw_sequencer.c drm/amd/display: Only enable cursor on pipes that need it 2020-02-04 10:32:22 -05:00
dcn10_hw_sequencer.h drm/amd/display: make PSR static screen entry within 30 ms 2020-01-16 14:16:08 -05:00
dcn10_init.c drm/amd/display: add separate of private hwss functions 2019-12-05 16:26:46 -05:00
dcn10_init.h drm/amd/display: cleanup of function pointer tables 2019-11-19 10:12:53 -05:00
dcn10_ipp.c drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
dcn10_ipp.h drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
dcn10_link_encoder.c drm/amd/display: set av_mute in hw_init for HDMI 2019-08-23 11:43:22 -05:00
dcn10_link_encoder.h drm/amd/display: add missing dcn link encoder regs 2019-12-18 16:09:06 -05:00
dcn10_mpc.c drm/amd/display: Update background color in bottommost mpcc 2019-11-19 10:12:51 -05:00
dcn10_mpc.h drm/amd/display: enabling seamless boot sequence for dcn2 2019-08-15 10:54:27 -05:00
dcn10_opp.c drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
dcn10_opp.h drm/amd/display: Subsample mode suboptimal for YCbCr4:2:2 2019-09-13 17:54:53 -05:00
dcn10_optc.c drm/amd/display: make PSR static screen entry within 30 ms 2020-01-16 14:16:08 -05:00
dcn10_optc.h drm/amd/display: make PSR static screen entry within 30 ms 2020-01-16 14:16:08 -05:00
dcn10_resource.c drm/amd/display: cleanup of function pointer tables 2019-11-19 10:12:53 -05:00
dcn10_resource.h drm/amd/display: Use DCN functions instead of DCE 2019-05-24 12:21:00 -05:00
dcn10_stream_encoder.c drm/amd/display: set MSA MISC1 bit 6 while sending colorimetry in VSC SDP 2019-11-13 15:29:43 -05:00
dcn10_stream_encoder.h drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
Makefile drm/amd/display: cleanup of function pointer tables 2019-11-19 10:12:53 -05:00