summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sna/sna_display.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index c150078c..0736cfa3 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -2823,8 +2823,6 @@ static bool sna_emit_wait_for_scanline_gen4(struct sna *sna,
uint32_t event;
uint32_t *b;
- assert(sna->kgem.mode != KGEM_NONE);
-
if (pipe == 0) {
if (full_height)
event = MI_WAIT_FOR_PIPEA_SVBLANK;
@@ -2854,8 +2852,6 @@ static bool sna_emit_wait_for_scanline_gen2(struct sna *sna,
{
uint32_t *b;
- assert(sna->kgem.mode != KGEM_NONE);
-
/*
* Pre-965 doesn't have SVBLANK, so we need a bit
* of extra time for the blitter to start up and