Lines Matching refs:gem_obj
1095 struct drm_gem_object *gem_obj; in vc4_wait_bo_ioctl() local
1101 gem_obj = drm_gem_object_lookup(file_priv, args->handle); in vc4_wait_bo_ioctl()
1102 if (!gem_obj) { in vc4_wait_bo_ioctl()
1106 bo = to_vc4_bo(gem_obj); in vc4_wait_bo_ioctl()
1111 drm_gem_object_put_unlocked(gem_obj); in vc4_wait_bo_ioctl()
1317 struct drm_gem_object *gem_obj; in vc4_gem_madvise_ioctl() local
1332 gem_obj = drm_gem_object_lookup(file_priv, args->handle); in vc4_gem_madvise_ioctl()
1333 if (!gem_obj) { in vc4_gem_madvise_ioctl()
1338 bo = to_vc4_bo(gem_obj); in vc4_gem_madvise_ioctl()
1350 if (gem_obj->import_attach) { in vc4_gem_madvise_ioctl()
1386 drm_gem_object_put_unlocked(gem_obj); in vc4_gem_madvise_ioctl()