aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_irq.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2013-10-26 10:38:52 -0400
committerVille Syrjälä <ville.syrjala@linux.intel.com>2014-01-20 04:06:26 -0500
commit3c184f69917d16e295934fcbe0803355b544df64 (patch)
tree8858d539118e451ab576b08459d8a4d69ed822f9 /drivers/gpu/drm/i915/i915_irq.c
parent77666b72260da3a5290471de77e2d2261244db83 (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>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_irq.c')
0 files changed, 0 insertions, 0 deletions