Name
i915_gem_set_tiling —
IOCTL handler to set tiling mode
Synopsis
int i915_gem_set_tiling ( | struct drm_device * dev, |
| void * data, |
| struct drm_file * file) ; |
Arguments
dev
DRM device
data
data pointer for the ioctl
file
DRM file for the ioctl call
Description
Sets the tiling mode of an object, returning the required swizzling of
bit 6 of addresses in the object.
Called by the user via ioctl.
Returns
Zero on success, negative errno on failure.