diff options
author | Aric Cyr <aric.cyr@amd.com> | 2022-08-20 17:20:30 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-09-13 14:32:59 -0400 |
commit | 17529ea2acfa3e2118f5a9ee911e0daf2d88c13f (patch) | |
tree | ba1f26a49c8bea8ecb0db07a6e0d4246d567b8ac /tools/perf/scripts/python | |
parent | 6da15a236c8c80d9f87e4c5216e00ad8f1cace2d (diff) |
drm/amd/display: Optimizations for DML math
[why]
Conditionals in the DML basic math functions significantly impact mode
enumeration.
[how]
Remove conditionals for floor/ceil operations which are used frequently
in DML and add an assertion for invalid callers using zero granuality.
Fix existing callers that rely on 0 granularity.
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Nevenko Stupar <Nevenko.Stupar@amd.com>
Acked-by: Pavle Kotarac <Pavle.Kotarac@amd.com>
Signed-off-by: Aric Cyr <aric.cyr@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions