]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite42511b4a2a56e2a738ac0ae8b4b65425b0bc759
tree8642340acdb41a7877bff68edc32fe57ae1ec290
parent9a9edb326d4e6303b87c1cc6658f53ded90d17fc
Revert "drm/i915: Declare the swizzling unknown for L-shaped configurations"

This reverts commit f711464d345d3801bbbf73b811c96289ff00e128.

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