summaryrefslogtreecommitdiff
path: root/util_math.h
AgeCommit message (Collapse)AuthorFilesLines
2015-09-21util_math: add MAX3 macroEmil Velikov1-0/+1
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Acked-by: Alex Deucher <alexander.deucher@amd.com>
2015-08-05drm: fix the ALIGN macro to avoid value clampJammy Zhou1-1/+2
If the value is 64bit, but the alignment is 32bit type, the high 32bit will be clamped with previous definition Signed-off-by: Jammy Zhou <Jammy.Zhou@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
2015-08-05drm: add util_math.hAlex Deucher1-0/+32
Used by amdgpu, could be used by other components. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>