1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/modules
Alex Hung 21fc0ff38f drm/amd/display: fix a divided-by-zero error
[Why & How]

timing.dsc_cfg.num_slices_v can be zero and it is necessary to check
before using it.

This fixes the error "divide error: 0000 [#1] PREEMPT SMP NOPTI".

Reviewed-by: Aurabindo Pillai <Aurabindo.Pillai@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-04-18 16:28:53 -04:00
..
color drm/amd/display: remove unused _calculate_degamma_curve function 2023-02-15 22:24:26 -05:00
freesync drm/amd/display: remove unused average_render_time_in_us and i variables 2023-04-11 18:03:22 -04:00
hdcp drm/amd/display: Drop CONFIG_DRM_AMD_DC_HDCP 2023-03-07 14:22:39 -05:00
inc drm/amd/display: Updating Video Format Fall Back Policy. 2023-02-28 14:29:35 -05:00
info_packet drm/amd/display: Enable Freesync over PCon 2023-01-31 14:00:44 -05:00
power drm/amd/display: fix a divided-by-zero error 2023-04-18 16:28:53 -04:00
vmid drm/amd: Fix spelling typo in comments 2022-06-03 16:43:36 -04:00