drm: Pass the display mode to drm_calc_timestamping_constants()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Sat, 26 Oct 2013 14:16:30 +0000 (17:16 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 20 Jan 2014 09:04:46 +0000 (11:04 +0200)
commit545cdd5510205f01cd9604e23385bac468d45c63
tree1018894b8b3b22b26b3e7d0f08c116a8889fef5d
parentcfd72a4c2089aa3938f37281a34d6eb3306d5fd8
drm: Pass the display mode to drm_calc_timestamping_constants()

We don't really use hwmode anymore in i915, so eliminating its use
from the core code seems prudent. Just pass the appropriate mode
to drm_calc_timestamping_constants().

Reviewed-by: mario.kleiner.de@gmail.com
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/drm_crtc_helper.c
drivers/gpu/drm/drm_irq.c
drivers/gpu/drm/i915/intel_display.c
include/drm/drmP.h