Revert "drm/i915: Declare the swizzling unknown for L-shaped configurations"
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 14 Jul 2015 10:29:27 +0000 (12:29 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 14 Jul 2015 10:29:27 +0000 (12:29 +0200)
commitd82c0ba6e306f079407f07003e53c262d683397b
tree8642340acdb41a7877bff68edc32fe57ae1ec290
parentac7e7ab1c3243b10b41653cc8d8536088d83b152
Revert "drm/i915: Declare the swizzling unknown for L-shaped configurations"

This reverts commit 19ee835cdb0b5a8eb11a68f25a51b8039d564488.

It breaks existing old userspace which doesn't handle UNKNOWN
swizzling correct. Yes UNKNOWN was a thing back in 2009 and probably
still is on some other platforms, but it still pretty clearly broke
the testers machine. If we want this we need to extend the ioctl with
new paramters that only new userspace looks at.

Cc: Harald Arnesen <harald@skogtun.org>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reported-by: Harald Arnesen <harald@skogtun.org>
Cc: stable@vger.kernel.org
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
drivers/gpu/drm/i915/i915_gem_tiling.c