Lines Matching refs:tiling_mode
162 int tiling_mode, unsigned int stride) in i915_vma_fence_prepare() argument
170 size = i915_gem_fence_size(i915, vma->size, tiling_mode, stride); in i915_vma_fence_prepare()
174 alignment = i915_gem_fence_alignment(i915, vma->size, tiling_mode, stride); in i915_vma_fence_prepare()
184 int tiling_mode, unsigned int stride) in i915_gem_object_fence_prepare() argument
192 if (tiling_mode == I915_TILING_NONE) in i915_gem_object_fence_prepare()
201 if (i915_vma_fence_prepare(vma, tiling_mode, stride)) in i915_gem_object_fence_prepare()
366 if (!i915_tiling_ok(obj, args->tiling_mode, args->stride)) { in i915_gem_set_tiling_ioctl()
371 if (args->tiling_mode == I915_TILING_NONE) { in i915_gem_set_tiling_ioctl()
375 if (args->tiling_mode == I915_TILING_X) in i915_gem_set_tiling_ioctl()
394 args->tiling_mode = I915_TILING_NONE; in i915_gem_set_tiling_ioctl()
400 err = i915_gem_object_set_tiling(obj, args->tiling_mode, args->stride); in i915_gem_set_tiling_ioctl()
404 args->tiling_mode = i915_gem_object_get_tiling(obj); in i915_gem_set_tiling_ioctl()
439 args->tiling_mode = in i915_gem_get_tiling_ioctl()
447 switch (args->tiling_mode) { in i915_gem_get_tiling_ioctl()