]> git.baikalelectronics.ru Git - kernel.git/commit
drm: disallow legacy sg ioctls for modesetting drivers
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 8 Aug 2013 13:41:18 +0000 (15:41 +0200)
committerDave Airlie <airlied@redhat.com>
Mon, 19 Aug 2013 00:04:06 +0000 (10:04 +1000)
commitd40b5de1e8d4b2cd2708b0b74d2ec986110ad30f
tree2469ac9f56922bb9a33af856fcd7fc710bf7eb71
parenteb9e67439b9dafef30458369bbf9dd32529c062e
drm: disallow legacy sg ioctls for modesetting drivers

Only the radeon/r128/ati ums drivers use this. Furthermore the cleanup
was already only done for UMS drivers. Also a quick check of the ATI
ddx git history shows that only the UMS code ever used this facility.

So we can safely disallow these pair of ioctls for modesetting
drivers.

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_scatter.c