Home
last modified time | relevance | path

Searched refs:tiling_mode (Results 1 – 17 of 17) sorted by relevance

/third_party/libdrm/intel/
Dintel_bufmgr.c65 uint32_t tiling_mode, in drm_intel_bo_alloc_userptr() argument
71 return bufmgr->bo_alloc_userptr(bufmgr, name, addr, tiling_mode, in drm_intel_bo_alloc_userptr()
78 int x, int y, int cpp, uint32_t *tiling_mode, in drm_intel_bo_alloc_tiled() argument
82 tiling_mode, pitch, flags); in drm_intel_bo_alloc_tiled()
239 drm_intel_bo_set_tiling(drm_intel_bo *bo, uint32_t * tiling_mode, in drm_intel_bo_set_tiling() argument
243 return bo->bufmgr->bo_set_tiling(bo, tiling_mode, stride); in drm_intel_bo_set_tiling()
245 *tiling_mode = I915_TILING_NONE; in drm_intel_bo_set_tiling()
250 drm_intel_bo_get_tiling(drm_intel_bo *bo, uint32_t * tiling_mode, in drm_intel_bo_get_tiling() argument
254 return bo->bufmgr->bo_get_tiling(bo, tiling_mode, swizzle_mode); in drm_intel_bo_get_tiling()
256 *tiling_mode = I915_TILING_NONE; in drm_intel_bo_get_tiling()
Dintel_bufmgr_priv.h72 uint32_t tiling_mode, uint32_t stride,
94 uint32_t *tiling_mode,
230 int (*bo_set_tiling) (drm_intel_bo *bo, uint32_t * tiling_mode,
240 int (*bo_get_tiling) (drm_intel_bo *bo, uint32_t * tiling_mode,
Dintel_bufmgr_gem.c191 uint32_t tiling_mode; member
293 drm_intel_gem_bo_get_tiling(drm_intel_bo *bo, uint32_t * tiling_mode,
298 uint32_t tiling_mode,
315 uint32_t *tiling_mode) in drm_intel_gem_bo_tile_size() argument
320 if (*tiling_mode == I915_TILING_NONE) in drm_intel_gem_bo_tile_size()
337 *tiling_mode = I915_TILING_NONE; in drm_intel_gem_bo_tile_size()
358 unsigned long pitch, uint32_t *tiling_mode) in drm_intel_gem_bo_tile_pitch() argument
366 if (*tiling_mode == I915_TILING_NONE) in drm_intel_gem_bo_tile_pitch()
369 if (*tiling_mode == I915_TILING_X in drm_intel_gem_bo_tile_pitch()
371 && *tiling_mode == I915_TILING_Y)) in drm_intel_gem_bo_tile_pitch()
[all …]
Dintel_bufmgr.h122 void *addr, uint32_t tiling_mode,
128 uint32_t *tiling_mode,
160 int drm_intel_bo_set_tiling(drm_intel_bo *bo, uint32_t * tiling_mode,
162 int drm_intel_bo_get_tiling(drm_intel_bo *bo, uint32_t * tiling_mode,
Dintel_bufmgr_fake.c841 uint32_t *tiling_mode, in drm_intel_fake_bo_alloc_tiled() argument
848 *tiling_mode = I915_TILING_NONE; in drm_intel_fake_bo_alloc_tiled()
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_bufmgr.h167 uint32_t tiling_mode; member
234 uint32_t tiling_mode,
257 uint32_t tiling_mode,
322 int brw_bo_get_tiling(struct brw_bo *bo, uint32_t *tiling_mode,
377 uint32_t tiling_mode,
Dbrw_bufmgr.c198 static int bo_set_tiling_internal(struct brw_bo *bo, uint32_t tiling_mode,
532 uint32_t tiling_mode, in bo_alloc_internal() argument
606 if (bo_set_tiling_internal(bo, tiling_mode, stride)) { in bo_alloc_internal()
654 bo->tiling_mode = I915_TILING_NONE; in bo_alloc_internal()
658 if (bo_set_tiling_internal(bo, tiling_mode, stride)) in bo_alloc_internal()
715 uint32_t tiling_mode, uint32_t pitch, in brw_bo_alloc_tiled() argument
719 flags, tiling_mode, pitch); in brw_bo_alloc_tiled()
834 bo->tiling_mode = get_tiling.tiling_mode; in brw_bo_gem_create_from_name()
1265 if (bo->tiling_mode != I915_TILING_NONE && !(flags & MAP_RAW)) in brw_bo_map()
1429 bo_set_tiling_internal(struct brw_bo *bo, uint32_t tiling_mode, in bo_set_tiling_internal() argument
[all …]
Dbrw_screen.c546 image->modifier = tiling_to_modifier(image->bo->tiling_mode); in brw_create_image_from_name()
1167 image->modifier = tiling_to_modifier(image->bo->tiling_mode); in brw_create_image_from_fds_common()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_bufmgr.c174 static int bo_set_tiling_internal(struct crocus_bo *bo, uint32_t tiling_mode,
367 bo->tiling_mode = I915_TILING_NONE; in alloc_fresh_bo()
395 uint32_t tiling_mode, in bo_alloc_internal() argument
423 if (bo_set_tiling_internal(bo, tiling_mode, stride)) in bo_alloc_internal()
466 uint32_t tiling_mode, uint32_t pitch, unsigned flags) in crocus_bo_alloc_tiled() argument
469 flags, tiling_mode, pitch); in crocus_bo_alloc_tiled()
583 bo->tiling_mode = get_tiling.tiling_mode; in crocus_bo_gem_create_from_name()
1049 if (bo->tiling_mode != I915_TILING_NONE && !(flags & MAP_RAW)) in crocus_bo_map()
1169 bo_set_tiling_internal(struct crocus_bo *bo, uint32_t tiling_mode, in bo_set_tiling_internal() argument
1177 tiling_mode == bo->tiling_mode && stride == bo->stride) in bo_set_tiling_internal()
[all …]
Dcrocus_bufmgr.h105 uint32_t tiling_mode; member
175 uint32_t tiling_mode, uint32_t pitch,
265 int crocus_bo_get_tiling(struct crocus_bo *bo, uint32_t *tiling_mode,
Dcrocus_resource.c843 whandle->modifier : tiling_to_modifier(res->bo->tiling_mode); in crocus_resource_from_handle()
849 assert(res->bo->tiling_mode == in crocus_resource_from_handle()
1056 : tiling_to_modifier(res->bo->tiling_mode); in crocus_resource_get_handle()
/third_party/mesa3d/src/gallium/winsys/i915/drm/
Di915_drm_buffer.c63 uint32_t tiling_mode = *tiling; in i915_drm_buffer_create_tiled() local
75 &tiling_mode, &pitch, 0); in i915_drm_buffer_create_tiled()
81 *tiling = tiling_mode; in i915_drm_buffer_create_tiled()
/third_party/mesa3d/src/intel/vulkan/
Danv_gem.c274 return get_tiling.tiling_mode; in anv_gem_get_tiling()
295 .tiling_mode = tiling, in anv_gem_set_tiling()
356 .tiling_mode = tiling, in anv_gem_get_bit6_swizzle()
/third_party/libdrm/libkms/
Dintel.c123 tile.tiling_mode = I915_TILING_X; in intel_bo_create()
/third_party/libdrm/include/drm/
Di915_drm.h1263 __u32 tiling_mode; member
1286 __u32 tiling_mode; member
/third_party/mesa3d/include/drm-uapi/
Di915_drm.h1554 __u32 tiling_mode; member
1577 __u32 tiling_mode; member
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_bufmgr.c1714 *tiling = ti.tiling_mode; in iris_gem_get_tiling()
1723 uint32_t tiling_mode = isl_tiling_to_i915_tiling(surf->tiling); in iris_gem_set_tiling() local
1738 .tiling_mode = tiling_mode, in iris_gem_set_tiling()