Re: [Intel-gfx] [PATCH 3/7] drm/i915: Add i915_get_crtc_scanline()

2013-12-12 Thread Jesse Barnes
On Thu, 17 Oct 2013 22:53:15 +0300 ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > Refactor the i915_get_crtc_scanoutpos() code a bit to make the > "negative values during vblank" adjustment optional. For most uses > the raw scanline number without such adjustments is easier to us

[Intel-gfx] [PATCH 3/7] drm/i915: Add i915_get_crtc_scanline()

2013-10-17 Thread ville . syrjala
From: Ville Syrjälä Refactor the i915_get_crtc_scanoutpos() code a bit to make the "negative values during vblank" adjustment optional. For most uses the raw scanline number without such adjustments is easier to use. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/i915_irq.c | 46 ++