Lines Matching refs:tiling_mode
222 i915_tiling_ok(struct drm_device *dev, int stride, int size, int tiling_mode)
227 if (tiling_mode == I915_TILING_NONE)
230 if (tiling_mode == I915_TILING_Y && HAS_128_BYTE_Y_TILING(dev))
287 if (!i915_tiling_ok(dev, args.stride, obj->size, args.tiling_mode)) {
295 if (args.tiling_mode == I915_TILING_NONE) {
298 if (args.tiling_mode == I915_TILING_X)
304 args.tiling_mode = I915_TILING_NONE;
309 if (args.tiling_mode != obj_priv->tiling_mode) {
317 args.tiling_mode = obj_priv->tiling_mode;
323 obj_priv->tiling_mode = args.tiling_mode;
364 args.tiling_mode = obj_priv->tiling_mode;
365 switch (obj_priv->tiling_mode) {