Lines Matching refs:gobj

38 void radeon_gem_object_free(struct drm_gem_object *gobj)  in radeon_gem_object_free()  argument
40 struct radeon_bo *robj = gem_to_radeon_bo(gobj); in radeon_gem_object_free()
97 static int radeon_gem_set_domain(struct drm_gem_object *gobj, in radeon_gem_set_domain() argument
105 robj = gem_to_radeon_bo(gobj); in radeon_gem_set_domain()
261 struct drm_gem_object *gobj; in radeon_gem_create_ioctl() local
270 false, &gobj); in radeon_gem_create_ioctl()
276 r = drm_gem_handle_create(filp, gobj, &handle); in radeon_gem_create_ioctl()
278 drm_gem_object_put(gobj); in radeon_gem_create_ioctl()
295 struct drm_gem_object *gobj; in radeon_gem_userptr_ioctl() local
329 false, &gobj); in radeon_gem_userptr_ioctl()
333 bo = gem_to_radeon_bo(gobj); in radeon_gem_userptr_ioctl()
360 r = drm_gem_handle_create(filp, gobj, &handle); in radeon_gem_userptr_ioctl()
362 drm_gem_object_put(gobj); in radeon_gem_userptr_ioctl()
371 drm_gem_object_put(gobj); in radeon_gem_userptr_ioctl()
387 struct drm_gem_object *gobj; in radeon_gem_set_domain_ioctl() local
396 gobj = drm_gem_object_lookup(filp, args->handle); in radeon_gem_set_domain_ioctl()
397 if (gobj == NULL) { in radeon_gem_set_domain_ioctl()
401 robj = gem_to_radeon_bo(gobj); in radeon_gem_set_domain_ioctl()
403 r = radeon_gem_set_domain(gobj, args->read_domains, args->write_domain); in radeon_gem_set_domain_ioctl()
405 drm_gem_object_put(gobj); in radeon_gem_set_domain_ioctl()
415 struct drm_gem_object *gobj; in radeon_mode_dumb_mmap() local
418 gobj = drm_gem_object_lookup(filp, handle); in radeon_mode_dumb_mmap()
419 if (gobj == NULL) { in radeon_mode_dumb_mmap()
422 robj = gem_to_radeon_bo(gobj); in radeon_mode_dumb_mmap()
424 drm_gem_object_put(gobj); in radeon_mode_dumb_mmap()
428 drm_gem_object_put(gobj); in radeon_mode_dumb_mmap()
444 struct drm_gem_object *gobj; in radeon_gem_busy_ioctl() local
449 gobj = drm_gem_object_lookup(filp, args->handle); in radeon_gem_busy_ioctl()
450 if (gobj == NULL) { in radeon_gem_busy_ioctl()
453 robj = gem_to_radeon_bo(gobj); in radeon_gem_busy_ioctl()
463 drm_gem_object_put(gobj); in radeon_gem_busy_ioctl()
472 struct drm_gem_object *gobj; in radeon_gem_wait_idle_ioctl() local
478 gobj = drm_gem_object_lookup(filp, args->handle); in radeon_gem_wait_idle_ioctl()
479 if (gobj == NULL) { in radeon_gem_wait_idle_ioctl()
482 robj = gem_to_radeon_bo(gobj); in radeon_gem_wait_idle_ioctl()
495 drm_gem_object_put(gobj); in radeon_gem_wait_idle_ioctl()
504 struct drm_gem_object *gobj; in radeon_gem_set_tiling_ioctl() local
509 gobj = drm_gem_object_lookup(filp, args->handle); in radeon_gem_set_tiling_ioctl()
510 if (gobj == NULL) in radeon_gem_set_tiling_ioctl()
512 robj = gem_to_radeon_bo(gobj); in radeon_gem_set_tiling_ioctl()
514 drm_gem_object_put(gobj); in radeon_gem_set_tiling_ioctl()
522 struct drm_gem_object *gobj; in radeon_gem_get_tiling_ioctl() local
527 gobj = drm_gem_object_lookup(filp, args->handle); in radeon_gem_get_tiling_ioctl()
528 if (gobj == NULL) in radeon_gem_get_tiling_ioctl()
530 rbo = gem_to_radeon_bo(gobj); in radeon_gem_get_tiling_ioctl()
537 drm_gem_object_put(gobj); in radeon_gem_get_tiling_ioctl()
607 struct drm_gem_object *gobj; in radeon_gem_va_ioctl() local
662 gobj = drm_gem_object_lookup(filp, args->handle); in radeon_gem_va_ioctl()
663 if (gobj == NULL) { in radeon_gem_va_ioctl()
667 rbo = gem_to_radeon_bo(gobj); in radeon_gem_va_ioctl()
671 drm_gem_object_put(gobj); in radeon_gem_va_ioctl()
678 drm_gem_object_put(gobj); in radeon_gem_va_ioctl()
705 drm_gem_object_put(gobj); in radeon_gem_va_ioctl()
713 struct drm_gem_object *gobj; in radeon_gem_op_ioctl() local
717 gobj = drm_gem_object_lookup(filp, args->handle); in radeon_gem_op_ioctl()
718 if (gobj == NULL) { in radeon_gem_op_ioctl()
721 robj = gem_to_radeon_bo(gobj); in radeon_gem_op_ioctl()
746 drm_gem_object_put(gobj); in radeon_gem_op_ioctl()
755 struct drm_gem_object *gobj; in radeon_mode_dumb_create() local
766 false, &gobj); in radeon_mode_dumb_create()
770 r = drm_gem_handle_create(file_priv, gobj, &handle); in radeon_mode_dumb_create()
772 drm_gem_object_put(gobj); in radeon_mode_dumb_create()