• Home
  • Raw
  • Download

Lines Matching refs:gobj

85 static void amdgpu_gem_object_free(struct drm_gem_object *gobj)  in amdgpu_gem_object_free()  argument
87 struct amdgpu_bo *robj = gem_to_amdgpu_bo(gobj); in amdgpu_gem_object_free()
137 struct drm_gem_object *gobj; in amdgpu_gem_force_release() local
142 idr_for_each_entry(&file->object_idr, gobj, handle) { in amdgpu_gem_force_release()
144 drm_gem_object_put(gobj); in amdgpu_gem_force_release()
294 struct drm_gem_object *gobj; in amdgpu_gem_create_ioctl() local
343 flags, ttm_bo_type_device, resv, &gobj); in amdgpu_gem_create_ioctl()
360 struct amdgpu_bo *abo = gem_to_amdgpu_bo(gobj); in amdgpu_gem_create_ioctl()
369 r = drm_gem_handle_create(filp, gobj, &handle); in amdgpu_gem_create_ioctl()
371 drm_gem_object_put(gobj); in amdgpu_gem_create_ioctl()
386 struct drm_gem_object *gobj; in amdgpu_gem_userptr_ioctl() local
411 0, ttm_bo_type_device, NULL, &gobj); in amdgpu_gem_userptr_ioctl()
415 bo = gem_to_amdgpu_bo(gobj); in amdgpu_gem_userptr_ioctl()
442 r = drm_gem_handle_create(filp, gobj, &handle); in amdgpu_gem_userptr_ioctl()
453 drm_gem_object_put(gobj); in amdgpu_gem_userptr_ioctl()
462 struct drm_gem_object *gobj; in amdgpu_mode_dumb_mmap() local
465 gobj = drm_gem_object_lookup(filp, handle); in amdgpu_mode_dumb_mmap()
466 if (gobj == NULL) { in amdgpu_mode_dumb_mmap()
469 robj = gem_to_amdgpu_bo(gobj); in amdgpu_mode_dumb_mmap()
472 drm_gem_object_put(gobj); in amdgpu_mode_dumb_mmap()
476 drm_gem_object_put(gobj); in amdgpu_mode_dumb_mmap()
521 struct drm_gem_object *gobj; in amdgpu_gem_wait_idle_ioctl() local
528 gobj = drm_gem_object_lookup(filp, handle); in amdgpu_gem_wait_idle_ioctl()
529 if (gobj == NULL) { in amdgpu_gem_wait_idle_ioctl()
532 robj = gem_to_amdgpu_bo(gobj); in amdgpu_gem_wait_idle_ioctl()
545 drm_gem_object_put(gobj); in amdgpu_gem_wait_idle_ioctl()
553 struct drm_gem_object *gobj; in amdgpu_gem_metadata_ioctl() local
558 gobj = drm_gem_object_lookup(filp, args->handle); in amdgpu_gem_metadata_ioctl()
559 if (gobj == NULL) in amdgpu_gem_metadata_ioctl()
561 robj = gem_to_amdgpu_bo(gobj); in amdgpu_gem_metadata_ioctl()
588 drm_gem_object_put(gobj); in amdgpu_gem_metadata_ioctl()
669 struct drm_gem_object *gobj; in amdgpu_gem_va_ioctl() local
731 gobj = drm_gem_object_lookup(filp, args->handle); in amdgpu_gem_va_ioctl()
732 if (gobj == NULL) in amdgpu_gem_va_ioctl()
734 abo = gem_to_amdgpu_bo(gobj); in amdgpu_gem_va_ioctl()
742 gobj = NULL; in amdgpu_gem_va_ioctl()
797 drm_gem_object_put(gobj); in amdgpu_gem_va_ioctl()
806 struct drm_gem_object *gobj; in amdgpu_gem_op_ioctl() local
811 gobj = drm_gem_object_lookup(filp, args->handle); in amdgpu_gem_op_ioctl()
812 if (gobj == NULL) { in amdgpu_gem_op_ioctl()
815 robj = gem_to_amdgpu_bo(gobj); in amdgpu_gem_op_ioctl()
874 drm_gem_object_put(gobj); in amdgpu_gem_op_ioctl()
883 struct drm_gem_object *gobj; in amdgpu_mode_dumb_create() local
905 ttm_bo_type_device, NULL, &gobj); in amdgpu_mode_dumb_create()
909 r = drm_gem_handle_create(file_priv, gobj, &handle); in amdgpu_mode_dumb_create()
911 drm_gem_object_put(gobj); in amdgpu_mode_dumb_create()
933 struct drm_gem_object *gobj; in amdgpu_debugfs_gem_info_show() local
949 idr_for_each_entry(&file->object_idr, gobj, id) { in amdgpu_debugfs_gem_info_show()
950 struct amdgpu_bo *bo = gem_to_amdgpu_bo(gobj); in amdgpu_debugfs_gem_info_show()