linux_dsm_epyc7002/drivers/gpu/drm/amd/display
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
..
amdgpu_dm drm/amd/display: Move drm_dp_mst_atomic_check() to the front of dc_validate_global_state() 2020-01-30 17:15:43 -05:00
dc drm/amd/display: Only enable cursor on pipes that need it 2020-02-04 10:32:22 -05:00
dmub drm/amd/display: Check hw_init state when determining if DMCUB is initialized 2020-01-22 16:55:28 -05:00
include drm/amd/display: add Pollock IDs, fix Pollock & Dali clk mgr construct 2020-01-14 10:18:10 -05:00
modules drm/amd/display: fix spelling mistake link_integiry_check -> link_integrity_check 2020-01-30 17:15:42 -05:00
Kconfig amdgpu: Enable initial DCN support on POWER 2019-12-18 16:09:05 -05:00
Makefile drm/amd/display: Drop CONFIG_DRM_AMD_DC_DMUB guards 2019-11-13 15:29:42 -05:00
TODO drm/amd/display: Convert remaining loggers off dc_logger 2018-07-13 14:48:42 -05:00