asahi: Make encoder_allocate public
In order to enqueue CDM and VDM to the same queue. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056>
This commit is contained in:

committed by
Marge Bot

parent
c9dd59fef3
commit
0b96b62348
@@ -76,7 +76,7 @@ agx_batch_mark_complete(struct agx_batch *batch)
|
||||
BITSET_CLEAR(batch->ctx->batches.submitted, batch_idx);
|
||||
}
|
||||
|
||||
static struct agx_encoder
|
||||
struct agx_encoder
|
||||
agx_encoder_allocate(struct agx_batch *batch, struct agx_device *dev)
|
||||
{
|
||||
struct agx_bo *bo = agx_bo_create(dev, 0x80000, 0, "Encoder");
|
||||
|
@@ -876,6 +876,9 @@ void agx_blit(struct pipe_context *pipe, const struct pipe_blit_info *info);
|
||||
|
||||
/* Batch logic */
|
||||
|
||||
struct agx_encoder agx_encoder_allocate(struct agx_batch *batch,
|
||||
struct agx_device *dev);
|
||||
|
||||
void agx_batch_init_state(struct agx_batch *batch);
|
||||
|
||||
uint64_t agx_build_meta(struct agx_batch *batch, bool store,
|
||||
|
Reference in New Issue
Block a user