linux/drivers/gpu/drm/amd/display/dc
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
..
basics drm/amd/dc: Kill dc_conn_log_hex_linux() 2020-04-01 14:44:59 -04:00
bios drm/amd/display: Pass command instead of header into DMUB service 2020-04-28 16:19:05 -04:00
calcs drm/amd/display: Avoid pipe split when plane is too small 2020-05-21 12:48:43 -04:00
clk_mgr drm/amd/display: dmcu wait loop calculation is incorrect in RV 2020-04-22 18:11:48 -04:00
core drm/amd/display: DP training to set properly SCRAMBLING_DISABLE 2020-05-21 12:48:43 -04:00
dce drm/amd/display: move location of dmub_srv.h file 2020-05-05 13:12:33 -04:00
dce80 drm/amd/display: change from panel to panel cntl 2020-04-22 18:11:48 -04:00
dce100 drm/amd/display: change from panel to panel cntl 2020-04-22 18:11:48 -04:00
dce110 drm/amd/display: Move panel_cntl specific register from abm to panel_cntl. 2020-05-05 13:10:46 -04:00
dce112 drm/amd/display: Enable fp16 also on DCE-11.0 - DCE-12. (v2) 2020-05-21 12:46:51 -04:00
dce120 drm/amd/display: Enable fp16 also on DCE-11.0 - DCE-12. (v2) 2020-05-21 12:46:51 -04:00
dcn10 drm/amd/display: Defer cursor lock until after VUPDATE 2020-05-21 12:48:43 -04:00
dcn20 drm/amd/display: Avoid pipe split when plane is too small 2020-05-21 12:48:43 -04:00
dcn21 drm/amd/display: Defer cursor lock until after VUPDATE 2020-05-21 12:48:43 -04:00
dml drm/amd/display: Remove dml_common_def file 2020-05-21 12:48:43 -04:00
dsc drm: Correct DP DSC macro typo 2020-04-30 15:08:58 -04:00
gpio drm/amdgpu/display: extend DCN guards 2020-02-12 16:04:39 -05:00
hdcp drm/amd/display: query hdcp capability during link detect 2020-04-09 10:43:17 -04:00
inc drm/amd/display: Defer cursor lock until after VUPDATE 2020-05-21 12:48:43 -04:00
irq drm/amd/display: rename core_dc to dc 2019-12-05 16:26:39 -05:00
virtual drm/amd/display: determine USB C DP2 mode only when USB DP Alt is enabled 2020-04-09 10:43:17 -04:00
dc_bios_types.h
dc_ddc_types.h drm/amd/display: Proper return of result when aux engine acquire fails 2019-10-25 16:50:09 -04:00
dc_dmub_srv.c drm/amd/display: move location of dmub_srv.h file 2020-05-05 13:12:33 -04:00
dc_dmub_srv.h drm/amd/display: move location of dmub_srv.h file 2020-05-05 13:12:33 -04:00
dc_dp_types.h drm/amd/display: Unify psr feature flags 2020-04-22 18:11:47 -04:00
dc_dsc.h drm/amd/display: Add debug option to override DSC target bpp increment 2019-12-18 16:09:11 -05:00
dc_helper.c drm/amd/display: Pass command instead of header into DMUB service 2020-04-28 16:19:05 -04:00
dc_hw_types.h drm/amd/display: Make cursor source translation adjustment optional 2020-04-09 10:43:17 -04:00
dc_link.h drm/amd/display: move location of dmub_srv.h file 2020-05-05 13:12:33 -04:00
dc_stream.h drm/amd/display: Unify psr feature flags 2020-04-22 18:11:47 -04:00
dc_types.h drm/amd/display: add addition dc type to translate to dmub fw type 2020-05-05 13:11:49 -04:00
dc.h drm/amd/display: 3.2.84 2020-05-05 13:12:47 -04:00
dm_cp_psp.h drm/amd/display: determine is mst hdcp based on stream instead of sink signal 2020-03-09 13:49:06 -04:00
dm_event_log.h
dm_helpers.h drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
dm_pp_smu.h drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_1 flag 2019-11-13 15:29:44 -05:00
dm_services_types.h drm/amd/display: Add definition for number of backlight data points 2019-12-18 16:09:08 -05:00
dm_services.h drm/amd/display: Drop CONFIG_DRM_AMD_DC_DMUB guards 2019-11-13 15:29:42 -05:00
irq_types.h
Makefile drm/amd/display: rename DCN1_0 kconfig to DCN 2019-11-13 15:29:44 -05:00
os_types.h drm/amdgpu/dc: Use WARN_ON_ONCE for ASSERT 2020-04-30 16:48:47 -04:00