panfrost: Set the GEM handle for AFBC buffers
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
This commit is contained in:
parent
02081edfaf
commit
95748f6483
|
@ -87,6 +87,7 @@ panfrost_enable_afbc(struct panfrost_context *ctx, struct panfrost_resource *rsr
|
|||
|
||||
rsrc->bo->gpu = rsrc->bo->afbc_slab.gpu | (ds ? 0 : 1);
|
||||
rsrc->bo->cpu = rsrc->bo->afbc_slab.cpu;
|
||||
rsrc->bo->gem_handle = rsrc->bo->afbc_slab.gem_handle;
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue