Re: [PATCH 1/3] drm/i915: Skip register reads in i915_get_crtc_scanoutpos()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 23, 2013 at 01:02:05PM +0300, ville.syrjala@xxxxxxxxxxxxxxx wrote:
> From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>
> 
> We have all the information we need in the mode structure, so going and
> reading it from the hardware is pointless, and slower.
> 
> For the !kms case, leave the register reads in place.

dev->driver->get_scanout_position [i915_get_crtc_scanoutpos] is only
called by i915_get_vblank_timestamp() which is only used by KMS.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx





[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux