Re: [Mesa-dev] [PATCH v2 19/37] panfrost: Add the panfrost_batch_create_bo() helper

2019-09-16 Thread Alyssa Rosenzweig
R-b, wonderful On Mon, Sep 16, 2019 at 11:36:57AM +0200, Boris Brezillon wrote: > This helper automates the panfrost_bo_create()+panfrost_batch_add_bo()+ > panfrost_bo_unreference() sequence that's done for all per-batch BOs. > > Signed-off-by: Boris Brezillon > --- > src/gallium/drivers/panfro

[Mesa-dev] [PATCH v2 19/37] panfrost: Add the panfrost_batch_create_bo() helper

2019-09-16 Thread Boris Brezillon
This helper automates the panfrost_bo_create()+panfrost_batch_add_bo()+ panfrost_bo_unreference() sequence that's done for all per-batch BOs. Signed-off-by: Boris Brezillon --- src/gallium/drivers/panfrost/pan_allocate.c | 9 +- src/gallium/drivers/panfrost/pan_blend_cso.c | 8 ++--- src/