sna: Remove unused scanout-is-dirty? flag
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
6f60f89588
commit
88bee3caea
|
|
@ -1104,7 +1104,6 @@ void _kgem_add_bo(struct kgem *kgem, struct kgem_bo *bo)
|
|||
|
||||
/* XXX is it worth working around gcc here? */
|
||||
kgem->flush |= bo->flush;
|
||||
kgem->scanout |= bo->scanout;
|
||||
|
||||
if (bo->sync)
|
||||
kgem->sync = kgem->next_request;
|
||||
|
|
@ -1990,8 +1989,6 @@ void kgem_reset(struct kgem *kgem)
|
|||
kgem->nbatch = 0;
|
||||
kgem->surface = kgem->batch_size;
|
||||
kgem->mode = KGEM_NONE;
|
||||
kgem->flush = 0;
|
||||
kgem->scanout = 0;
|
||||
|
||||
kgem->next_request = __kgem_request_alloc();
|
||||
|
||||
|
|
|
|||
|
|
@ -150,7 +150,6 @@ struct kgem {
|
|||
uint32_t need_purge:1;
|
||||
uint32_t need_retire:1;
|
||||
uint32_t need_throttle:1;
|
||||
uint32_t scanout:1;
|
||||
uint32_t busy:1;
|
||||
|
||||
uint32_t has_vmap :1;
|
||||
|
|
|
|||
|
|
@ -12457,6 +12457,7 @@ sna_accel_flush_callback(CallbackListPtr *list,
|
|||
kgem_sync(&sna->kgem);
|
||||
|
||||
sna->flush = false;
|
||||
sna->kgem.flush = false;
|
||||
}
|
||||
|
||||
static struct sna_pixmap *sna_accel_scanout(struct sna *sna)
|
||||
|
|
|
|||
Loading…
Reference in New Issue