diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-03-10 09:10:16 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-03-15 12:43:11 +0000 |
commit | bd8fafe0c48df7f138459f590a0e9e8d0c3267b7 (patch) | |
tree | 586b5ddf2c736d146a108d3d692f6814a39425e9 /src/intel_batchbuffer.c | |
parent | 64ccc6698def517fc37e9ba3c41715626df0e3ca (diff) |
uxa: Kill the complicated in-flight tracking
Reference leak hunting.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/intel_batchbuffer.c')
-rw-r--r-- | src/intel_batchbuffer.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/intel_batchbuffer.c b/src/intel_batchbuffer.c index 2b8fbb6e..8e54d3ad 100644 --- a/src/intel_batchbuffer.c +++ b/src/intel_batchbuffer.c @@ -117,18 +117,6 @@ void intel_batch_teardown(ScrnInfoPtr scrn) while (!list_is_empty(&intel->flush_pixmaps)) list_del(intel->flush_pixmaps.next); - - while (!list_is_empty(&intel->in_flight)) { - struct intel_pixmap *entry; - - entry = list_first_entry(&intel->in_flight, - struct intel_pixmap, - in_flight); - - dri_bo_unreference(entry->bo); - list_del(&entry->in_flight); - free(entry); - } } void intel_batch_do_flush(ScrnInfoPtr scrn) @@ -287,18 +275,6 @@ void intel_batch_submit(ScrnInfoPtr scrn) while (!list_is_empty(&intel->flush_pixmaps)) list_del(intel->flush_pixmaps.next); - while (!list_is_empty(&intel->in_flight)) { - struct intel_pixmap *entry; - - entry = list_first_entry(&intel->in_flight, - struct intel_pixmap, - in_flight); - - dri_bo_unreference(entry->bo); - list_del(&entry->in_flight); - free(entry); - } - if (intel->debug_flush & DEBUG_FLUSH_WAIT) drm_intel_bo_wait_rendering(intel->batch_bo); |