diff options
| author | Dave Airlie <airlied@redhat.com> | 2017-01-31 17:31:09 -0500 |
|---|---|---|
| committer | Dave Airlie <airlied@redhat.com> | 2017-01-31 17:31:09 -0500 |
| commit | 012bbe28c0e3a479ec7ba6f311710cf8409647d4 (patch) | |
| tree | 9cfe299e0cfa72a078faa73d5c0a9263d2ebe8a2 /include/uapi | |
| parent | bb7e98334157de206d7b1283377fdb4ea9e2e8c6 (diff) | |
| parent | 55d6616585363ff2aa9430bfe1ff1345bdc0599a (diff) | |
Merge tag 'drm-misc-next-2017-01-30' of git://anongit.freedesktop.org/git/drm-misc into drm-next
Another round of -misc stuff:
- Noralf debugfs cleanup cleanup (not yet everything, some more driver
patches awaiting acks).
- More doc work.
- edid/infoframe fixes from Ville.
- misc 1-patch fixes all over, as usual
Noralf needs this for his tinydrm pull request.
* tag 'drm-misc-next-2017-01-30' of git://anongit.freedesktop.org/git/drm-misc: (48 commits)
drm/vc4: Remove vc4_debugfs_cleanup()
dma/fence: Export enable-signaling tracepoint for emission by drivers
drm/tilcdc: Remove tilcdc_debugfs_cleanup()
drm/tegra: Remove tegra_debugfs_cleanup()
drm/sti: Remove drm_debugfs_remove_files() calls
drm/radeon: Remove drm_debugfs_remove_files() call
drm/omap: Remove omap_debugfs_cleanup()
drm/hdlcd: Remove hdlcd_debugfs_cleanup()
drm/etnaviv: Remove etnaviv_debugfs_cleanup()
drm/etnaviv: allow build with COMPILE_TEST
drm/amd/amdgpu: Remove drm_debugfs_remove_files() call
drm/prime: Clarify DMA-BUF/GEM Object lifetime
drm/ttm: Make sure BOs being swapped out are cacheable
drm/atomic: Remove drm_atomic_debugfs_cleanup()
drm: drm_minor_register(): Clean up debugfs on failure
drm: debugfs: Remove all files automatically on cleanup
drm/fourcc: add vivante tiled layout format modifiers
drm/edid: Set YQ bits in the AVI infoframe according to CEA-861-F
drm/edid: Set AVI infoframe Q even when QS=0
drm/edid: Introduce drm_hdmi_avi_infoframe_quant_range()
...
Diffstat (limited to 'include/uapi')
| -rw-r--r-- | include/uapi/drm/drm_fourcc.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/include/uapi/drm/drm_fourcc.h b/include/uapi/drm/drm_fourcc.h index 1596d53c9ccf..ef20abb8119b 100644 --- a/include/uapi/drm/drm_fourcc.h +++ b/include/uapi/drm/drm_fourcc.h | |||
| @@ -167,6 +167,7 @@ extern "C" { | |||
| 167 | #define DRM_FORMAT_MOD_VENDOR_NV 0x03 | 167 | #define DRM_FORMAT_MOD_VENDOR_NV 0x03 |
| 168 | #define DRM_FORMAT_MOD_VENDOR_SAMSUNG 0x04 | 168 | #define DRM_FORMAT_MOD_VENDOR_SAMSUNG 0x04 |
| 169 | #define DRM_FORMAT_MOD_VENDOR_QCOM 0x05 | 169 | #define DRM_FORMAT_MOD_VENDOR_QCOM 0x05 |
| 170 | #define DRM_FORMAT_MOD_VENDOR_VIVANTE 0x06 | ||
| 170 | /* add more to the end as needed */ | 171 | /* add more to the end as needed */ |
| 171 | 172 | ||
| 172 | #define fourcc_mod_code(vendor, val) \ | 173 | #define fourcc_mod_code(vendor, val) \ |
| @@ -251,6 +252,46 @@ extern "C" { | |||
| 251 | */ | 252 | */ |
| 252 | #define DRM_FORMAT_MOD_SAMSUNG_64_32_TILE fourcc_mod_code(SAMSUNG, 1) | 253 | #define DRM_FORMAT_MOD_SAMSUNG_64_32_TILE fourcc_mod_code(SAMSUNG, 1) |
| 253 | 254 | ||
| 255 | /* Vivante framebuffer modifiers */ | ||
| 256 | |||
| 257 | /* | ||
| 258 | * Vivante 4x4 tiling layout | ||
| 259 | * | ||
| 260 | * This is a simple tiled layout using tiles of 4x4 pixels in a row-major | ||
| 261 | * layout. | ||
| 262 | */ | ||
| 263 | #define DRM_FORMAT_MOD_VIVANTE_TILED fourcc_mod_code(VIVANTE, 1) | ||
| 264 | |||
| 265 | /* | ||
| 266 | * Vivante 64x64 super-tiling layout | ||
| 267 | * | ||
| 268 | * This is a tiled layout using 64x64 pixel super-tiles, where each super-tile | ||
| 269 | * contains 8x4 groups of 2x4 tiles of 4x4 pixels (like above) each, all in row- | ||
| 270 | * major layout. | ||
| 271 | * | ||
| 272 | * For more information: see | ||
| 273 | * https://github.com/etnaviv/etna_viv/blob/master/doc/hardware.md#texture-tiling | ||
| 274 | */ | ||
| 275 | #define DRM_FORMAT_MOD_VIVANTE_SUPER_TILED fourcc_mod_code(VIVANTE, 2) | ||
| 276 | |||
| 277 | /* | ||
| 278 | * Vivante 4x4 tiling layout for dual-pipe | ||
| 279 | * | ||
| 280 | * Same as the 4x4 tiling layout, except every second 4x4 pixel tile starts at a | ||
| 281 | * different base address. Offsets from the base addresses are therefore halved | ||
| 282 | * compared to the non-split tiled layout. | ||
| 283 | */ | ||
| 284 | #define DRM_FORMAT_MOD_VIVANTE_SPLIT_TILED fourcc_mod_code(VIVANTE, 3) | ||
| 285 | |||
| 286 | /* | ||
| 287 | * Vivante 64x64 super-tiling layout for dual-pipe | ||
| 288 | * | ||
| 289 | * Same as the 64x64 super-tiling layout, except every second 4x4 pixel tile | ||
| 290 | * starts at a different base address. Offsets from the base addresses are | ||
| 291 | * therefore halved compared to the non-split super-tiled layout. | ||
| 292 | */ | ||
| 293 | #define DRM_FORMAT_MOD_VIVANTE_SPLIT_SUPER_TILED fourcc_mod_code(VIVANTE, 4) | ||
| 294 | |||
| 254 | #if defined(__cplusplus) | 295 | #if defined(__cplusplus) |
| 255 | } | 296 | } |
| 256 | #endif | 297 | #endif |
