Name

i915_gem_get_tiling — 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.