linux/drivers/gpu/drm/amd/display
Nicholas Kazlauskas b6dbb8ff9d drm/amd/display: Avoid pipe split when plane is too small
[Why]
The minimum plane size we can support in DML is 16x16. If we try to pass
a 16x16 plane with dynamic pipe split then validation will fail since it
tries to split it into two pipes, each 8x8.

Some userspace doesn't check that the commit fails and because the
commit fails the old state is retained, resulting in corruption.

[How]
Add a workaround to avoid pipe split if any plane is 16x16 or smaller.

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-05-21 12:48:43 -04:00
..
amdgpu_dm drm/amd/display: Expose support for xBGR ordered fp16 formats. 2020-05-21 12:46:51 -04:00
dc drm/amd/display: Avoid pipe split when plane is too small 2020-05-21 12:48:43 -04:00
dmub drm/amd/display: Add struct field for future use 2020-05-05 13:12:40 -04:00
include drm/amd/display: query hdcp capability during link detect 2020-04-09 10:43:17 -04:00
modules drm/amd/display: move location of dmub_srv.h file 2020-05-05 13:12:33 -04:00
Kconfig drm: amd/display: fix Kconfig help text 2020-04-23 15:06:41 -04:00
Makefile drm/amd/display: Drop CONFIG_DRM_AMD_DC_DMUB guards 2019-11-13 15:29:42 -05:00
TODO