linux/drivers/gpu/drm/amd/display/dc/dml
Guo, Bing f53e191e2b drm/amd/display: fixed an error related to 4:2:0/4:2:2 DSC
[Why]
OPTC_BYTES_PER_PIXEL calculation for 4:2:2 and 4:2:0 could have error.

[How]
Change to use following formula:
OPTC_DSC_BYTES_PER_PIXEL = ceiling((chunk size * 2^28) / slice width)

v2: squash in 64 bit divide fix (Alex)

Reviewed-by: Wenjing Liu <Wenjing.Liu@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Bing Guo <Bing.Guo@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-11-24 14:06:52 -05:00
..
dcn20 drm/amd/display: Re-arrange FPU code structure for dcn2x 2021-10-06 15:49:24 -04:00
dcn21 drm/amd/display: Reduce stack size for dml21_ModeSupportAndSystemConfigurationFull 2021-09-23 15:17:30 -04:00
dcn30 drm/amd/display: Fix bpc calculation for specific encodings 2021-11-03 12:32:34 -04:00
dcn31 drm/amd/display: Fix bpc calculation for specific encodings 2021-11-03 12:32:34 -04:00
dcn301 drm/amd/display: move FPU associated DCN301 code to DML folder 2021-10-28 14:26:50 -04:00
dsc drm/amd/display: fixed an error related to 4:2:0/4:2:2 DSC 2021-11-24 14:06:52 -05: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: Update swizzle mode enums 2021-09-01 16:55:10 -04:00
display_mode_lib.c drm/amd/display: add cyan_skillfish display support 2021-10-04 15:22:57 -04:00
display_mode_lib.h drm/amd/display: Code change for DML isolation 2021-11-22 14:45:01 -05:00
display_mode_structs.h drm/amd/display: log additional register state for debug 2021-07-21 13:39:25 -04:00
display_mode_vba.c drm/amd/display: Move AllowDRAMSelfRefreshOrDRAMClockChangeInVblank to bounding box 2021-08-26 13:57:33 -04:00
display_mode_vba.h drm/amd/display: Adjust types and formatting for future development 2021-07-08 15:16:21 -04:00
display_rq_dlg_helpers.c drm/amd/display: Pass all structs in display_rq_dlg_helpers by pointer 2021-09-23 15:17:29 -04:00
display_rq_dlg_helpers.h drm/amd/display: Pass all structs in display_rq_dlg_helpers by pointer 2021-09-23 15:17:29 -04:00
dml1_display_rq_dlg_calc.c drm/amd/display: Fix rest of pass-by-value structs in DML 2021-09-23 15:17:30 -04:00
dml1_display_rq_dlg_calc.h drm/amd/display: Fix rest of pass-by-value structs in DML 2021-09-23 15:17:30 -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
dml_wrapper_translation.c drm/amd/display: Code change for DML isolation 2021-11-22 14:45:01 -05:00
dml_wrapper.c drm/amd/display: Code change for DML isolation 2021-11-22 14:45:01 -05:00
Makefile drm/amd/display: move FPU associated DCN301 code to DML folder 2021-10-28 14:26:50 -04:00