mirror_ubuntu-kernels/drivers/gpu/drm/amd
Aric Cyr 17529ea2ac 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>
2022-09-13 14:32:59 -04:00
..
acp
amdgpu drm/amdgpu: Skip reset error status for psp v13_0_0 2022-09-13 14:32:59 -04:00
amdkfd drm/amdkfd: Migrate in CPU page fault use current mm 2022-09-13 14:32:05 -04:00
display drm/amd/display: Optimizations for DML math 2022-09-13 14:32:59 -04:00
include drm/amd/amdgpu: update GC 10.3.0 pwrdec 2022-09-13 12:54:23 -04:00
pm drm/amd/pm: disable BACO entry/exit completely on several sienna cichlid cards 2022-09-13 12:54:22 -04:00