History

Merge tag 'drm-misc-next-2018-07-04' of git://anongit.freedesktop.org/drm/drm-misc into drm-next

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)

Dave Airlie committed 8 years ago

Commit a1c3b492 parents c5be9b5 968d72e117 files · +727 −381Browse files

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

Unified · Split

include/uapi/drm/drm_fourcc.h+21−0
@@ -464,6 +464,27 @@ extern "C" { · 463 unmodified lines
464464 #define DRM_FORMAT_MOD_BROADCOM_SAND256 \
465465 DRM_FORMAT_MOD_BROADCOM_SAND256_COL_HEIGHT(0)
466466
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+
467488 #if defined(__cplusplus)
468489 }
469490 #endif

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