XenevaOS
Loading...
Searching...
No Matches
Public Attributes | List of all members
drm_i915_gem_set_tiling Struct Reference

#include <i915_drm.h>

Public Attributes

__u32 handle
 
__u32 tiling_mode
 
__u32 stride
 
__u32 swizzle_mode
 

Member Data Documentation

◆ handle

__u32 drm_i915_gem_set_tiling::handle

Handle of the buffer to have its tiling state updated

◆ stride

__u32 drm_i915_gem_set_tiling::stride

Stride in bytes for the object when in I915_TILING_X or I915_TILING_Y.

◆ swizzle_mode

__u32 drm_i915_gem_set_tiling::swizzle_mode

Returned address bit 6 swizzling required for CPU access through mmap mapping.

◆ tiling_mode

__u32 drm_i915_gem_set_tiling::tiling_mode

Tiling mode for the object (I915_TILING_NONE, I915_TILING_X, I915_TILING_Y).

This value is to be set on request, and will be updated by the kernel on successful return with the actual chosen tiling layout.

The tiling mode may be demoted to I915_TILING_NONE when the system has bit 6 swizzling that can't be managed correctly by GEM.

Buffer contents become undefined when changing tiling_mode.


The documentation for this struct was generated from the following file: