diff options
author | Jani Nikula <jani.nikula@intel.com> | 2021-12-01 15:57:03 +0200 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2021-12-02 11:39:50 +0200 |
commit | 7b06894b9b902f540b23e5c235570b224d63ec5e (patch) | |
tree | 191dd2ddeb11923fe3b8e72342e4e4da20683bd5 /drivers/gpu/drm/i915/i915_irq.c | |
parent | c7c90b0b8418a97d3aa8b39aae1992908948efad (diff) | |
download | linux-7b06894b9b902f540b23e5c235570b224d63ec5e.tar.gz |
drm/i915/display: add intel_crtc_wait_for_next_vblank() and use it
intel_wait_for_vblank() goes through a pipe to crtc lookup, while in
most cases we already have the crtc available. Avoid the extra lookups
by adding an intel_crtc based helper.
v2:
- Add intel_crtc_wait_for_next_vblank() helper (Ville)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/90cfbd8c3e79a742b0ee9e3ae75493acb0785dbb.1638366969.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_irq.c')
0 files changed, 0 insertions, 0 deletions