Home
last modified time | relevance | path

Searched refs:DRM_FORMAT_MOD_LINEAR (Results 1 – 25 of 50) sorted by relevance

12

/external/minigbm/
Ddrv_priv.h114 #ifndef DRM_FORMAT_MOD_LINEAR
115 #define DRM_FORMAT_MOD_LINEAR DRM_FORMAT_MOD_NONE macro
118 #define LINEAR_METADATA (struct format_metadata) { 1, 0, DRM_FORMAT_MOD_LINEAR }
Di915.c38 I915_FORMAT_MOD_X_TILED, DRM_FORMAT_MOD_LINEAR };
41 DRM_FORMAT_MOD_LINEAR };
127 .modifier = DRM_FORMAT_MOD_LINEAR }; in i915_add_combinations()
393 modifier != I915_FORMAT_MOD_X_TILED && modifier != DRM_FORMAT_MOD_LINEAR) { in i915_bo_compute_metadata()
400 modifier = DRM_FORMAT_MOD_LINEAR; in i915_bo_compute_metadata()
416 modifier = DRM_FORMAT_MOD_LINEAR; in i915_bo_compute_metadata()
422 case DRM_FORMAT_MOD_LINEAR: in i915_bo_compute_metadata()
Dvc4.c52 case DRM_FORMAT_MOD_LINEAR: in vc4_bo_create_for_modifier()
99 DRM_FORMAT_MOD_LINEAR, in vc4_bo_create_with_modifiers()
Drockchip.c83 metadata.modifier = DRM_FORMAT_MOD_LINEAR; in rockchip_init()
137 if (!drv_has_modifier(modifiers, count, DRM_FORMAT_MOD_LINEAR)) { in rockchip_bo_create_with_modifiers()
177 uint64_t modifiers[] = { DRM_FORMAT_MOD_LINEAR }; in rockchip_bo_create()
Dmediatek.c65 metadata.modifier = DRM_FORMAT_MOD_LINEAR; in mediatek_init()
111 if (!drv_has_modifier(modifiers, count, DRM_FORMAT_MOD_LINEAR)) { in mediatek_bo_create_with_modifiers()
165 uint64_t modifiers[] = { DRM_FORMAT_MOD_LINEAR }; in mediatek_bo_create()
Dmsm.c317 DRM_FORMAT_MOD_LINEAR, in msm_bo_create_with_modifiers()
324 modifier = DRM_FORMAT_MOD_LINEAR; in msm_bo_create_with_modifiers()
Damdgpu.c347 metadata.modifier = DRM_FORMAT_MOD_LINEAR; in amdgpu_init()
490 bo->meta.format_modifier = DRM_FORMAT_MOD_LINEAR; in amdgpu_create_bo_linear()
540 if (modifiers[i] != DRM_FORMAT_MOD_LINEAR) in amdgpu_create_bo_with_modifiers()
551 bool dri_tiling = data->format_modifier != DRM_FORMAT_MOD_LINEAR; in amdgpu_import_bo()
Dhelpers.c193 modifier != DRM_FORMAT_MOD_LINEAR) in drv_num_planes_from_modifier()
628 return DRM_FORMAT_MOD_LINEAR; in drv_pick_modifier()
/external/mesa3d/src/panfrost/lib/
Dpan_texture.c57 DRM_FORMAT_MOD_LINEAR
69 else if (modifier == DRM_FORMAT_MOD_LINEAR) in panfrost_modifier_to_layout()
191 unsigned manual_stride = (modifier == DRM_FORMAT_MOD_LINEAR); in panfrost_estimate_texture_payload_size()
294 … payload[idx++] = (modifier == DRM_FORMAT_MOD_LINEAR) ? in panfrost_emit_texture_payload()
337 bool is_linear = modifier == DRM_FORMAT_MOD_LINEAR; in panfrost_emit_texture_payload_v7()
388 bool manual_stride = (modifier == DRM_FORMAT_MOD_LINEAR) in panfrost_new_texture()
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_resource.c202 case DRM_FORMAT_MOD_LINEAR: in fd6_layout_resource_for_modifier()
211 DRM_FORMAT_MOD_LINEAR,
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_resource.c53 case DRM_FORMAT_MOD_LINEAR: in modifier_to_layout()
71 return DRM_FORMAT_MOD_LINEAR; in layout_to_modifier()
364 return etna_resource_alloc(pscreen, layout, DRM_FORMAT_MOD_LINEAR, templat); in etna_resource_create()
378 [MODIFIER_PRIORITY_LINEAR] = DRM_FORMAT_MOD_LINEAR,
414 case DRM_FORMAT_MOD_LINEAR: in select_best_modifier()
Detnaviv_surface.c70 DRM_FORMAT_MOD_LINEAR, &templat); in etna_render_handle_incompatible()
/external/mesa3d/src/gallium/drivers/panfrost/
Dpan_resource.c81 DRM_FORMAT_MOD_LINEAR : whandle->modifier; in panfrost_resource_from_handle()
313 bool linear = pres->modifier == DRM_FORMAT_MOD_LINEAR; in panfrost_setup_slices()
527 return DRM_FORMAT_MOD_LINEAR; in panfrost_best_modifier()
541 pres->modifier_constant = !((pres->modifier != DRM_FORMAT_MOD_LINEAR) in panfrost_resource_setup()
800 if ((usage & PIPE_MAP_DIRECTLY) && rsrc->modifier != DRM_FORMAT_MOD_LINEAR) in panfrost_ptr_map()
936 assert (rsrc->modifier == DRM_FORMAT_MOD_LINEAR); in panfrost_ptr_map()
1018 panfrost_resource_setup(dev, prsrc, NULL, DRM_FORMAT_MOD_LINEAR); in panfrost_ptr_unmap()
1042 prsrc->modifier = DRM_FORMAT_MOD_LINEAR; in panfrost_ptr_unmap()
Dpan_mfbd.c154 if (rsrc->modifier == DRM_FORMAT_MOD_LINEAR) { in panfrost_mfbd_rt_set_buf()
305 rsrc->modifier == DRM_FORMAT_MOD_LINEAR); in panfrost_mfbd_zs_crc_ext_set_bufs()
316 if (rsrc->modifier == DRM_FORMAT_MOD_LINEAR) { in panfrost_mfbd_zs_crc_ext_set_bufs()
356 if (rsrc->modifier != DRM_FORMAT_MOD_LINEAR) in panfrost_mfbd_zs_crc_ext_set_bufs()
Dpan_sfbd.c97 if (rsrc->modifier == DRM_FORMAT_MOD_LINEAR) in panfrost_sfbd_set_cbuf()
/external/mesa3d/src/freedreno/vulkan/
Dtu_image.c518 modifier = DRM_FORMAT_MOD_LINEAR; in tu_CreateImage()
525 assert(modifier == DRM_FORMAT_MOD_LINEAR || in tu_CreateImage()
533 modifier = DRM_FORMAT_MOD_LINEAR; in tu_CreateImage()
561 if (pCreateInfo->tiling == VK_IMAGE_TILING_LINEAR || modifier == DRM_FORMAT_MOD_LINEAR) { in tu_CreateImage()
770 pProperties->drmFormatModifier = DRM_FORMAT_MOD_LINEAR; in tu_GetImageDrmFormatModifierPropertiesEXT()
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_resource.c723 box, DRM_FORMAT_MOD_LINEAR)) { in fd_resource_transfer_map()
821 return DRM_FORMAT_MOD_LINEAR; in fd_resource_modifier()
923 bool linear = drm_find_modifier(DRM_FORMAT_MOD_LINEAR, modifiers, count); in fd_resource_allocate_and_resolve()
1243 DRM_FORMAT_MOD_LINEAR,
1250 case DRM_FORMAT_MOD_LINEAR: in fd_layout_resource_for_modifier()
1281 modifiers = DRM_FORMAT_MOD_LINEAR; in fd_resource_from_memobj()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_resource.c42 DRM_FORMAT_MOD_LINEAR, in nvc0_query_dmabuf_modifiers()
Dnvc0_miptree.c298 modifier = DRM_FORMAT_MOD_LINEAR; in nvc0_miptree_get_modifier()
403 if (count == 1 && modifiers[0] == DRM_FORMAT_MOD_LINEAR) in nvc0_miptree_create()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_resource.c308 whandle->modifier = DRM_FORMAT_MOD_LINEAR; in vc4_resource_get_handle()
490 bool linear_ok = drm_find_modifier(DRM_FORMAT_MOD_LINEAR, modifiers, count); in vc4_resource_create_with_modifiers()
553 modifier = DRM_FORMAT_MOD_LINEAR; in vc4_resource_create_with_modifiers()
634 whandle->modifier = DRM_FORMAT_MOD_LINEAR; in vc4_resource_from_handle()
645 case DRM_FORMAT_MOD_LINEAR: in vc4_resource_from_handle()
/external/igt-gpu-tools/lib/
Digt_vc4.c474 igt_assert(src->modifier == DRM_FORMAT_MOD_LINEAR); in vc4_fb_convert_plane_to_tiled()
491 igt_assert(dst->modifier == DRM_FORMAT_MOD_LINEAR); in vc4_fb_convert_plane_from_tiled()
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_image.c283 case DRM_FORMAT_MOD_LINEAR: in v3dv_CreateImage()
285 modifier = DRM_FORMAT_MOD_LINEAR; in v3dv_CreateImage()
296 modifier = DRM_FORMAT_MOD_LINEAR; in v3dv_CreateImage()
/external/mesa3d/src/gallium/drivers/lima/
Dlima_resource.c262 if (drm_find_modifier(DRM_FORMAT_MOD_LINEAR, modifiers, count)) in lima_resource_create_with_modifiers()
326 case DRM_FORMAT_MOD_LINEAR: in lima_resource_from_handle()
383 handle->modifier = DRM_FORMAT_MOD_LINEAR; in lima_resource_get_handle()
/external/igt-gpu-tools/include/drm-uapi/
Ddrm_fourcc.h345 #define DRM_FORMAT_MOD_LINEAR fourcc_mod_code(NONE, 0) macro
/external/mesa3d/include/drm-uapi/
Ddrm_fourcc.h393 #define DRM_FORMAT_MOD_LINEAR fourcc_mod_code(NONE, 0) macro

12