diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2013-10-26 17:11:01 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2014-01-20 11:06:01 +0200 |
commit | 0dae35a3886c883bf993c8776dafd8a3bb2fef44 (patch) | |
tree | 57c09a365ea2b583834c2415e1faadd1083ad440 /drivers/gpu/drm/radeon | |
parent | 21b21560e9f7be6c3f415dfd7a840f72a250255c (diff) |
drm: Simplify the math in drm_calc_timestamping_constants()
drm_calc_timestamping_constants() makes the math more complex
than necessary.
- multipying the dotclock by 1000 is pointless, just makes all the
numbers bigger
- div64_u64() is also pointless, div_u64 is enough
- pixeldur_ns doesn't need any 64bit math
Reviewed-by: mario.kleiner.de@gmail.com
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/radeon')
0 files changed, 0 insertions, 0 deletions