mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
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:
parent
c9dd59fef3
commit
0b96b62348
2 changed files with 4 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue