drm/i915: Document and reject invalid tiling modes
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 5 Aug 2016 09:14:22 +0000 (10:14 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 5 Aug 2016 09:54:42 +0000 (10:54 +0100)
commitdeeb1519b65a92ca06c8e8554a92df0fdb4d5dea
tree8a8a464b76cc6000dbfb79cdf5fe3b3e53e0c401
parent9ad3676148511d6af72be6f3638e361fd86e1f7b
drm/i915: Document and reject invalid tiling modes

Through the GTT interface to the fence registers, we can only handle
linear, X and Y tiling. The more esoteric tiling patterns are ignored.
Document that the tiling ABI only supports upto Y tiling, and reject any
attempts to set a tiling mode other than NONE, X or Y.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1470388464-28458-17-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_tiling.c
include/uapi/drm/i915_drm.h