drm-misc-next for 4.19: UAPI Changes: v3d: add fourcc modicfier for fourcc for the Broadcom UIF format (Eric Anholt) Cross-subsystem Changes: console/fbcon: Add support for deferred console takeover (Hans de Goede) Core Changes: dma-fence clean up, improvements and docs (Daniel Vetter) add mask function for crtc, plane, encoder and connector DRM objects(Ville Syrjälä) Driver Changes: pl111: add Nomadik LCDC variant (Linus Walleij)
Showing the changes to include/uapi (1 of 117 files). Show all
Unified · Split
| @@ -464,6 +464,27 @@ extern "C" { · 463 unmodified lines | |||
| 464 | #define DRM_FORMAT_MOD_BROADCOM_SAND256 \ | 464 | #define DRM_FORMAT_MOD_BROADCOM_SAND256 \ |
| 465 | DRM_FORMAT_MOD_BROADCOM_SAND256_COL_HEIGHT(0) | 465 | DRM_FORMAT_MOD_BROADCOM_SAND256_COL_HEIGHT(0) |
| 466 | 466 | ||
| 467 | /* Broadcom UIF format | ||
| 468 | * | ||
| 469 | * This is the common format for the current Broadcom multimedia | ||
| 470 | * blocks, including V3D 3.x and newer, newer video codecs, and | ||
| 471 | * displays. | ||
| 472 | * | ||
| 473 | * The image consists of utiles (64b blocks), UIF blocks (2x2 utiles), | ||
| 474 | * and macroblocks (4x4 UIF blocks). Those 4x4 UIF block groups are | ||
| 475 | * stored in columns, with padding between the columns to ensure that | ||
| 476 | * moving from one column to the next doesn't hit the same SDRAM page | ||
| 477 | * bank. | ||
| 478 | * | ||
| 479 | * To calculate the padding, it is assumed that each hardware block | ||
| 480 | * and the software driving it knows the platform's SDRAM page size, | ||
| 481 | * number of banks, and XOR address, and that it's identical between | ||
| 482 | * all blocks using the format. This tiling modifier will use XOR as | ||
| 483 | * necessary to reduce the padding. If a hardware block can't do XOR, | ||
| 484 | * the assumption is that a no-XOR tiling modifier will be created. | ||
| 485 | */ | ||
| 486 | #define DRM_FORMAT_MOD_BROADCOM_UIF fourcc_mod_code(BROADCOM, 6) | ||
| 487 | |||
| 467 | #if defined(__cplusplus) | 488 | #if defined(__cplusplus) |
| 468 | } | 489 | } |
| 469 | #endif | 490 | #endif |