Home
last modified time | relevance | path

Searched refs:ocmem_hdl (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/gpu/drm/msm/adreno/
H A Dadreno_gpu.c1014 struct ocmem_buf *ocmem_hdl; in adreno_gpu_ocmem_init() local
1031 ocmem_hdl = ocmem_allocate(ocmem, OCMEM_GRAPHICS, adreno_gpu->info->gmem); in adreno_gpu_ocmem_init()
1032 if (IS_ERR(ocmem_hdl)) in adreno_gpu_ocmem_init()
1033 return PTR_ERR(ocmem_hdl); in adreno_gpu_ocmem_init()
1036 adreno_ocmem->base = ocmem_hdl->addr; in adreno_gpu_ocmem_init()
1037 adreno_ocmem->hdl = ocmem_hdl; in adreno_gpu_ocmem_init()
1039 if (WARN_ON(ocmem_hdl->len != adreno_gpu->info->gmem)) in adreno_gpu_ocmem_init()