]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Use crtc->state for duplication.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 10 Sep 2015 14:08:03 +0000 (16:08 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 10 Sep 2015 16:27:17 +0000 (18:27 +0200)
commitaa3ae67bcba8b61626f52a61e78b6e05eca1db2c
treeea7a1dc702c8c55ce006e7d2bdd4715d8e525a87
parent5e68924e1810f2a3a20a89860ed08fd7888b5832
drm/i915: Use crtc->state for duplication.

In async mode crtc->config can be updated after the locks are released,
resulting in the wrong state being duplicated.

Note that this also removes a spurious assignment of crtc_state->crtc
introduced in

commit b3583d2084cc4206c000fc2d5e28b64008981e24
Author: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Date:   Tue Apr 21 17:12:58 2015 +0300

    drm/i915: Call drm helpers when duplicating crtc and plane states

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_atomic.c