Lines Matching refs:modifier
45 * unique fourcc:modifier pair. This format:modifier pair must fully define the
49 * Having multiple fourcc:modifier pairs which describe the same layout should
57 * modifier is specific to the modifier being used. For example, some modifiers
62 * match only a single modifier. A modifier must not be a subset of layouts of
63 * another modifier. For instance, it's incorrect to encode pitch alignment in
64 * a modifier: a buffer may match a 64-pixel aligned modifier and a 32-pixel
65 * aligned modifier. That said, modifiers can have implicit minimal
68 * For modifiers where the combination of fourcc code and modifier can alias,
74 * There are two kinds of modifier users:
82 * These users mustn't need to know to reason about the modifier value
83 * (i.e. they are not expected to extract information out of the modifier).
85 * Vendors should document their modifier usage in as much detail as
89 * The authoritative list of format modifier codes is found in
266 #define DRM_FORMAT_VUY101010 fourcc_code('V', 'U', '3', '0') /* Y followed by U then V, 10:10:10. Non-linear modifier only */
306 * These formats can only be used with a non-Linear modifier.
462 * The upper 8 bits of the format modifier are a vendor-id as assigned
485 #define fourcc_mod_get_vendor(modifier) \
486 (((modifier) >> 56) & 0xff)
488 #define fourcc_mod_is_vendor(modifier, vendor) \
489 (fourcc_mod_get_vendor(modifier) == DRM_FORMAT_MOD_VENDOR_## vendor)
501 * Generic modifier names:
514 * vendor-specific modifier, a new 'GENERIC' vendor or modifier using vendor
522 * modifier(s), reflecting the vendor of the standard.
530 * This modifier can be used as a sentinel to terminate the format modifiers
531 * list, or to initialize a variable with an invalid modifier. It might also be
540 * modifier (e.g. not setting DRM_MODE_FB_MODIFIERS in the DRM_ADDFB2 ioctl),
549 * The "none" format modifier doesn't actually mean that the modifier is
713 * for the I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS_CC modifier, see its description
892 * We reserve the top 8 bits of the Vivante modifier space for tile status
903 * Vivante compression modifiers. Those depend on a TS modifier being present
910 /* Masking out the extension bits will yield the base modifier. */
967 * implied by the format modifier, format, or memory buffer, page
968 * kind would not need to be included in the modifier itself, but
969 * since the modifier should define the layout of the associated
1021 drm_fourcc_canonicalize_nvidia_format_mod(__u64 modifier)
1023 if (!(modifier & 0x10) || (modifier & (0xff << 12)))
1024 return modifier;
1026 return modifier | (0xfe << 12);
1068 * vertical lines in the image. Reserve the lower 32 bits for modifier
1117 * of column width in the modifier (we can't use the stride value due
1121 * Note that the column height for this format modifier is the same
1127 * The DRM_FORMAT_MOD_BROADCOM_SAND128_COL_HEIGHT modifier is also
1165 * all blocks using the format. This tiling modifier will use XOR as
1167 * the assumption is that a no-XOR tiling modifier will be created.
1179 * represented using bits in the modifier. Not all combinations are valid,
1371 * AFRC coding unit size modifier.
1409 * Arm 16x16 Block U-Interleaved modifier
1419 * Allwinner tiled modifier
1473 * This layout is transferrable between Amlogic SoCs supporting this modifier.
1486 * Amlogic SoCs supporting this modifier.
1525 * The lowest 8 bits of the modifier is used to specify the tiling