]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: disallow clip rects on gen5+
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 26 Apr 2012 21:28:11 +0000 (23:28 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 3 May 2012 09:18:29 +0000 (11:18 +0200)
commitb9685796322febf84cba0a51eb93c23d84bfa500
tree1d564fe89fe5b3f42b53815ab492e361b186d02f
parentc320cc3969cf22b46b030bb7e8672857c965da81
drm/i915: disallow clip rects on gen5+

Unfortunately there has been dri1 userspace that used gem to manage
the gtt and hence also needed cliprects in the execbuf ioctl. So
we can't ever remove that code without breaking the ioctl abi.

But at least we can disable it on gen5+, because these horrible
versions of mesa have not supported these chips.

Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_execbuffer.c