drm_fixed: Add dfixed_frac
authorRobert Morell <rmorell@nvidia.com>
Fri, 18 Mar 2011 00:54:39 +0000 (17:54 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:48:13 +0000 (21:48 -0800)
commit627c235be502ea07cf66fac921af372e15164be9
treea20b749659bfeb26f1d503c983d57ae37ac034e2
parentbb7122aad0e248dedf2067e7672755ec9dab430e
drm_fixed: Add dfixed_frac

This helper macro retrieves the fractional part of a fixed20_12 20.12
fixed-point number.

bug 818525

Original-Change-Id: Ia43a7bd3029a4d09ad7801099cbe2a52a4fc9c04
Signed-off-by: Robert Morell <rmorell@nvidia.com>
Reviewed-on: http://git-master/r/40525
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R3ad51cd6fb0e1dadbc25807bf12894a9b81e94d3
include/drm/drm_fixed.h