| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_fb.c | 217 u64 modifier; member 250 .modifier = I915_FORMAT_MOD_4_TILED_LNL_CCS, 254 .modifier = I915_FORMAT_MOD_4_TILED_BMG_CCS, 258 .modifier = I915_FORMAT_MOD_4_TILED_MTL_MC_CCS, 267 .modifier = I915_FORMAT_MOD_4_TILED_MTL_RC_CCS, 275 .modifier = I915_FORMAT_MOD_4_TILED_MTL_RC_CCS_CC, 284 .modifier = I915_FORMAT_MOD_4_TILED_DG2_MC_CCS, 288 .modifier = I915_FORMAT_MOD_4_TILED_DG2_RC_CCS_CC, 296 .modifier = I915_FORMAT_MOD_4_TILED_DG2_RC_CCS, 300 .modifier = I915_FORMAT_MOD_4_TILED, [all …]
|
| H A D | skl_universal_plane.c | 335 switch (fb->modifier) { in skl_plane_max_width() 362 MISSING_CASE(fb->modifier); in skl_plane_max_width() 373 switch (fb->modifier) { in glk_plane_max_width() 390 MISSING_CASE(fb->modifier); in glk_plane_max_width() 414 if (intel_format_info_is_yuv_semiplanar(fb->format, fb->modifier)) in xe3_plane_max_width() 424 if (intel_format_info_is_yuv_semiplanar(fb->format, fb->modifier)) in icl_hdr_plane_max_width() 471 u64 modifier, unsigned int rotation, in plane_max_stride() argument 486 u64 modifier, unsigned int rotation) in adl_plane_max_stride() argument 492 modifier, rotation, in adl_plane_max_stride() 499 u64 modifier, unsigned int rotation) in skl_plane_max_stride() argument [all …]
|
| /linux/Documentation/userspace-api/ |
| H A D | dma-buf-alloc-exchange.rst | 27 format and modifier (implicit or explicit). 57 planes or memory buffers depending on format and modifier. 72 modifier: 122 modifier is ``DRM_FORMAT_MOD_LINEAR``, describing a scheme in which each plane 129 ``DRM_FORMAT_MOD_VIVANTE_TILED`` modifier describes memory storage where pixels 135 example, the ``I915_FORMAT_MOD_Y_TILED_CCS`` modifier adds a second plane to RGB 196 format+modifier combinations. 202 It is the responsibility of userspace to negotiate an acceptable format+modifier 225 The resulting modifier list is unsorted; the order is not significant. 243 it considers the 'best' modifier within the acceptable list for the requested [all …]
|
| /linux/drivers/gpu/drm/meson/ |
| H A D | meson_osd_afbcd.c | 58 static int meson_gxm_afbcd_pixel_fmt(u64 modifier, uint32_t format) in meson_gxm_afbcd_pixel_fmt() argument 71 static bool meson_gxm_afbcd_supported_fmt(u64 modifier, uint32_t format) in meson_gxm_afbcd_supported_fmt() argument 73 if (modifier & AFBC_FORMAT_MOD_BLOCK_SIZE_32x8) in meson_gxm_afbcd_supported_fmt() 76 if (!(modifier & AFBC_FORMAT_MOD_YTR)) in meson_gxm_afbcd_supported_fmt() 79 return meson_gxm_afbcd_pixel_fmt(modifier, format) >= 0; in meson_gxm_afbcd_supported_fmt() 124 meson_gxm_afbcd_pixel_fmt(priv->afbcd.modifier, in meson_gxm_afbcd_setup() 127 if (priv->afbcd.modifier & AFBC_FORMAT_MOD_SPARSE) in meson_gxm_afbcd_setup() 130 if (priv->afbcd.modifier & AFBC_FORMAT_MOD_SPLIT) in meson_gxm_afbcd_setup() 206 static int meson_g12a_afbcd_pixel_fmt(u64 modifier, uint32_t format) in meson_g12a_afbcd_pixel_fmt() argument 212 if (modifier & AFBC_FORMAT_MOD_YTR) in meson_g12a_afbcd_pixel_fmt() [all …]
|
| H A D | meson_osd_afbcd.h | 22 int (*fmt_to_blk_mode)(u64 modifier, uint32_t format); 23 bool (*supported_fmt)(u64 modifier, uint32_t format);
|
| /linux/tools/testing/selftests/ftrace/test.d/trigger/ |
| H A D | trigger-hist-mod.tc | 12 echo "Test histogram with execname modifier" 18 fail "execname modifier on sched_process_fork did not work" 22 echo "Test histogram with hex modifier" 29 fail "hex modifier on sched_process_fork did not work" 33 echo "Test histogram with syscall modifier" 38 fail "syscall modifier on raw_syscalls/sys_exit did not work" 43 echo "Test histogram with log2 modifier" 48 fail "log2 modifier on kmem/kmalloc did not work"
|
| H A D | trigger-hist.tc | 42 echo "Test histogram with sym modifier" 47 fail "sym modifier on kmalloc call_site did not work" 51 echo "Test histogram with sym-offset modifier" 56 fail "sym-offset modifier on kmalloc call_site did not work"
|
| /linux/drivers/gpu/ipu-v3/ |
| H A D | ipu-pre.c | 103 uint64_t modifier; member 173 if (pre->cur.modifier == DRM_FORMAT_MOD_LINEAR) in ipu_pre_update_safe_window() 180 ipu_pre_configure_modifier(struct ipu_pre *pre, uint64_t modifier) in ipu_pre_configure_modifier() argument 186 if (modifier != DRM_FORMAT_MOD_LINEAR) { in ipu_pre_configure_modifier() 189 if (modifier == DRM_FORMAT_MOD_VIVANTE_SUPER_TILED) in ipu_pre_configure_modifier() 196 if (modifier == DRM_FORMAT_MOD_LINEAR) in ipu_pre_configure_modifier() 201 pre->cur.modifier = modifier; in ipu_pre_configure_modifier() 206 uint64_t modifier, unsigned int bufaddr) in ipu_pre_configure() argument 251 ipu_pre_configure_modifier(pre, modifier); in ipu_pre_configure() 258 void ipu_pre_update(struct ipu_pre *pre, uint64_t modifier, unsigned int bufaddr) in ipu_pre_update() argument [all …]
|
| /linux/tools/perf/util/ |
| H A D | metricgroup.c | 133 /** Modifier on the metric such as "u" or NULL for none. */ 134 const char *modifier; member 216 zfree(&m->modifier); in metric__free() 222 const char *modifier, in metric__new() argument 242 m->modifier = NULL; in metric__new() 243 if (modifier) { in metric__new() 244 m->modifier = strdup(modifier); in metric__new() 245 if (!m->modifier) in metric__new() 500 static int decode_all_metric_ids(struct evlist *perf_evlist, const char *modifier) in decode_all_metric_ids() argument 538 if (modifier) { in decode_all_metric_ids() [all …]
|
| H A D | intel-tpebs.c | 359 char *name, *modifier; in evsel__tpebs_event() local 366 modifier = strrchr(name, 'R'); in evsel__tpebs_event() 367 if (!modifier) { in evsel__tpebs_event() 371 *modifier = 'p'; in evsel__tpebs_event() 372 modifier = strchr(name, ':'); in evsel__tpebs_event() 373 if (!modifier) in evsel__tpebs_event() 374 modifier = strrchr(name, '/'); in evsel__tpebs_event() 375 if (!modifier) { in evsel__tpebs_event() 379 *modifier = '\0'; in evsel__tpebs_event() 380 if (asprintf(event, "%s/name=tpebs_event_%p/%s", name, evsel, modifier + 1) > 0) in evsel__tpebs_event() [all …]
|
| /linux/drivers/gpu/drm/tests/ |
| H A D | drm_framebuffer_test.c | 94 * All entries in members that represents per-plane values (@modifier, @handles, 116 { .buffer_created = 1, .name = "ABGR8888 Valid buffer modifier", 120 .modifier = { AFBC_FORMAT_MOD_YTR, 0, 0 }, 124 .name = "ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE)", 128 .modifier = { DRM_FORMAT_MOD_SAMSUNG_64_32_TILE, 0, 0 }, 158 { .buffer_created = 0, .name = "NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag", 160 .handles = { 1, 1, 0 }, .modifier = { DRM_FORMAT_MOD_SAMSUNG_64_32_TILE, 0, 0 }, 164 { .buffer_created = 0, .name = "NV12 different modifier per-plane", 167 .modifier = { DRM_FORMAT_MOD_SAMSUNG_64_32_TILE, 0, 0 }, 174 .modifier = { DRM_FORMAT_MOD_SAMSUNG_64_32_TILE, [all …]
|
| /linux/drivers/gpu/drm/arm/display/komeda/ |
| H A D | komeda_format_caps.c | 14 u32 fourcc, u64 modifier) in komeda_get_format_caps() argument 17 u64 afbc_features = modifier & ~(AFBC_FORMAT_MOD_BLOCK_SIZE_MASK); in komeda_get_format_caps() 18 u32 afbc_layout = modifier & AFBC_FORMAT_MOD_BLOCK_SIZE_MASK; in komeda_get_format_caps() 27 if ((modifier == 0ULL) && (caps->supported_afbc_layouts == 0)) in komeda_get_format_caps() 38 u32 komeda_get_afbc_format_bpp(const struct drm_format_info *info, u64 modifier) in komeda_get_afbc_format_bpp() argument 96 u32 layer_type, u32 fourcc, u64 modifier, in komeda_format_mod_supported() argument 101 caps = komeda_get_format_caps(table, fourcc, modifier); in komeda_format_mod_supported() 109 return table->format_mod_supported(caps, layer_type, modifier, in komeda_format_mod_supported()
|
| H A D | komeda_format_caps.h | 49 * fourcc+modifier 80 u32 layer_type, u64 modifier, u32 rot); 87 u32 fourcc, u64 modifier); 90 u64 modifier); 98 u32 layer_type, u32 fourcc, u64 modifier,
|
| /linux/include/uapi/drm/ |
| H A D | drm_fourcc.h | 38 * fourcc code, a Format Modifier may optionally be provided, in order to 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: [all …]
|
| H A D | exynos_drm.h | 161 __u64 modifier; member 233 * @modifier: image format modifier (see DRM_FORMAT_MOD_* in drm_fourcc.h) 242 __u64 modifier; member 277 __u64 modifier; member
|
| /linux/drivers/gpu/drm/mediatek/ |
| H A D | mtk_plane.c | 47 state->pending.modifier = DRM_FORMAT_MOD_LINEAR; in mtk_plane_reset() 70 uint64_t modifier) in mtk_plane_format_mod_supported() argument 72 return modifier == DRM_FORMAT_MOD_LINEAR; in mtk_plane_format_mod_supported() 120 u64 modifier; in mtk_plane_update_new_state() local 131 modifier = fb->modifier; in mtk_plane_update_new_state() 133 if (modifier == DRM_FORMAT_MOD_LINEAR) { in mtk_plane_update_new_state() 184 mtk_plane_state->pending.modifier = modifier; in mtk_plane_update_new_state()
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm_plane.c | 96 const struct drm_format_info *amdgpu_dm_plane_get_format_info(u32 pixel_format, u64 modifier) in amdgpu_dm_plane_get_format_info() argument 98 return amdgpu_lookup_format_info(pixel_format, modifier); in amdgpu_dm_plane_get_format_info() 168 static bool amdgpu_dm_plane_modifier_has_dcc(uint64_t modifier) in amdgpu_dm_plane_modifier_has_dcc() argument 170 return IS_AMD_FMT_MOD(modifier) && AMD_FMT_MOD_GET(DCC, modifier); in amdgpu_dm_plane_modifier_has_dcc() 173 static unsigned int amdgpu_dm_plane_modifier_gfx9_swizzle_mode(uint64_t modifier) in amdgpu_dm_plane_modifier_gfx9_swizzle_mode() argument 175 if (modifier == DRM_FORMAT_MOD_LINEAR) in amdgpu_dm_plane_modifier_gfx9_swizzle_mode() 178 return AMD_FMT_MOD_GET(TILE, modifier); in amdgpu_dm_plane_modifier_gfx9_swizzle_mode() 237 uint64_t modifier) in amdgpu_dm_plane_fill_gfx9_tiling_info_from_modifier() argument 239 unsigned int mod_bank_xor_bits = AMD_FMT_MOD_GET(BANK_XOR_BITS, modifier); in amdgpu_dm_plane_fill_gfx9_tiling_info_from_modifier() 240 unsigned int mod_pipe_xor_bits = AMD_FMT_MOD_GET(PIPE_XOR_BITS, modifier); in amdgpu_dm_plane_fill_gfx9_tiling_info_from_modifier() [all …]
|
| /linux/drivers/hid/ |
| H A D | hid-primax.c | 25 * Convert in-band modifier key values into out of band in px_raw_event() 26 * modifier bits and pull the key strokes from the report. in px_raw_event() 30 * (no modifier bits + "Left Shift" key + "1" key) in px_raw_event() 35 * (Left Shift modifier bit + "1" key) in px_raw_event()
|
| /linux/include/soc/fsl/ |
| H A D | caam-blob.h | 48 * @key_mod: key modifier 83 * key modifier buffers. 96 * output blob and key modifier buffers. 114 * input blob and key modifier buffers.
|
| /linux/drivers/platform/x86/dell/dell-wmi-sysman/ |
| H A D | enum-attributes.c | 81 static struct kobj_attribute modifier = variable 105 &modifier.attr, 160 if (check_property_type(enumeration, MODIFIER, ACPI_TYPE_STRING)) in populate_enum_data() 163 enumeration_obj[MODIFIER].string.pointer); in populate_enum_data() 165 next_obj = MODIFIER + 1; in populate_enum_data()
|
| /linux/include/drm/ |
| H A D | drm_plane.h | 546 * format/modifier combination is valid for the plane. This allows the 548 * which modifier), and to validate modifiers at atomic_check time. 550 * If not present, then any modifier in the plane's modifier 555 * True if the given modifier is valid for that format on the plane. 559 uint64_t modifier); 564 * asynchronous flip the given format/modifier combination is valid for 566 * bitmask (which formats apply to which modifier), and to validate 571 * True if the given modifier is valid for that format on the plane. 575 u32 format, u64 modifier); 869 * Drivers that only support the DRM_FORMAT_MOD_LINEAR modifier support may set [all …]
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_plane.c | 133 * Blob property which contains the set of buffer format and modifier 139 * capability for general modifier support. If this flag is set then every 146 * Blob property which contains the set of buffer format and modifier 150 * atomic ioctl when the modifier/format is not supported by that plane under 202 u64 modifier)) in create_in_format_blob() argument 253 mod->modifier = plane->modifiers[i]; in create_in_format_blob() 526 * Drivers that only support the DRM_FORMAT_MOD_LINEAR modifier support may set 527 * @format_modifiers to NULL. The plane will advertise the linear modifier. 908 * drm_plane_has_format - Check whether the plane supports this format and modifier combination 911 * @modifier: data layout modifier [all …]
|
| /linux/arch/x86/kvm/ |
| H A D | x86.h | 116 unsigned int base, unsigned int modifier, unsigned int max) in __grow_ple_window() argument 120 if (modifier < 1) in __grow_ple_window() 123 if (modifier < base) in __grow_ple_window() 124 ret *= modifier; in __grow_ple_window() 126 ret += modifier; in __grow_ple_window() 132 unsigned int base, unsigned int modifier, unsigned int min) in __shrink_ple_window() argument 134 if (modifier < 1) in __shrink_ple_window() 137 if (modifier < base) in __shrink_ple_window() 138 val /= modifier; in __shrink_ple_window() 140 val -= modifier; in __shrink_ple_window()
|
| /linux/rust/macros/ |
| H A D | paste.rs | 30 panic!("expected identifier as modifier"); in concat_helper() 33 let (mut value, sp) = segments.pop().expect("expected identifier before modifier"); in concat_helper() 39 "span modifier should only appear at most once" in concat_helper() 45 v => panic!("unknown modifier `{v}`"), in concat_helper()
|
| /linux/drivers/gpu/drm/sun4i/ |
| H A D | sun4i_layer.c | 115 uint32_t format, uint64_t modifier) in sun4i_layer_format_mod_supported() argument 120 return sun4i_backend_format_is_supported(format, modifier); in sun4i_layer_format_mod_supported() 122 return sun4i_backend_format_is_supported(format, modifier) || in sun4i_layer_format_mod_supported() 123 sun4i_frontend_format_is_supported(format, modifier); in sun4i_layer_format_mod_supported()
|