Through the GTT interface to the fence registers, we can only handle linear, X and Y tiling. The more esoteric tiling patterns are ignored. Document that the tiling ABI only supports upto Y tiling, and reject any attempts to set a tiling mode other than NONE, X or Y.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -926,6 +926,7 @@ struct drm_i915_gem_caching { · 925 unmodified lines | |||
| 926 | #define I915_TILING_NONE 0 | 926 | #define I915_TILING_NONE 0 |
| 927 | #define I915_TILING_X 1 | 927 | #define I915_TILING_X 1 |
| 928 | #define I915_TILING_Y 2 | 928 | #define I915_TILING_Y 2 |
| 929 | #define I915_TILING_LAST I915_TILING_Y | ||
| 929 | 930 | ||
| 930 | #define I915_BIT_6_SWIZZLE_NONE 0 | 931 | #define I915_BIT_6_SWIZZLE_NONE 0 |
| 931 | #define I915_BIT_6_SWIZZLE_9 1 | 932 | #define I915_BIT_6_SWIZZLE_9 1 |