Lines Matching refs:gobj

40 void radeon_gem_object_free(struct drm_gem_object *gobj)  in radeon_gem_object_free()  argument
42 struct radeon_bo *robj = gem_to_radeon_bo(gobj); in radeon_gem_object_free()
78 int radeon_gem_set_domain(struct drm_gem_object *gobj, in radeon_gem_set_domain() argument
86 robj = gem_to_radeon_bo(gobj); in radeon_gem_set_domain()
203 struct drm_gem_object *gobj; in radeon_gem_create_ioctl() local
211 false, &gobj); in radeon_gem_create_ioctl()
215 r = drm_gem_handle_create(filp, gobj, &handle); in radeon_gem_create_ioctl()
217 drm_gem_object_unreference_unlocked(gobj); in radeon_gem_create_ioctl()
231 struct drm_gem_object *gobj; in radeon_gem_set_domain_ioctl() local
239 gobj = drm_gem_object_lookup(dev, filp, args->handle); in radeon_gem_set_domain_ioctl()
240 if (gobj == NULL) { in radeon_gem_set_domain_ioctl()
243 robj = gem_to_radeon_bo(gobj); in radeon_gem_set_domain_ioctl()
245 r = radeon_gem_set_domain(gobj, args->read_domains, args->write_domain); in radeon_gem_set_domain_ioctl()
247 drm_gem_object_unreference_unlocked(gobj); in radeon_gem_set_domain_ioctl()
255 struct drm_gem_object *gobj; in radeon_mode_dumb_mmap() local
258 gobj = drm_gem_object_lookup(dev, filp, handle); in radeon_mode_dumb_mmap()
259 if (gobj == NULL) { in radeon_mode_dumb_mmap()
262 robj = gem_to_radeon_bo(gobj); in radeon_mode_dumb_mmap()
264 drm_gem_object_unreference_unlocked(gobj); in radeon_mode_dumb_mmap()
280 struct drm_gem_object *gobj; in radeon_gem_busy_ioctl() local
285 gobj = drm_gem_object_lookup(dev, filp, args->handle); in radeon_gem_busy_ioctl()
286 if (gobj == NULL) { in radeon_gem_busy_ioctl()
289 robj = gem_to_radeon_bo(gobj); in radeon_gem_busy_ioctl()
303 drm_gem_object_unreference_unlocked(gobj); in radeon_gem_busy_ioctl()
311 struct drm_gem_object *gobj; in radeon_gem_wait_idle_ioctl() local
315 gobj = drm_gem_object_lookup(dev, filp, args->handle); in radeon_gem_wait_idle_ioctl()
316 if (gobj == NULL) { in radeon_gem_wait_idle_ioctl()
319 robj = gem_to_radeon_bo(gobj); in radeon_gem_wait_idle_ioctl()
324 drm_gem_object_unreference_unlocked(gobj); in radeon_gem_wait_idle_ioctl()
332 struct drm_gem_object *gobj; in radeon_gem_set_tiling_ioctl() local
337 gobj = drm_gem_object_lookup(dev, filp, args->handle); in radeon_gem_set_tiling_ioctl()
338 if (gobj == NULL) in radeon_gem_set_tiling_ioctl()
340 robj = gem_to_radeon_bo(gobj); in radeon_gem_set_tiling_ioctl()
342 drm_gem_object_unreference_unlocked(gobj); in radeon_gem_set_tiling_ioctl()
350 struct drm_gem_object *gobj; in radeon_gem_get_tiling_ioctl() local
355 gobj = drm_gem_object_lookup(dev, filp, args->handle); in radeon_gem_get_tiling_ioctl()
356 if (gobj == NULL) in radeon_gem_get_tiling_ioctl()
358 rbo = gem_to_radeon_bo(gobj); in radeon_gem_get_tiling_ioctl()
365 drm_gem_object_unreference_unlocked(gobj); in radeon_gem_get_tiling_ioctl()
373 struct drm_gem_object *gobj; in radeon_gem_va_ioctl() local
433 gobj = drm_gem_object_lookup(dev, filp, args->handle); in radeon_gem_va_ioctl()
434 if (gobj == NULL) { in radeon_gem_va_ioctl()
438 rbo = gem_to_radeon_bo(gobj); in radeon_gem_va_ioctl()
442 drm_gem_object_unreference_unlocked(gobj); in radeon_gem_va_ioctl()
468 drm_gem_object_unreference_unlocked(gobj); in radeon_gem_va_ioctl()
477 struct drm_gem_object *gobj; in radeon_mode_dumb_create() local
488 &gobj); in radeon_mode_dumb_create()
492 r = drm_gem_handle_create(file_priv, gobj, &handle); in radeon_mode_dumb_create()
494 drm_gem_object_unreference_unlocked(gobj); in radeon_mode_dumb_create()