59 static int compat_radeon_cp_init(
struct file *
file,
unsigned int cmd,
91 &init->gart_textures_offset))
106 static int compat_radeon_cp_clear(
struct file *
file,
unsigned int cmd,
133 static int compat_radeon_cp_stipple(
struct file *
file,
unsigned int cmd,
167 static int compat_radeon_cp_texture(
struct file *
file,
unsigned int cmd,
177 if (req32.
image == 0)
185 sizeof(*request) +
sizeof(*image)))
215 static int compat_radeon_cp_vertex2(
struct file *
file,
unsigned int cmd,
246 static int compat_radeon_cp_cmdbuf(
struct file *
file,
unsigned int cmd,
273 static int compat_radeon_cp_getparam(
struct file *
file,
unsigned int cmd,
299 static int compat_radeon_mem_alloc(
struct file *
file,
unsigned int cmd,
314 &request->region_offset))
324 static int compat_radeon_irq_emit(
struct file *
file,
unsigned int cmd,
343 #if defined (CONFIG_X86_64) || defined(CONFIG_IA64)
344 typedef struct drm_radeon_setparam32 {
352 drm_radeon_setparam32_t req32;
361 ||
__put_user((
void __user *)(
unsigned long)req32.value,
368 #define compat_radeon_cp_setparam NULL
371 static drm_ioctl_compat_t *radeon_compat_ioctls[] = {
395 unsigned int nr = DRM_IOCTL_NR(cmd);
396 drm_ioctl_compat_t *
fn =
NULL;
406 ret = (*fn) (filp,
cmd,
arg);
415 unsigned int nr = DRM_IOCTL_NR(cmd);