Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 16f3f658 authored by Ander Conselvan de Oliveira's avatar Ander Conselvan de Oliveira Committed by Daniel Vetter
Browse files

drm/i915: Keep drm_crtc->state in sync with intel_crtc->config



So that atomic operations will reference the right crtc state.

Signed-off-by: default avatarAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Reviewed-by: default avatarMatt Roper <matthew.d.roper@intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent f5de6e07
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -8931,6 +8931,7 @@ static void intel_crtc_set_state(struct intel_crtc *crtc,
{
	kfree(crtc->config);
	crtc->config = crtc_state;
	crtc->base.state = &crtc_state->base;
}

static void intel_crtc_destroy(struct drm_crtc *crtc)