i915_gem_set_tiling(9) 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.

AUTHORS

Jesse Barnes <[email protected]>
Intel Corporation,         
        

Initial version

Laurent Pinchart <[email protected]>
Ideas on board SPRL,         
        

Driver internals

Daniel Vetter <[email protected]>
Intel Corporation,         
        

Contributions all over the place

Lukas Wunner <[email protected]>

vga_switcheroo documentation

COPYRIGHT