i915_gem_get_tiling(9) IOCTL handler to get tiling mode

SYNOPSIS

int i915_gem_get_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

Returns the current tiling mode and required bit 6 swizzling for 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