diff options
author | Roman Li <Roman.Li@amd.com> | 2024-12-13 21:51:07 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-01-06 22:44:28 +0300 |
commit | f6e09701c3eb2ccb8cb0518e0b67f1c69742a4ec (patch) | |
tree | 56bca1199d443336e2bdd028619b9835d5ccaa1e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 79a57f9479de9c6fc3a8c4f50e7c853a134f9b41 (diff) | |
download | linux-f6e09701c3eb2ccb8cb0518e0b67f1c69742a4ec.tar.xz |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions