|
XenevaOS
|
#include <i915_drm.h>
Public Attributes | |
| __u32 | handle |
| __u32 | tiling_mode |
| __u32 | stride |
| __u32 | swizzle_mode |
| __u32 drm_i915_gem_set_tiling::handle |
Handle of the buffer to have its tiling state updated
| __u32 drm_i915_gem_set_tiling::stride |
Stride in bytes for the object when in I915_TILING_X or I915_TILING_Y.
| __u32 drm_i915_gem_set_tiling::swizzle_mode |
Returned address bit 6 swizzling required for CPU access through mmap mapping.
| __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.