linux-xiaomi-chiron/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
dcn21
dcn30
dc_features.h
display_mode_enums.h
display_mode_lib.c
display_mode_lib.h
display_mode_structs.h
display_mode_vba.c
display_mode_vba.h
display_rq_dlg_helpers.c
display_rq_dlg_helpers.h
dml1_display_rq_dlg_calc.c
dml1_display_rq_dlg_calc.h
dml_inline_defs.h
dml_logger.h
Makefile