diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2017-03-09 17:44:30 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2017-03-13 21:14:47 +0200 |
commit | 694e409daa90f2e21a97e43121c943a84e843bf9 (patch) | |
tree | d6c2052ec06769cc613a1741040de3911c4f871d /tools/perf/scripts/python | |
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions