Searched refs:memptrs_bo (Results 1 – 2 of 2) sorted by relevance
400 adreno_gpu->memptrs_bo = msm_gem_new(drm, sizeof(*adreno_gpu->memptrs), in adreno_gpu_init()403 if (IS_ERR(adreno_gpu->memptrs_bo)) { in adreno_gpu_init()404 ret = PTR_ERR(adreno_gpu->memptrs_bo); in adreno_gpu_init()405 adreno_gpu->memptrs_bo = NULL; in adreno_gpu_init()410 adreno_gpu->memptrs = msm_gem_get_vaddr(adreno_gpu->memptrs_bo); in adreno_gpu_init()416 ret = msm_gem_get_iova(adreno_gpu->memptrs_bo, gpu->id, in adreno_gpu_init()428 if (gpu->memptrs_bo) { in adreno_gpu_cleanup()430 msm_gem_put_vaddr(gpu->memptrs_bo); in adreno_gpu_cleanup()433 msm_gem_put_iova(gpu->memptrs_bo, gpu->base.id); in adreno_gpu_cleanup()435 drm_gem_object_unreference_unlocked(gpu->memptrs_bo); in adreno_gpu_cleanup()
155 struct drm_gem_object *memptrs_bo; member