drm: fixed: Add dfixed_frac
authorRobert Morell <rmorell@nvidia.com>
Wed, 25 Apr 2012 09:45:01 +0000 (11:45 +0200)
committerDave Airlie <airlied@redhat.com>
Fri, 27 Apr 2012 08:29:35 +0000 (09:29 +0100)
commitf7f6c340f9d8f11bee50aef647b8578348957936
tree3c4593baa3a02dd6f06070bf5bcb459b3cf94ee3
parent398b4706896ee8d8e72f215a089b58637add5c92
drm: fixed: Add dfixed_frac

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

Signed-off-by: Robert Morell <rmorell@nvidia.com>
Signed-off-by: Olof Johansson <olofj@chromium.org>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
include/drm/drm_fixed.h