Lines Matching refs:gem_obj
1082 struct drm_gem_object *gem_obj; in vc4_wait_bo_ioctl() local
1088 gem_obj = drm_gem_object_lookup(file_priv, args->handle); in vc4_wait_bo_ioctl()
1089 if (!gem_obj) { in vc4_wait_bo_ioctl()
1093 bo = to_vc4_bo(gem_obj); in vc4_wait_bo_ioctl()
1098 drm_gem_object_put_unlocked(gem_obj); in vc4_wait_bo_ioctl()
1305 struct drm_gem_object *gem_obj; in vc4_gem_madvise_ioctl() local
1320 gem_obj = drm_gem_object_lookup(file_priv, args->handle); in vc4_gem_madvise_ioctl()
1321 if (!gem_obj) { in vc4_gem_madvise_ioctl()
1326 bo = to_vc4_bo(gem_obj); in vc4_gem_madvise_ioctl()
1338 if (gem_obj->import_attach) { in vc4_gem_madvise_ioctl()
1374 drm_gem_object_put_unlocked(gem_obj); in vc4_gem_madvise_ioctl()