sna: Remove unused scanout-is-dirty? flag

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2012-07-19 19:40:34 +01:00
parent 6f60f89588
commit 88bee3caea
3 changed files with 1 additions and 4 deletions

View File

@ -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();

View File

@ -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;

View File

@ -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)