Home
last modified time | relevance | path

Searched refs:get_tiling (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/intel/vulkan/
Danv_gem.c199 struct drm_i915_gem_get_tiling get_tiling = { in anv_gem_get_tiling() local
203 if (anv_ioctl(device->fd, DRM_IOCTL_I915_GEM_GET_TILING, &get_tiling)) { in anv_gem_get_tiling()
208 return get_tiling.tiling_mode; in anv_gem_get_tiling()
285 struct drm_i915_gem_get_tiling get_tiling = { in anv_gem_get_bit6_swizzle() local
289 if (anv_ioctl(fd, DRM_IOCTL_I915_GEM_GET_TILING, &get_tiling)) { in anv_gem_get_bit6_swizzle()
294 swizzled = get_tiling.swizzle_mode != I915_BIT_6_SWIZZLE_NONE; in anv_gem_get_bit6_swizzle()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_bufmgr.c544 struct drm_i915_gem_get_tiling get_tiling = { .handle = bo->gem_handle }; in brw_bo_gem_create_from_name() local
545 ret = drmIoctl(bufmgr->fd, DRM_IOCTL_I915_GEM_GET_TILING, &get_tiling); in brw_bo_gem_create_from_name()
549 bo->tiling_mode = get_tiling.tiling_mode; in brw_bo_gem_create_from_name()
550 bo->swizzle_mode = get_tiling.swizzle_mode; in brw_bo_gem_create_from_name()
1162 struct drm_i915_gem_get_tiling get_tiling = { .handle = bo->gem_handle }; in brw_bo_gem_create_from_prime_internal() local
1163 if (drmIoctl(bufmgr->fd, DRM_IOCTL_I915_GEM_GET_TILING, &get_tiling)) in brw_bo_gem_create_from_prime_internal()
1166 bo->tiling_mode = get_tiling.tiling_mode; in brw_bo_gem_create_from_prime_internal()
1167 bo->swizzle_mode = get_tiling.swizzle_mode; in brw_bo_gem_create_from_prime_internal()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_resource.c736 struct drm_vc4_get_tiling get_tiling = { in vc4_resource_from_handle() local
739 int ret = vc4_ioctl(screen->fd, DRM_IOCTL_VC4_GET_TILING, &get_tiling); in vc4_resource_from_handle()
744 whandle->modifier = get_tiling.modifier; in vc4_resource_from_handle()
745 } else if (whandle->modifier != get_tiling.modifier) { in vc4_resource_from_handle()
748 (long long)whandle->modifier, get_tiling.modifier); in vc4_resource_from_handle()
1207 struct drm_vc4_get_tiling get_tiling = { in vc4_resource_screen_init() local
1210 int ret = vc4_ioctl(screen->fd, DRM_IOCTL_VC4_GET_TILING, &get_tiling); in vc4_resource_screen_init()
/external/libdrm/intel/
Dintel_bufmgr_gem.c1087 struct drm_i915_gem_get_tiling get_tiling; in drm_intel_bo_gem_create_from_name() local
1149 memclear(get_tiling); in drm_intel_bo_gem_create_from_name()
1150 get_tiling.handle = bo_gem->gem_handle; in drm_intel_bo_gem_create_from_name()
1153 &get_tiling); in drm_intel_bo_gem_create_from_name()
1157 bo_gem->tiling_mode = get_tiling.tiling_mode; in drm_intel_bo_gem_create_from_name()
1158 bo_gem->swizzle_mode = get_tiling.swizzle_mode; in drm_intel_bo_gem_create_from_name()
2637 struct drm_i915_gem_get_tiling get_tiling; in drm_intel_bo_gem_create_from_prime() local
2691 memclear(get_tiling); in drm_intel_bo_gem_create_from_prime()
2692 get_tiling.handle = bo_gem->gem_handle; in drm_intel_bo_gem_create_from_prime()
2695 &get_tiling)) in drm_intel_bo_gem_create_from_prime()
[all …]