Lines Matching refs:tiling_mode
205 i915_tiling_ok(struct drm_device *dev, int stride, int size, int tiling_mode) in i915_tiling_ok() argument
210 if (tiling_mode == I915_TILING_NONE) in i915_tiling_ok()
214 (tiling_mode == I915_TILING_Y && HAS_128_BYTE_Y_TILING(dev))) in i915_tiling_ok()
260 i915_gem_object_fence_ok(struct drm_i915_gem_object *obj, int tiling_mode) in i915_gem_object_fence_ok() argument
264 if (tiling_mode == I915_TILING_NONE) in i915_gem_object_fence_ok()
278 size = i915_gem_get_gtt_size(obj->base.dev, obj->base.size, tiling_mode); in i915_gem_object_fence_ok()
306 args->stride, obj->base.size, args->tiling_mode)) { in i915_gem_set_tiling()
316 if (args->tiling_mode == I915_TILING_NONE) { in i915_gem_set_tiling()
320 if (args->tiling_mode == I915_TILING_X) in i915_gem_set_tiling()
339 args->tiling_mode = I915_TILING_NONE; in i915_gem_set_tiling()
346 if (args->tiling_mode != obj->tiling_mode || in i915_gem_set_tiling()
364 i915_gem_object_fence_ok(obj, args->tiling_mode)); in i915_gem_set_tiling()
370 args->tiling_mode, in i915_gem_set_tiling()
381 obj->tiling_mode = args->tiling_mode; in i915_gem_set_tiling()
390 args->tiling_mode = obj->tiling_mode; in i915_gem_set_tiling()
426 args->tiling_mode = obj->tiling_mode; in i915_gem_get_tiling()
427 switch (obj->tiling_mode) { in i915_gem_get_tiling()