In places, we assume that if the flag is set, we must have an active
CRTC. However, we were not clearing when disabling the CRTC.
Reported-by: Sree Harsha Totakura <freedesktop@h.totakura.in>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=80325
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
sna->mode.dirty = true;
}
+ sna_crtc->transform = false;
+
assert(sna_crtc->dpms_mode == DPMSModeOff);
+ assert(!sna_crtc->shadow);
}
static void update_flush_interval(struct sna *sna)
continue;
assert(crtc->enabled);
+ assert(sna_crtc->bo);
damage.extents = crtc->bounds;
damage.data = NULL;