Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
b6ce156c
K
Kernel
项目概览
openeuler
/
Kernel
1 年多 前同步成功
通知
8
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
b6ce156c
编写于
9月 25, 2005
作者:
D
Dave Airlie
提交者:
Dave Airlie
9月 25, 2005
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
drm: fix some lindent damage
Signed-off-by:
N
Dave Airlie
<
airlied@linux.ie
>
上级
13e4a9c8
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
86 addition
and
173 deletion
+86
-173
drivers/char/drm/i810_dma.c
drivers/char/drm/i810_dma.c
+14
-28
drivers/char/drm/i830_dma.c
drivers/char/drm/i830_dma.c
+13
-26
drivers/char/drm/i915_dma.c
drivers/char/drm/i915_dma.c
+11
-22
drivers/char/drm/mga_state.c
drivers/char/drm/mga_state.c
+13
-27
drivers/char/drm/radeon_state.c
drivers/char/drm/radeon_state.c
+26
-52
drivers/char/drm/savage_bci.c
drivers/char/drm/savage_bci.c
+4
-8
drivers/char/drm/sis_mm.c
drivers/char/drm/sis_mm.c
+5
-10
未找到文件。
drivers/char/drm/i810_dma.c
浏览文件 @
b6ce156c
...
...
@@ -1346,34 +1346,20 @@ int i810_driver_dma_quiescent(drm_device_t * dev)
}
drm_ioctl_desc_t
i810_ioctls
[]
=
{
[
DRM_IOCTL_NR
(
DRM_I810_INIT
)]
=
{
i810_dma_init
,
1
,
1
}
,
[
DRM_IOCTL_NR
(
DRM_I810_VERTEX
)]
=
{
i810_dma_vertex
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_I810_CLEAR
)]
=
{
i810_clear_bufs
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_I810_FLUSH
)]
=
{
i810_flush_ioctl
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_I810_GETAGE
)]
=
{
i810_getage
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_I810_GETBUF
)]
=
{
i810_getbuf
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_I810_SWAP
)]
=
{
i810_swap_bufs
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_I810_COPY
)]
=
{
i810_copybuf
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_I810_DOCOPY
)]
=
{
i810_docopy
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_I810_OV0INFO
)]
=
{
i810_ov0_info
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_I810_FSTATUS
)]
=
{
i810_fstatus
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_I810_OV0FLIP
)]
=
{
i810_ov0_flip
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_I810_MC
)]
=
{
i810_dma_mc
,
1
,
1
}
,
[
DRM_IOCTL_NR
(
DRM_I810_RSTATUS
)]
=
{
i810_rstatus
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_I810_INIT
)]
=
{
i810_dma_init
,
1
,
1
},
[
DRM_IOCTL_NR
(
DRM_I810_VERTEX
)]
=
{
i810_dma_vertex
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_I810_CLEAR
)]
=
{
i810_clear_bufs
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_I810_FLUSH
)]
=
{
i810_flush_ioctl
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_I810_GETAGE
)]
=
{
i810_getage
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_I810_GETBUF
)]
=
{
i810_getbuf
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_I810_SWAP
)]
=
{
i810_swap_bufs
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_I810_COPY
)]
=
{
i810_copybuf
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_I810_DOCOPY
)]
=
{
i810_docopy
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_I810_OV0INFO
)]
=
{
i810_ov0_info
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_I810_FSTATUS
)]
=
{
i810_fstatus
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_I810_OV0FLIP
)]
=
{
i810_ov0_flip
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_I810_MC
)]
=
{
i810_dma_mc
,
1
,
1
},
[
DRM_IOCTL_NR
(
DRM_I810_RSTATUS
)]
=
{
i810_rstatus
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_I810_FLIP
)]
=
{
i810_flip_bufs
,
1
,
0
}
};
...
...
drivers/char/drm/i830_dma.c
浏览文件 @
b6ce156c
...
...
@@ -1544,32 +1544,19 @@ int i830_driver_dma_quiescent(drm_device_t * dev)
}
drm_ioctl_desc_t
i830_ioctls
[]
=
{
[
DRM_IOCTL_NR
(
DRM_I830_INIT
)]
=
{
i830_dma_init
,
1
,
1
}
,
[
DRM_IOCTL_NR
(
DRM_I830_VERTEX
)]
=
{
i830_dma_vertex
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_I830_CLEAR
)]
=
{
i830_clear_bufs
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_I830_FLUSH
)]
=
{
i830_flush_ioctl
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_I830_GETAGE
)]
=
{
i830_getage
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_I830_GETBUF
)]
=
{
i830_getbuf
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_I830_SWAP
)]
=
{
i830_swap_bufs
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_I830_COPY
)]
=
{
i830_copybuf
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_I830_DOCOPY
)]
=
{
i830_docopy
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_I830_FLIP
)]
=
{
i830_flip_bufs
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_I830_IRQ_EMIT
)]
=
{
i830_irq_emit
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_I830_IRQ_WAIT
)]
=
{
i830_irq_wait
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_I830_GETPARAM
)]
=
{
i830_getparam
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_I830_INIT
)]
=
{
i830_dma_init
,
1
,
1
},
[
DRM_IOCTL_NR
(
DRM_I830_VERTEX
)]
=
{
i830_dma_vertex
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_I830_CLEAR
)]
=
{
i830_clear_bufs
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_I830_FLUSH
)]
=
{
i830_flush_ioctl
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_I830_GETAGE
)]
=
{
i830_getage
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_I830_GETBUF
)]
=
{
i830_getbuf
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_I830_SWAP
)]
=
{
i830_swap_bufs
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_I830_COPY
)]
=
{
i830_copybuf
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_I830_DOCOPY
)]
=
{
i830_docopy
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_I830_FLIP
)]
=
{
i830_flip_bufs
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_I830_IRQ_EMIT
)]
=
{
i830_irq_emit
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_I830_IRQ_WAIT
)]
=
{
i830_irq_wait
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_I830_GETPARAM
)]
=
{
i830_getparam
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_I830_SETPARAM
)]
=
{
i830_setparam
,
1
,
0
}
};
...
...
drivers/char/drm/i915_dma.c
浏览文件 @
b6ce156c
...
...
@@ -717,28 +717,17 @@ void i915_driver_prerelease(drm_device_t * dev, DRMFILE filp)
}
drm_ioctl_desc_t
i915_ioctls
[]
=
{
[
DRM_IOCTL_NR
(
DRM_I915_INIT
)]
=
{
i915_dma_init
,
1
,
1
}
,
[
DRM_IOCTL_NR
(
DRM_I915_FLUSH
)]
=
{
i915_flush_ioctl
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_I915_FLIP
)]
=
{
i915_flip_bufs
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_I915_BATCHBUFFER
)]
=
{
i915_batchbuffer
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_I915_IRQ_EMIT
)]
=
{
i915_irq_emit
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_I915_IRQ_WAIT
)]
=
{
i915_irq_wait
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_I915_GETPARAM
)]
=
{
i915_getparam
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_I915_SETPARAM
)]
=
{
i915_setparam
,
1
,
1
}
,
[
DRM_IOCTL_NR
(
DRM_I915_ALLOC
)]
=
{
i915_mem_alloc
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_I915_FREE
)]
=
{
i915_mem_free
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_I915_INIT_HEAP
)]
=
{
i915_mem_init_heap
,
1
,
1
}
,
[
DRM_IOCTL_NR
(
DRM_I915_INIT
)]
=
{
i915_dma_init
,
1
,
1
},
[
DRM_IOCTL_NR
(
DRM_I915_FLUSH
)]
=
{
i915_flush_ioctl
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_I915_FLIP
)]
=
{
i915_flip_bufs
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_I915_BATCHBUFFER
)]
=
{
i915_batchbuffer
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_I915_IRQ_EMIT
)]
=
{
i915_irq_emit
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_I915_IRQ_WAIT
)]
=
{
i915_irq_wait
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_I915_GETPARAM
)]
=
{
i915_getparam
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_I915_SETPARAM
)]
=
{
i915_setparam
,
1
,
1
},
[
DRM_IOCTL_NR
(
DRM_I915_ALLOC
)]
=
{
i915_mem_alloc
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_I915_FREE
)]
=
{
i915_mem_free
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_I915_INIT_HEAP
)]
=
{
i915_mem_init_heap
,
1
,
1
},
[
DRM_IOCTL_NR
(
DRM_I915_CMDBUFFER
)]
=
{
i915_cmdbuffer
,
1
,
0
}
};
...
...
drivers/char/drm/mga_state.c
浏览文件 @
b6ce156c
...
...
@@ -1127,33 +1127,19 @@ static int mga_wait_fence(DRM_IOCTL_ARGS)
}
drm_ioctl_desc_t
mga_ioctls
[]
=
{
[
DRM_IOCTL_NR
(
DRM_MGA_INIT
)]
=
{
mga_dma_init
,
1
,
1
}
,
[
DRM_IOCTL_NR
(
DRM_MGA_FLUSH
)]
=
{
mga_dma_flush
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_MGA_RESET
)]
=
{
mga_dma_reset
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_MGA_SWAP
)]
=
{
mga_dma_swap
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_MGA_CLEAR
)]
=
{
mga_dma_clear
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_MGA_VERTEX
)]
=
{
mga_dma_vertex
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_MGA_INDICES
)]
=
{
mga_dma_indices
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_MGA_ILOAD
)]
=
{
mga_dma_iload
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_MGA_BLIT
)]
=
{
mga_dma_blit
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_MGA_GETPARAM
)]
=
{
mga_getparam
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_MGA_SET_FENCE
)]
=
{
mga_set_fence
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_MGA_WAIT_FENCE
)]
=
{
mga_wait_fence
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_MGA_DMA_BOOTSTRAP
)]
=
{
mga_dma_bootstrap
,
1
,
1
}
,
[
DRM_IOCTL_NR
(
DRM_MGA_INIT
)]
=
{
mga_dma_init
,
1
,
1
},
[
DRM_IOCTL_NR
(
DRM_MGA_FLUSH
)]
=
{
mga_dma_flush
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_MGA_RESET
)]
=
{
mga_dma_reset
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_MGA_SWAP
)]
=
{
mga_dma_swap
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_MGA_CLEAR
)]
=
{
mga_dma_clear
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_MGA_VERTEX
)]
=
{
mga_dma_vertex
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_MGA_INDICES
)]
=
{
mga_dma_indices
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_MGA_ILOAD
)]
=
{
mga_dma_iload
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_MGA_BLIT
)]
=
{
mga_dma_blit
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_MGA_GETPARAM
)]
=
{
mga_getparam
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_MGA_SET_FENCE
)]
=
{
mga_set_fence
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_MGA_WAIT_FENCE
)]
=
{
mga_wait_fence
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_MGA_DMA_BOOTSTRAP
)]
=
{
mga_dma_bootstrap
,
1
,
1
},
};
int
mga_max_ioctl
=
DRM_ARRAY_SIZE
(
mga_ioctls
);
drivers/char/drm/radeon_state.c
浏览文件 @
b6ce156c
...
...
@@ -3117,58 +3117,32 @@ void radeon_driver_free_filp_priv(drm_device_t * dev, drm_file_t * filp_priv)
}
drm_ioctl_desc_t
radeon_ioctls
[]
=
{
[
DRM_IOCTL_NR
(
DRM_RADEON_CP_INIT
)]
=
{
radeon_cp_init
,
1
,
1
}
,
[
DRM_IOCTL_NR
(
DRM_RADEON_CP_START
)]
=
{
radeon_cp_start
,
1
,
1
}
,
[
DRM_IOCTL_NR
(
DRM_RADEON_CP_STOP
)]
=
{
radeon_cp_stop
,
1
,
1
}
,
[
DRM_IOCTL_NR
(
DRM_RADEON_CP_RESET
)]
=
{
radeon_cp_reset
,
1
,
1
}
,
[
DRM_IOCTL_NR
(
DRM_RADEON_CP_IDLE
)]
=
{
radeon_cp_idle
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_RADEON_CP_RESUME
)]
=
{
radeon_cp_resume
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_RADEON_RESET
)]
=
{
radeon_engine_reset
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_RADEON_FULLSCREEN
)]
=
{
radeon_fullscreen
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_RADEON_SWAP
)]
=
{
radeon_cp_swap
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_RADEON_CLEAR
)]
=
{
radeon_cp_clear
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_RADEON_VERTEX
)]
=
{
radeon_cp_vertex
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_RADEON_INDICES
)]
=
{
radeon_cp_indices
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_RADEON_TEXTURE
)]
=
{
radeon_cp_texture
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_RADEON_STIPPLE
)]
=
{
radeon_cp_stipple
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_RADEON_INDIRECT
)]
=
{
radeon_cp_indirect
,
1
,
1
}
,
[
DRM_IOCTL_NR
(
DRM_RADEON_VERTEX2
)]
=
{
radeon_cp_vertex2
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_RADEON_CMDBUF
)]
=
{
radeon_cp_cmdbuf
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_RADEON_GETPARAM
)]
=
{
radeon_cp_getparam
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_RADEON_FLIP
)]
=
{
radeon_cp_flip
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_RADEON_ALLOC
)]
=
{
radeon_mem_alloc
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_RADEON_FREE
)]
=
{
radeon_mem_free
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_RADEON_INIT_HEAP
)]
=
{
radeon_mem_init_heap
,
1
,
1
}
,
[
DRM_IOCTL_NR
(
DRM_RADEON_IRQ_EMIT
)]
=
{
radeon_irq_emit
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_RADEON_IRQ_WAIT
)]
=
{
radeon_irq_wait
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_RADEON_SETPARAM
)]
=
{
radeon_cp_setparam
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_RADEON_SURF_ALLOC
)]
=
{
radeon_surface_alloc
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_RADEON_CP_INIT
)]
=
{
radeon_cp_init
,
1
,
1
},
[
DRM_IOCTL_NR
(
DRM_RADEON_CP_START
)]
=
{
radeon_cp_start
,
1
,
1
},
[
DRM_IOCTL_NR
(
DRM_RADEON_CP_STOP
)]
=
{
radeon_cp_stop
,
1
,
1
},
[
DRM_IOCTL_NR
(
DRM_RADEON_CP_RESET
)]
=
{
radeon_cp_reset
,
1
,
1
},
[
DRM_IOCTL_NR
(
DRM_RADEON_CP_IDLE
)]
=
{
radeon_cp_idle
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_RADEON_CP_RESUME
)]
=
{
radeon_cp_resume
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_RADEON_RESET
)]
=
{
radeon_engine_reset
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_RADEON_FULLSCREEN
)]
=
{
radeon_fullscreen
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_RADEON_SWAP
)]
=
{
radeon_cp_swap
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_RADEON_CLEAR
)]
=
{
radeon_cp_clear
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_RADEON_VERTEX
)]
=
{
radeon_cp_vertex
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_RADEON_INDICES
)]
=
{
radeon_cp_indices
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_RADEON_TEXTURE
)]
=
{
radeon_cp_texture
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_RADEON_STIPPLE
)]
=
{
radeon_cp_stipple
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_RADEON_INDIRECT
)]
=
{
radeon_cp_indirect
,
1
,
1
},
[
DRM_IOCTL_NR
(
DRM_RADEON_VERTEX2
)]
=
{
radeon_cp_vertex2
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_RADEON_CMDBUF
)]
=
{
radeon_cp_cmdbuf
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_RADEON_GETPARAM
)]
=
{
radeon_cp_getparam
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_RADEON_FLIP
)]
=
{
radeon_cp_flip
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_RADEON_ALLOC
)]
=
{
radeon_mem_alloc
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_RADEON_FREE
)]
=
{
radeon_mem_free
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_RADEON_INIT_HEAP
)]
=
{
radeon_mem_init_heap
,
1
,
1
},
[
DRM_IOCTL_NR
(
DRM_RADEON_IRQ_EMIT
)]
=
{
radeon_irq_emit
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_RADEON_IRQ_WAIT
)]
=
{
radeon_irq_wait
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_RADEON_SETPARAM
)]
=
{
radeon_cp_setparam
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_RADEON_SURF_ALLOC
)]
=
{
radeon_surface_alloc
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_RADEON_SURF_FREE
)]
=
{
radeon_surface_free
,
1
,
0
}
};
...
...
drivers/char/drm/savage_bci.c
浏览文件 @
b6ce156c
...
...
@@ -1090,14 +1090,10 @@ void savage_reclaim_buffers(drm_device_t * dev, DRMFILE filp)
}
drm_ioctl_desc_t
savage_ioctls
[]
=
{
[
DRM_IOCTL_NR
(
DRM_SAVAGE_BCI_INIT
)]
=
{
savage_bci_init
,
1
,
1
}
,
[
DRM_IOCTL_NR
(
DRM_SAVAGE_BCI_CMDBUF
)]
=
{
savage_bci_cmdbuf
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_SAVAGE_BCI_EVENT_EMIT
)]
=
{
savage_bci_event_emit
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_SAVAGE_BCI_EVENT_WAIT
)]
=
{
savage_bci_event_wait
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_SAVAGE_BCI_INIT
)]
=
{
savage_bci_init
,
1
,
1
},
[
DRM_IOCTL_NR
(
DRM_SAVAGE_BCI_CMDBUF
)]
=
{
savage_bci_cmdbuf
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_SAVAGE_BCI_EVENT_EMIT
)]
=
{
savage_bci_event_emit
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_SAVAGE_BCI_EVENT_WAIT
)]
=
{
savage_bci_event_wait
,
1
,
0
},
};
int
savage_max_ioctl
=
DRM_ARRAY_SIZE
(
savage_ioctls
);
drivers/char/drm/sis_mm.c
浏览文件 @
b6ce156c
...
...
@@ -403,16 +403,11 @@ int sis_final_context(struct drm_device *dev, int context)
}
drm_ioctl_desc_t
sis_ioctls
[]
=
{
[
DRM_IOCTL_NR
(
DRM_SIS_FB_ALLOC
)]
=
{
sis_fb_alloc
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_SIS_FB_FREE
)]
=
{
sis_fb_free
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_SIS_AGP_INIT
)]
=
{
sis_ioctl_agp_init
,
1
,
1
}
,
[
DRM_IOCTL_NR
(
DRM_SIS_AGP_ALLOC
)]
=
{
sis_ioctl_agp_alloc
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_SIS_AGP_FREE
)]
=
{
sis_ioctl_agp_free
,
1
,
0
}
,
[
DRM_IOCTL_NR
(
DRM_SIS_FB_ALLOC
)]
=
{
sis_fb_alloc
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_SIS_FB_FREE
)]
=
{
sis_fb_free
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_SIS_AGP_INIT
)]
=
{
sis_ioctl_agp_init
,
1
,
1
},
[
DRM_IOCTL_NR
(
DRM_SIS_AGP_ALLOC
)]
=
{
sis_ioctl_agp_alloc
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_SIS_AGP_FREE
)]
=
{
sis_ioctl_agp_free
,
1
,
0
},
[
DRM_IOCTL_NR
(
DRM_SIS_FB_INIT
)]
=
{
sis_fb_init
,
1
,
1
}
};
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录