/external/minigbm/ |
D | drv_priv.h | 114 #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 }
|
D | i915.c | 38 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()
|
D | vc4.c | 52 case DRM_FORMAT_MOD_LINEAR: in vc4_bo_create_for_modifier() 99 DRM_FORMAT_MOD_LINEAR, in vc4_bo_create_with_modifiers()
|
D | rockchip.c | 83 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()
|
D | mediatek.c | 65 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()
|
D | msm.c | 317 DRM_FORMAT_MOD_LINEAR, in msm_bo_create_with_modifiers() 324 modifier = DRM_FORMAT_MOD_LINEAR; in msm_bo_create_with_modifiers()
|
D | amdgpu.c | 347 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()
|
D | helpers.c | 193 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/ |
D | pan_texture.c | 57 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/ |
D | fd6_resource.c | 202 case DRM_FORMAT_MOD_LINEAR: in fd6_layout_resource_for_modifier() 211 DRM_FORMAT_MOD_LINEAR,
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_resource.c | 53 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()
|
D | etnaviv_surface.c | 70 DRM_FORMAT_MOD_LINEAR, &templat); in etna_render_handle_incompatible()
|
/external/mesa3d/src/gallium/drivers/panfrost/ |
D | pan_resource.c | 81 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()
|
D | pan_mfbd.c | 154 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()
|
D | pan_sfbd.c | 97 if (rsrc->modifier == DRM_FORMAT_MOD_LINEAR) in panfrost_sfbd_set_cbuf()
|
/external/mesa3d/src/freedreno/vulkan/ |
D | tu_image.c | 518 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/ |
D | freedreno_resource.c | 723 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/ |
D | nvc0_resource.c | 42 DRM_FORMAT_MOD_LINEAR, in nvc0_query_dmabuf_modifiers()
|
D | nvc0_miptree.c | 298 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/ |
D | vc4_resource.c | 308 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/ |
D | igt_vc4.c | 474 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/ |
D | v3dv_image.c | 283 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/ |
D | lima_resource.c | 262 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/ |
D | drm_fourcc.h | 345 #define DRM_FORMAT_MOD_LINEAR fourcc_mod_code(NONE, 0) macro
|
/external/mesa3d/include/drm-uapi/ |
D | drm_fourcc.h | 393 #define DRM_FORMAT_MOD_LINEAR fourcc_mod_code(NONE, 0) macro
|