commit | 694e409daa90f2e21a97e43121c943a84e843bf9 | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Thu Mar 09 17:44:30 2017 +0200 |
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | Mon Mar 13 21:14:47 2017 +0200 |
tree | d6c2052ec06769cc613a1741040de3911c4f871d | |
parent | c750bdd3e7e204cc88b32806c3864487a03cd84b [diff] |
drm/i915: Use I915_READ_FW in i915_get_vblank_counter() Optimize the multi-register read in i915_get_vblank_counter() a little bit by grabbing the uncore lock manually and using I915_READ_FW(). Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170309154434.29303-2-ville.syrjala@linux.intel.com Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>