1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/dc/dml/calcs
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
..
bw_fixed.c drm/amd/display: fix minor codestyle problems 2022-08-16 18:17:31 -04:00
calcs_logger.h drm/amd/display: move calcs folder into DML 2022-01-18 17:43:36 -05:00
custom_float.c drm/amd/display: move calcs folder into DML 2022-01-18 17:43:36 -05:00
dce_calcs.c drm/amd/display/dc/calcs/dce_calcs: Fix a memleak in calculate_bandwidth() 2022-01-25 18:00:36 -05:00
dcn_calc_auto.c drm/amd/display: Optimizations for DML math 2022-09-13 14:32:59 -04:00
dcn_calc_auto.h drm/amd/display: move calcs folder into DML 2022-01-18 17:43:36 -05:00
dcn_calc_math.c drm/amd/display: Optimizations for DML math 2022-09-13 14:32:59 -04:00
dcn_calcs.c drm/amd/display: do not change pipe split policy for RV2 2022-08-25 13:19:47 -04:00