Lines Matching refs:tiling_mode
185 i915_tiling_ok(struct drm_device *dev, int stride, int size, int tiling_mode)
190 if (tiling_mode == I915_TILING_NONE)
194 (tiling_mode == I915_TILING_Y && HAS_128_BYTE_Y_TILING(dev)))
236 i915_gem_object_fence_offset_ok(struct drm_gem_object *obj, int tiling_mode)
244 if (tiling_mode == I915_TILING_NONE)
281 if (!i915_tiling_ok(dev, args->stride, obj->size, args->tiling_mode)) {
291 if (args->tiling_mode == I915_TILING_NONE) {
295 if (args->tiling_mode == I915_TILING_X)
314 args->tiling_mode = I915_TILING_NONE;
321 if (args->tiling_mode != obj_priv->tiling_mode ||
328 if (!i915_gem_object_fence_offset_ok(obj, args->tiling_mode))
336 args->tiling_mode = obj_priv->tiling_mode;
341 obj_priv->tiling_mode = args->tiling_mode;
370 args->tiling_mode = obj_priv->tiling_mode;
371 switch (obj_priv->tiling_mode) {