]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Unconfuse pipe vs. crtc->index in i915_get_crtc_scanoutpos()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 21 Aug 2019 17:30:30 +0000 (20:30 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 23 Aug 2019 18:36:00 +0000 (21:36 +0300)
commite8edae54c593bc9aea949fbf6b2a59fe53cd5d83
treecee891919ab4fe66f9666e5e6dc588972b0929fc
parentd06a79d33e0f97373a29decb66791758a6d2e968
drm/i915: Unconfuse pipe vs. crtc->index in i915_get_crtc_scanoutpos()

The "pipe" argument passed in by the vblank code is in fact the crtc
index. Don't assume that is the same as the pipe.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190821173033.24123-2-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/i915_irq.c