Files
linux/drivers/gpu/drm
Roman Li 0881fbc4fd drm/amd/display: Add check for granularity in dml ceil/floor helpers
[Why]
Wrapper functions for dcn_bw_ceil2() and dcn_bw_floor2()
should check for granularity is non zero to avoid assert and
divide-by-zero error in dcn_bw_ functions.

[How]
Add check for granularity 0.

Cc: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Signed-off-by: Roman Li <Roman.Li@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit f6e09701c3)
Cc: stable@vger.kernel.org
2025-01-06 15:14:43 -05:00
..
2024-11-05 10:50:55 -03:00
2024-09-26 09:31:28 +02:00
2024-10-08 10:00:30 +02:00
2024-11-04 12:36:55 +01:00
2024-06-24 17:08:53 +03:00
2024-11-03 01:28:06 -05:00
2024-12-17 18:28:43 +01:00
2024-10-18 09:25:51 +02:00