diff options
| -rw-r--r-- | include/uapi/drm/drm_fourcc.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/uapi/drm/drm_fourcc.h b/include/uapi/drm/drm_fourcc.h index 4837c3d2319a..b35418b20dcf 100644 --- a/include/uapi/drm/drm_fourcc.h +++ b/include/uapi/drm/drm_fourcc.h | |||
| @@ -195,4 +195,19 @@ | |||
| 195 | */ | 195 | */ |
| 196 | #define I915_FORMAT_MOD_Y_TILED fourcc_mod_code(INTEL, 2) | 196 | #define I915_FORMAT_MOD_Y_TILED fourcc_mod_code(INTEL, 2) |
| 197 | 197 | ||
| 198 | /* | ||
| 199 | * Intel Yf-tiling layout | ||
| 200 | * | ||
| 201 | * This is a tiled layout using 4Kb tiles in row-major layout. | ||
| 202 | * Within the tile pixels are laid out in 16 256 byte units / sub-tiles which | ||
| 203 | * are arranged in four groups (two wide, two high) with column-major layout. | ||
| 204 | * Each group therefore consits out of four 256 byte units, which are also laid | ||
| 205 | * out as 2x2 column-major. | ||
| 206 | * 256 byte units are made out of four 64 byte blocks of pixels, producing | ||
| 207 | * either a square block or a 2:1 unit. | ||
| 208 | * 64 byte blocks of pixels contain four pixel rows of 16 bytes, where the width | ||
| 209 | * in pixel depends on the pixel depth. | ||
| 210 | */ | ||
| 211 | #define I915_FORMAT_MOD_Yf_TILED fourcc_mod_code(INTEL, 3) | ||
| 212 | |||
| 198 | #endif /* DRM_FOURCC_H */ | 213 | #endif /* DRM_FOURCC_H */ |
