commit | 3c184f69917d16e295934fcbe0803355b544df64 | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Sat Oct 26 17:38:52 2013 +0300 |
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | Mon Jan 20 11:06:26 2014 +0200 |
tree | 8858d539118e451ab576b08459d8a4d69ed822f9 | |
parent | 77666b72260da3a5290471de77e2d2261244db83 [diff] |
drm: Change {pixel,line,frame}dur_ns from s64 to int Using s64 for the timestamping constants is wasteful. Signed 32bit integers get us a range of over +-2 seconds. Presuming that no-one wants to a vrefresh rate less than 0.5, we can switch to using int for the timestamping constants. We save a few bytes in drm_crtc and avoid a bunch of 64bit math. Reviewed-by: mario.kleiner.de@gmail.com Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>