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: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
f5de6e0739
commit
16f3f658e5
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue