Lines Matching refs:tiling_mode
189 uint32_t tiling_mode; member
301 drm_intel_gem_bo_get_tiling(drm_intel_bo *bo, uint32_t * tiling_mode,
306 uint32_t tiling_mode,
323 uint32_t *tiling_mode) in drm_intel_gem_bo_tile_size() argument
328 if (*tiling_mode == I915_TILING_NONE) in drm_intel_gem_bo_tile_size()
345 *tiling_mode = I915_TILING_NONE; in drm_intel_gem_bo_tile_size()
366 unsigned long pitch, uint32_t *tiling_mode) in drm_intel_gem_bo_tile_pitch() argument
374 if (*tiling_mode == I915_TILING_NONE) in drm_intel_gem_bo_tile_pitch()
377 if (*tiling_mode == I915_TILING_X in drm_intel_gem_bo_tile_pitch()
379 && *tiling_mode == I915_TILING_Y)) in drm_intel_gem_bo_tile_pitch()
392 *tiling_mode = I915_TILING_NONE; in drm_intel_gem_bo_tile_pitch()
599 if (bufmgr_gem->gen < 4 && bo_gem->tiling_mode != I915_TILING_NONE) { in drm_intel_bo_gem_set_in_aperture_size()
721 uint32_t tiling_mode, in drm_intel_gem_bo_alloc_internal() argument
793 tiling_mode, in drm_intel_gem_bo_alloc_internal()
826 bo_gem->tiling_mode = I915_TILING_NONE; in drm_intel_gem_bo_alloc_internal()
835 tiling_mode, in drm_intel_gem_bo_alloc_internal()
883 int x, int y, int cpp, uint32_t *tiling_mode, in drm_intel_gem_bo_alloc_tiled() argument
893 tiling = *tiling_mode; in drm_intel_gem_bo_alloc_tiled()
920 stride = drm_intel_gem_bo_tile_pitch(bufmgr_gem, stride, tiling_mode); in drm_intel_gem_bo_alloc_tiled()
922 size = drm_intel_gem_bo_tile_size(bufmgr_gem, size, tiling_mode); in drm_intel_gem_bo_alloc_tiled()
923 } while (*tiling_mode != tiling); in drm_intel_gem_bo_alloc_tiled()
937 uint32_t tiling_mode, in drm_intel_gem_bo_alloc_userptr() argument
950 if (tiling_mode != I915_TILING_NONE) in drm_intel_gem_bo_alloc_userptr()
982 bo_gem->tiling_mode = I915_TILING_NONE; in drm_intel_gem_bo_alloc_userptr()
1003 size, stride, tiling_mode); in drm_intel_gem_bo_alloc_userptr()
1058 uint32_t tiling_mode, in check_bo_alloc_userptr() argument
1069 tiling_mode, stride, size, flags); in check_bo_alloc_userptr()
1164 bo_gem->tiling_mode = get_tiling.tiling_mode; in drm_intel_bo_gem_create_from_name()
1957 if (target_bo_gem->tiling_mode == I915_TILING_NONE) in do_bo_emit_reloc()
2500 uint32_t tiling_mode, in drm_intel_gem_bo_set_tiling_internal() argument
2509 tiling_mode == bo_gem->tiling_mode && in drm_intel_gem_bo_set_tiling_internal()
2520 set_tiling.tiling_mode = tiling_mode; in drm_intel_gem_bo_set_tiling_internal()
2530 bo_gem->tiling_mode = set_tiling.tiling_mode; in drm_intel_gem_bo_set_tiling_internal()
2537 drm_intel_gem_bo_set_tiling(drm_intel_bo *bo, uint32_t * tiling_mode, in drm_intel_gem_bo_set_tiling() argument
2553 if (*tiling_mode == I915_TILING_NONE) in drm_intel_gem_bo_set_tiling()
2556 ret = drm_intel_gem_bo_set_tiling_internal(bo, *tiling_mode, stride); in drm_intel_gem_bo_set_tiling()
2560 *tiling_mode = bo_gem->tiling_mode; in drm_intel_gem_bo_set_tiling()
2565 drm_intel_gem_bo_get_tiling(drm_intel_bo *bo, uint32_t * tiling_mode, in drm_intel_gem_bo_get_tiling() argument
2570 *tiling_mode = bo_gem->tiling_mode; in drm_intel_gem_bo_get_tiling()
2665 bo_gem->tiling_mode = get_tiling.tiling_mode; in drm_intel_bo_gem_create_from_prime()