]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/i915: Opt out of vblank disable timer on >gen2
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 6 Aug 2014 11:49:55 +0000 (14:49 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 6 Aug 2014 20:39:29 +0000 (22:39 +0200)
commit21da27005f79d72499bb809616b15fd2c5c15319
treea3b04dc0d9874da5a0ff8445f2c0ce39b60eb3b5
parent00185e667009dda907887a4f84fbd02c6e651a49
drm/i915: Opt out of vblank disable timer on >gen2

Now that the vblank races are plugged, we can opt out of using
the vblank disable timer and just let vblank interrupts get
disabled immediately when the last reference is dropped.

Gen2 is the exception since it has no hardware frame counter.

Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c