Home
last modified time | relevance | path

Searched refs:fence_ctx (Results 1 - 4 of 4) sorted by relevance

/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/rga3/
H A Drga_fence.c28 struct rga_fence_context *fence_ctx = NULL; in rga_fence_context_alloc() local
30 fence_ctx = kzalloc(sizeof(*fence_ctx), GFP_KERNEL); in rga_fence_context_alloc()
31 if (!fence_ctx) in rga_fence_context_alloc()
34 fence_ctx->context = dma_fence_context_alloc(1); in rga_fence_context_alloc()
35 spin_lock_init(&fence_ctx->spinlock); in rga_fence_context_alloc()
37 return fence_ctx; in rga_fence_context_alloc()
40 void rga_fence_context_free(struct rga_fence_context *fence_ctx) in rga_fence_context_free() argument
42 kfree(fence_ctx); in rga_fence_context_free()
47 struct rga_fence_context *fence_ctx in rga_out_fence_alloc() local
[all...]
H A Drga_drv.c974 rga_drvdata->fence_ctx = rga_fence_context_alloc(); in rga_init()
975 if (IS_ERR(rga_drvdata->fence_ctx)) { in rga_init()
977 ret = PTR_ERR(rga_drvdata->fence_ctx); in rga_init()
1012 rga_fence_context_free(rga_drvdata->fence_ctx); in rga_exit()
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/rga3/include/
H A Drga_fence.h15 void rga_fence_context_free(struct rga_fence_context *fence_ctx);
H A Drga_drv.h322 struct rga_fence_context *fence_ctx; member

Completed in 2 milliseconds