History

drm/i915: Document and reject invalid tiling modes

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.

Chris Wilson committed 10 years ago

Commit deeb1511 parent 9ad36762 files · +4 −0Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/drm/i915_drm.h+1−0
@@ -926,6 +926,7 @@ struct drm_i915_gem_caching { · 925 unmodified lines
926926 #define I915_TILING_NONE 0
927927 #define I915_TILING_X 1
928928 #define I915_TILING_Y 2
929+#define I915_TILING_LAST I915_TILING_Y
929930
930931 #define I915_BIT_6_SWIZZLE_NONE 0
931932 #define I915_BIT_6_SWIZZLE_9 1

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t