linux/drivers/gpu/drm/amd/display/dc/dml
Victor Lu c8f8e96805 drm/amd/display: Guard DST_Y_PREFETCH register overflow in DCN21
[why]
DST_Y_PREFETCH can overflow when DestinationLinesForPrefetch values are
too large due to the former being limited to 8 bits.

[how]
Set the maximum value of DestinationLinesForPrefetch to be 255 * refclk
period.

Reviewed-by: Laktyushkin Dmytro <dmytro.laktyushkin@amd.com>
Acked-by: Solomon Chiu <solomon.chiu@amd.com>
Signed-off-by: Victor Lu <victorchengchi.lu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-07-27 12:43:09 -04:00
..
dcn20 drm/amd/display: DETBufferSizeInKbyte variable type modifications 2021-05-10 18:10:34 -04:00
dcn21 drm/amd/display: Guard DST_Y_PREFETCH register overflow in DCN21 2021-07-27 12:43:09 -04:00
dcn30 drm/amd/display: Fix off-by-one error in DML 2021-06-08 12:23:22 -04:00
dcn31 drm/amdgpu/display: fold DRM_AMD_DC_DCN3_1 into DRM_AMD_DC_DCN 2021-06-22 16:51:45 -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/amdgpu/display: fold DRM_AMD_DC_DCN3_1 into DRM_AMD_DC_DCN 2021-06-22 16:51:45 -04:00
display_mode_lib.h drm/amdgpu/display: fold DRM_AMD_DC_DCN3_1 into DRM_AMD_DC_DCN 2021-06-22 16:51:45 -04:00
display_mode_structs.h drm/amdgpu/display: fold DRM_AMD_DC_DCN3_1 into DRM_AMD_DC_DCN 2021-06-22 16:51:45 -04:00
display_mode_vba.c drm/amdgpu/display: fold DRM_AMD_DC_DCN3_1 into DRM_AMD_DC_DCN 2021-06-22 16:51:45 -04:00
display_mode_vba.h drm/amdgpu/display: fold DRM_AMD_DC_DCN3_1 into DRM_AMD_DC_DCN 2021-06-22 16:51:45 -04: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
Makefile drm/amd/display: Respect CONFIG_FRAME_WARN=0 in dml Makefile 2021-07-01 00:05:18 -04:00