Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/i915/gem/
Di915_gem_tiling.c160 int tiling_mode, unsigned int stride) in i915_vma_fence_prepare() argument
168 size = i915_gem_fence_size(i915, vma->size, tiling_mode, stride); in i915_vma_fence_prepare()
172 alignment = i915_gem_fence_alignment(i915, vma->size, tiling_mode, stride); in i915_vma_fence_prepare()
182 int tiling_mode, unsigned int stride) in i915_gem_object_fence_prepare() argument
187 if (tiling_mode == I915_TILING_NONE) in i915_gem_object_fence_prepare()
191 if (i915_vma_fence_prepare(vma, tiling_mode, stride)) in i915_gem_object_fence_prepare()
333 if (!i915_tiling_ok(obj, args->tiling_mode, args->stride)) { in i915_gem_set_tiling_ioctl()
338 if (args->tiling_mode == I915_TILING_NONE) { in i915_gem_set_tiling_ioctl()
342 if (args->tiling_mode == I915_TILING_X) in i915_gem_set_tiling_ioctl()
361 args->tiling_mode = I915_TILING_NONE; in i915_gem_set_tiling_ioctl()
[all …]
/Linux-v5.4/drivers/gpu/drm/i915/gvt/
Ddmabuf.c169 unsigned int tiling_mode = 0; in vgpu_create_gem() local
174 tiling_mode = I915_TILING_NONE; in vgpu_create_gem()
177 tiling_mode = I915_TILING_X; in vgpu_create_gem()
182 tiling_mode = I915_TILING_Y; in vgpu_create_gem()
189 obj->tiling_and_stride = tiling_mode | stride; in vgpu_create_gem()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/calcs/
Ddce_calcs.c110 enum bw_defines tiling_mode[maximum_number_of_surfaces]; in calculate_bandwidth() local
261 tiling_mode[0] = bw_def_linear; in calculate_bandwidth()
262 tiling_mode[1] = bw_def_linear; in calculate_bandwidth()
263 tiling_mode[2] = bw_def_linear; in calculate_bandwidth()
264 tiling_mode[3] = bw_def_linear; in calculate_bandwidth()
267 tiling_mode[0] = bw_def_landscape; in calculate_bandwidth()
268 tiling_mode[1] = bw_def_landscape; in calculate_bandwidth()
269 tiling_mode[2] = bw_def_landscape; in calculate_bandwidth()
270 tiling_mode[3] = bw_def_landscape; in calculate_bandwidth()
326 tiling_mode[i] = bw_def_linear; in calculate_bandwidth()
[all …]
/Linux-v5.4/include/uapi/drm/
Di915_drm.h1297 __u32 tiling_mode; member
1320 __u32 tiling_mode; member
/Linux-v5.4/tools/include/uapi/drm/
Di915_drm.h1297 __u32 tiling_mode; member
1320 __u32 tiling_mode; member
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/
Ddc_types.h113 enum tiling_mode { enum