]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
drm: Pass the display mode to drm_calc_vbltimestamp_from_scanoutpos()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Sat, 26 Oct 2013 14:57:31 +0000 (17:57 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 20 Jan 2014 09:05:08 +0000 (11:05 +0200)
commit7da903ef04851aba81e4ddabf65c15fb71b7ce47
tree391586f05bee51b1874ebadcbdcb465646d6e03d
parent545cdd5510205f01cd9604e23385bac468d45c63
drm: Pass the display mode to drm_calc_vbltimestamp_from_scanoutpos()

Rather than using crtc->hwmode, just pass the relevant mode to
drm_calc_vbltimestamp_from_scanoutpos(). This removes the last hwmode
usage from core drm.

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