Searched refs:intel_bo_to_drm_bo (Results 1 – 8 of 8) sorted by relevance
81 #define intel_bo_to_drm_bo(bo) (&(bo)->ttm.base) macro82 #define intel_bo_to_i915(bo) to_i915(intel_bo_to_drm_bo(bo)->dev)
92 drm_gem_object_put(intel_bo_to_drm_bo(obj)); in i915_gem_object_set_frontbuffer()97 drm_gem_object_get(intel_bo_to_drm_bo(obj)); in i915_gem_object_set_frontbuffer()
735 #define intel_bo_to_drm_bo(bo) (&(bo)->base) macro736 #define intel_bo_to_i915(bo) to_i915(intel_bo_to_drm_bo(bo)->dev)
73 drm_gem_object_put(intel_bo_to_drm_bo(obj)); in intel_fbdev_fb_alloc()103 info->screen_size = intel_bo_to_drm_bo(obj)->size; in intel_fbdev_fb_fill_info()
1657 if (mul_u32_u32(max_size, tile_size) > intel_bo_to_drm_bo(obj)->size) { in intel_fill_fb_info()1660 mul_u32_u32(max_size, tile_size), intel_bo_to_drm_bo(obj)->size); in intel_fill_fb_info()1894 struct drm_i915_private *i915 = to_i915(intel_bo_to_drm_bo(obj)->dev); in intel_user_framebuffer_create_handle()1902 return drm_gem_handle_create(file, intel_bo_to_drm_bo(obj), handle); in intel_user_framebuffer_create_handle()1935 if (dma_resv_test_signaled(intel_bo_to_drm_bo(obj)->resv, dma_resv_usage_rw(false))) in intel_user_framebuffer_dirty()1938 ret = dma_resv_get_singleton(intel_bo_to_drm_bo(obj)->resv, dma_resv_usage_rw(false), in intel_user_framebuffer_dirty()1980 struct drm_i915_private *dev_priv = to_i915(intel_bo_to_drm_bo(obj)->dev); in intel_framebuffer_init()2056 fb->obj[i] = intel_bo_to_drm_bo(obj); in intel_framebuffer_init()2109 drm_gem_object_put(intel_bo_to_drm_bo(obj)); in intel_user_framebuffer_create()
113 info->screen_size = intel_bo_to_drm_bo(obj)->size; in intel_fbdev_fb_fill_info()
343 if (intel_bo_to_drm_bo(obj)->size > max_size) { in intel_fbdev_init_bios()348 max_size = intel_bo_to_drm_bo(obj)->size; in intel_fbdev_init_bios()
1138 ret = add_dma_resv_fences(intel_bo_to_drm_bo(old_obj)->resv, in intel_prepare_plane_fb()