1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/dc/dml
Nicholas Kazlauskas 091e3131a8 drm/amd/display: Cleanup DML DSC input bpc validation
[Why & How]
Pipe input DSC bpc has a type mismatch with maximum DSC
input bpc - align the maximum with the pipe input type,
unsigned integer.

When checking the type we shoudl also check for an
implicit value of 0 and align with what the spreadsheet
does - default to max.

Rename output_bpc to dsc_input_bpc to reflect what the
field is actually used for.

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-04-09 16:53:32 -04:00
..
dcn20 drm/amd/display: Fix UBSAN: shift-out-of-bounds warning 2021-04-09 16:41:21 -04:00
dcn21 drm/amd/display: Fix UBSAN: shift-out-of-bounds warning 2021-04-09 16:41:21 -04:00
dcn30 drm/amd/display: Fix UBSAN: shift-out-of-bounds warning 2021-04-09 16:41:21 -04:00
dc_features.h drm/amd/display: Fix dcn21 num_states 2020-03-31 12:26:15 -04:00
display_mode_enums.h drm/amd/display: fix dml immediate flip input 2020-05-28 14:00:48 -04:00
display_mode_lib.c drm/amd/display: Cleanup DML DSC input bpc validation 2021-04-09 16:53:32 -04:00
display_mode_lib.h drm/amdgpu: fold CONFIG_DRM_AMD_DC_DCN3* into CONFIG_DRM_AMD_DC_DCN (v3) 2020-11-04 17:11:37 -05:00
display_mode_structs.h drm/amd/display: Cleanup DML DSC input bpc validation 2021-04-09 16:53:32 -04:00
display_mode_vba.c drm/amd/display: Cleanup DML DSC input bpc validation 2021-04-09 16:53:32 -04:00
display_mode_vba.h drm/amd/display: DIO Supported for virtual displays 2021-02-09 15:48:18 -05:00
display_rq_dlg_helpers.c drm/amd/display: clean up dml_init_instance 2019-03-19 15:36:49 -05:00
display_rq_dlg_helpers.h drm/amd/display: Remove dml_common_def file 2020-05-21 12:48:43 -04:00
dml1_display_rq_dlg_calc.c drm/amd/display: Fix UBSAN: shift-out-of-bounds warning 2021-04-09 16:41:21 -04:00
dml1_display_rq_dlg_calc.h drm/amd/display: Remove dml_common_def file 2020-05-21 12:48:43 -04:00
dml_inline_defs.h drm/amd/display: simplify dml log2 function 2020-05-28 14:00:50 -04:00
dml_logger.h drm/amd/display: Use MACROS instead of dm_logger 2018-03-14 15:08:45 -05:00
Makefile drm/amdgpu/display: drop DCN support for aarch64 2021-01-05 11:35:53 -05:00