OSDN Git Service

panfrost: Add missing panfrost_batch_add_bo() calls
authorBoris Brezillon <boris.brezillon@collabora.com>
Sat, 14 Sep 2019 15:32:02 +0000 (17:32 +0200)
committerBoris Brezillon <boris.brezillon@collabora.com>
Wed, 18 Sep 2019 08:27:09 +0000 (10:27 +0200)
commitc16fb1f48dc349b0eb54bf12aab13a113fb2f29e
tree70b83086c1eb0e713ffdcfef7fd7056ce61fccf6
parenta94d0280652d534d379111e1bf164450079510cf
panfrost: Add missing panfrost_batch_add_bo() calls

Some BOs are used by batches but never explicitly added to the BO set.
This is currently not a problem because we wait for the execution of
a batch to be finished before releasing a BO, but we will soon relax
this rule.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/pan_context.c