]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Fixup legacy plane->crtc link for initial fb config
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 25 Mar 2015 17:30:38 +0000 (18:30 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 26 Mar 2015 12:04:37 +0000 (13:04 +0100)
commit818e81c257f647f4ddd43c95f7a4a8a82af0aa49
tree780b739c80842c3d98af1505487b97fd34abc93f
parente4b9f28450d3339dfb7294c2d6ca52b166269b09
drm/i915: Fixup legacy plane->crtc link for initial fb config

This is a very similar bug in the load detect code fixed in

commit 0046199cf3c32e63ea028e6df94c973a59140e72
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Tue Mar 3 17:31:21 2015 +0100

    drm/i915: Fix modeset state confusion in the load detect code

But this time around it was the initial fb code that forgot to update
the plane->crtc pointer. Otherwise it's the exact same bug, with the
exact same restrains (any set_config call/ioctl that doesn't disable
the pipe papers over the bug for free, so fairly hard to hit in normal
testing). So if you want the full explanation just go read that one
over there - it's rather long ...

Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Josh Boyer <jwboyer@fedoraproject.org>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Reported-and-tested-by: Josh Boyer <jwboyer@fedoraproject.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c