linux/drivers/gpu/drm/amd/display
Alex Hung e43cf7abec drm/amd/display: fix a divided-by-zero error
[ Upstream commit 0b5dfe1275 ]

[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>
Cc: stable@vger.kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-11 23:03:03 +09:00
..
amdgpu_dm drm/amd/display: fix PSR-SU/DSC interoperability support 2023-05-11 23:03:03 +09:00
dc drm/amd/display: limit timing for single dimm memory 2023-05-11 23:03:03 +09:00
dmub drm/amd/display: Move DCN314 DOMAIN power control to DMCUB 2023-03-03 11:52:23 +01:00
include drm/amd/display: Refactor LTTPR mode selection 2022-09-29 09:41:46 -04:00
modules drm/amd/display: fix a divided-by-zero error 2023-05-11 23:03:03 +09:00
Kconfig drm/amdgpu: temporarily disable broken Clang builds due to blown stack-frame 2022-11-30 14:49:42 -08:00
Makefile
TODO