Lines Matching defs:tiling_mode
209 i915_tiling_ok(struct drm_device *dev, int stride, int size, int tiling_mode)
214 if (tiling_mode == I915_TILING_NONE)
218 (tiling_mode == I915_TILING_Y && HAS_128_BYTE_Y_TILING(dev)))
264 i915_gem_object_fence_ok(struct drm_i915_gem_object *obj, int tiling_mode)
268 if (tiling_mode == I915_TILING_NONE)
282 size = i915_gem_get_gtt_size(obj->base.dev, obj->base.size, tiling_mode);
310 args->stride, obj->base.size, args->tiling_mode)) {
320 if (args->tiling_mode == I915_TILING_NONE) {
324 if (args->tiling_mode == I915_TILING_X)
343 args->tiling_mode = I915_TILING_NONE;
350 if (args->tiling_mode != obj->tiling_mode ||
368 i915_gem_object_fence_ok(obj, args->tiling_mode));
374 args->tiling_mode,
385 obj->tiling_mode = args->tiling_mode;
394 args->tiling_mode = obj->tiling_mode;
433 args->tiling_mode = obj->tiling_mode;
434 switch (obj->tiling_mode) {