sna: Remove a pair of stale assertions
For gen2-5, it does not matter what mode the batch is in when we insert the scanline wait. With the more aggressive batch flushing, and relaxed assigned of mode for those generations, we are likely to see that the batch is idle when we go to insert the waits. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
bdd0cca4e1
commit
07dde33a4f
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue