summaryrefslogtreecommitdiffstats
path: root/util_math.h
Commit message (Collapse)AuthorAgeFilesLines
* util_math: add MAX3 macroEmil Velikov2015-09-211-0/+1
| | | | | Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Acked-by: Alex Deucher <alexander.deucher@amd.com>
* drm: fix the ALIGN macro to avoid value clampJammy Zhou2015-08-051-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>
* drm: add util_math.hAlex Deucher2015-08-051-0/+32
Used by amdgpu, could be used by other components. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>