]> 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)
commit5a5f0811b0ec33b1c851ed554e48f1ecbd463a68
treecee891919ab4fe66f9666e5e6dc588972b0929fc
parent0429628c657e228a876bbcd0b9fcbba7fcec8e01
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