Home
last modified time | relevance | path

Searched refs:tiling_mode (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/i915/gem/
Di915_gem_tiling.c162 int tiling_mode, unsigned int stride) in i915_vma_fence_prepare() argument
170 size = i915_gem_fence_size(i915, vma->size, tiling_mode, stride); in i915_vma_fence_prepare()
174 alignment = i915_gem_fence_alignment(i915, vma->size, tiling_mode, stride); in i915_vma_fence_prepare()
184 int tiling_mode, unsigned int stride) in i915_gem_object_fence_prepare() argument
192 if (tiling_mode == I915_TILING_NONE) in i915_gem_object_fence_prepare()
201 if (i915_vma_fence_prepare(vma, tiling_mode, stride)) in i915_gem_object_fence_prepare()
366 if (!i915_tiling_ok(obj, args->tiling_mode, args->stride)) { in i915_gem_set_tiling_ioctl()
371 if (args->tiling_mode == I915_TILING_NONE) { in i915_gem_set_tiling_ioctl()
375 if (args->tiling_mode == I915_TILING_X) in i915_gem_set_tiling_ioctl()
394 args->tiling_mode = I915_TILING_NONE; in i915_gem_set_tiling_ioctl()
[all …]
/linux-6.1.9/drivers/gpu/drm/i915/gvt/
Ddmabuf.c213 unsigned int tiling_mode = 0; in vgpu_create_gem() local
218 tiling_mode = I915_TILING_NONE; in vgpu_create_gem()
221 tiling_mode = I915_TILING_X; in vgpu_create_gem()
226 tiling_mode = I915_TILING_Y; in vgpu_create_gem()
233 obj->tiling_and_stride = tiling_mode | stride; in vgpu_create_gem()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/calcs/
Ddce_calcs.c109 enum bw_defines *tiling_mode; in calculate_bandwidth() local
133 tiling_mode = kcalloc(maximum_number_of_surfaces, sizeof(*tiling_mode), GFP_KERNEL); in calculate_bandwidth()
134 if (!tiling_mode) in calculate_bandwidth()
276 tiling_mode[0] = bw_def_linear; in calculate_bandwidth()
277 tiling_mode[1] = bw_def_linear; in calculate_bandwidth()
278 tiling_mode[2] = bw_def_linear; in calculate_bandwidth()
279 tiling_mode[3] = bw_def_linear; in calculate_bandwidth()
282 tiling_mode[0] = bw_def_landscape; in calculate_bandwidth()
283 tiling_mode[1] = bw_def_landscape; in calculate_bandwidth()
284 tiling_mode[2] = bw_def_landscape; in calculate_bandwidth()
[all …]
/linux-6.1.9/tools/include/uapi/drm/
Di915_drm.h1695 __u32 tiling_mode; member
1718 __u32 tiling_mode; member
/linux-6.1.9/include/uapi/drm/
Di915_drm.h1695 __u32 tiling_mode; member
1718 __u32 tiling_mode; member
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/
Ddc_types.h93 enum tiling_mode { enum