drm: use drm_compat_ioctl for 32-bit apps
commit804d74abe2e3f361ead5c5c6850d5b1ab0203862
authorKeith Packard <keithp@keithp.com>
Mon, 9 Jul 2012 22:40:07 +0000 (9 15:40 -0700)
committerDave Airlie <airlied@gmail.com>
Wed, 5 Sep 2012 20:55:02 +0000 (6 06:55 +1000)
treefa332c96e84ad98e66b38c220ad72022364a6f40
parent0273de08c455031335dbea2630208f66106b0c14
drm: use drm_compat_ioctl for 32-bit apps

Most of the DRM drivers appear to be missing the .compat_ioctl file
operation entry necessary for 32-bit application compatibility.

This patch  uses drm_compat_ioctl for all drivers which don't have
their own, and which are using drm_ioctl for .unlocked_ioctl.

This leaves drivers/gpu/drm/psb/psb_drv.c unchanged; it has a custom
.unlocked_ioctl and will presumably need a custom .compat_ioctl as
well.

Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Dave Airlie <airlied@gmail.com>
drivers/gpu/drm/ast/ast_drv.c
drivers/gpu/drm/cirrus/cirrus_drv.c
drivers/gpu/drm/exynos/exynos_drm_drv.c
drivers/gpu/drm/i810/i810_dma.c
drivers/gpu/drm/i810/i810_drv.c
drivers/gpu/drm/mgag200/mgag200_drv.c
drivers/gpu/drm/savage/savage_drv.c
drivers/gpu/drm/sis/sis_drv.c
drivers/gpu/drm/tdfx/tdfx_drv.c
drivers/gpu/drm/udl/udl_drv.c
drivers/gpu/drm/via/via_drv.c