Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
fdb751ef
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看板
提交
fdb751ef
编写于
8月 10, 2014
作者:
B
Ben Skeggs
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
drm/nouveau: remove as much direct use of core headers as possible
Signed-off-by:
N
Ben Skeggs
<
bskeggs@redhat.com
>
上级
f45f55c4
变更
23
隐藏空白更改
内联
并排
Showing
23 changed file
with
22 addition
and
59 deletion
+22
-59
drivers/gpu/drm/nouveau/dispnv04/disp.c
drivers/gpu/drm/nouveau/dispnv04/disp.c
+0
-5
drivers/gpu/drm/nouveau/dispnv04/tvnv17.c
drivers/gpu/drm/nouveau/dispnv04/tvnv17.c
+0
-4
drivers/gpu/drm/nouveau/nouveau_abi16.c
drivers/gpu/drm/nouveau/nouveau_abi16.c
+2
-5
drivers/gpu/drm/nouveau/nouveau_agp.c
drivers/gpu/drm/nouveau/nouveau_agp.c
+0
-2
drivers/gpu/drm/nouveau/nouveau_bo.c
drivers/gpu/drm/nouveau/nouveau_bo.c
+1
-1
drivers/gpu/drm/nouveau/nouveau_chan.c
drivers/gpu/drm/nouveau/nouveau_chan.c
+4
-3
drivers/gpu/drm/nouveau/nouveau_connector.h
drivers/gpu/drm/nouveau/nouveau_connector.h
+0
-4
drivers/gpu/drm/nouveau/nouveau_display.c
drivers/gpu/drm/nouveau/nouveau_display.c
+2
-1
drivers/gpu/drm/nouveau/nouveau_dma.c
drivers/gpu/drm/nouveau/nouveau_dma.c
+0
-2
drivers/gpu/drm/nouveau/nouveau_dp.c
drivers/gpu/drm/nouveau/nouveau_dp.c
+0
-2
drivers/gpu/drm/nouveau/nouveau_drm.c
drivers/gpu/drm/nouveau/nouveau_drm.c
+2
-0
drivers/gpu/drm/nouveau/nouveau_drm.h
drivers/gpu/drm/nouveau/nouveau_drm.h
+1
-4
drivers/gpu/drm/nouveau/nouveau_fbcon.c
drivers/gpu/drm/nouveau/nouveau_fbcon.c
+0
-3
drivers/gpu/drm/nouveau/nouveau_sysfs.c
drivers/gpu/drm/nouveau/nouveau_sysfs.c
+3
-3
drivers/gpu/drm/nouveau/nouveau_ttm.c
drivers/gpu/drm/nouveau/nouveau_ttm.c
+1
-0
drivers/gpu/drm/nouveau/nv04_fbcon.c
drivers/gpu/drm/nouveau/nv04_fbcon.c
+0
-2
drivers/gpu/drm/nouveau/nv10_fence.c
drivers/gpu/drm/nouveau/nv10_fence.c
+0
-3
drivers/gpu/drm/nouveau/nv10_fence.h
drivers/gpu/drm/nouveau/nv10_fence.h
+0
-1
drivers/gpu/drm/nouveau/nv17_fence.c
drivers/gpu/drm/nouveau/nv17_fence.c
+2
-2
drivers/gpu/drm/nouveau/nv50_display.c
drivers/gpu/drm/nouveau/nv50_display.c
+2
-2
drivers/gpu/drm/nouveau/nv50_fence.c
drivers/gpu/drm/nouveau/nv50_fence.c
+2
-2
drivers/gpu/drm/nouveau/nv84_fence.c
drivers/gpu/drm/nouveau/nv84_fence.c
+0
-4
drivers/gpu/drm/nouveau/nvc0_fence.c
drivers/gpu/drm/nouveau/nvc0_fence.c
+0
-4
未找到文件。
drivers/gpu/drm/nouveau/dispnv04/disp.c
浏览文件 @
fdb751ef
...
@@ -22,9 +22,6 @@
...
@@ -22,9 +22,6 @@
* Author: Ben Skeggs
* Author: Ben Skeggs
*/
*/
#include <core/object.h>
#include <core/class.h>
#include <drm/drmP.h>
#include <drm/drmP.h>
#include <drm/drm_crtc_helper.h>
#include <drm/drm_crtc_helper.h>
...
@@ -34,8 +31,6 @@
...
@@ -34,8 +31,6 @@
#include "nouveau_encoder.h"
#include "nouveau_encoder.h"
#include "nouveau_connector.h"
#include "nouveau_connector.h"
#include <subdev/i2c.h>
int
int
nv04_display_early_init
(
struct
drm_device
*
dev
)
nv04_display_early_init
(
struct
drm_device
*
dev
)
{
{
...
...
drivers/gpu/drm/nouveau/dispnv04/tvnv17.c
浏览文件 @
fdb751ef
...
@@ -34,10 +34,6 @@
...
@@ -34,10 +34,6 @@
#include "hw.h"
#include "hw.h"
#include "tvnv17.h"
#include "tvnv17.h"
#include <core/device.h>
#include <subdev/bios/gpio.h>
MODULE_PARM_DESC
(
tv_norm
,
"Default TV norm.
\n
"
MODULE_PARM_DESC
(
tv_norm
,
"Default TV norm.
\n
"
"
\t\t
Supported: PAL, PAL-M, PAL-N, PAL-Nc, NTSC-M, NTSC-J,
\n
"
"
\t\t
Supported: PAL, PAL-M, PAL-N, PAL-Nc, NTSC-M, NTSC-J,
\n
"
"
\t\t\t
hd480i, hd480p, hd576i, hd576p, hd720p, hd1080i.
\n
"
"
\t\t\t
hd480i, hd480p, hd576i, hd576p, hd720p, hd1080i.
\n
"
...
...
drivers/gpu/drm/nouveau/nouveau_abi16.c
浏览文件 @
fdb751ef
...
@@ -21,11 +21,8 @@
...
@@ -21,11 +21,8 @@
*
*
*/
*/
#include <core/object.h>
#include <nvif/os.h>
#include <core/client.h>
#include <nvif/class.h>
#include <core/device.h>
#include <core/class.h>
#include <core/mm.h>
#include "nouveau_drm.h"
#include "nouveau_drm.h"
#include "nouveau_dma.h"
#include "nouveau_dma.h"
...
...
drivers/gpu/drm/nouveau/nouveau_agp.c
浏览文件 @
fdb751ef
#include <linux/module.h>
#include <linux/module.h>
#include <core/device.h>
#include "nouveau_drm.h"
#include "nouveau_drm.h"
#include "nouveau_agp.h"
#include "nouveau_agp.h"
#include "nouveau_reg.h"
#include "nouveau_reg.h"
...
...
drivers/gpu/drm/nouveau/nouveau_bo.c
浏览文件 @
fdb751ef
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
* Jeremy Kolb <jkolb@brandeis.edu>
* Jeremy Kolb <jkolb@brandeis.edu>
*/
*/
#include <
core/engine
.h>
#include <
linux/dma-mapping
.h>
#include <linux/swiotlb.h>
#include <linux/swiotlb.h>
#include "nouveau_drm.h"
#include "nouveau_drm.h"
...
...
drivers/gpu/drm/nouveau/nouveau_chan.c
浏览文件 @
fdb751ef
...
@@ -22,10 +22,11 @@
...
@@ -22,10 +22,11 @@
* Authors: Ben Skeggs
* Authors: Ben Skeggs
*/
*/
#include <core/object.h>
#include <nvif/os.h>
#include <nvif/class.h>
/*XXX*/
#include <core/client.h>
#include <core/client.h>
#include <core/device.h>
#include <core/class.h>
#include "nouveau_drm.h"
#include "nouveau_drm.h"
#include "nouveau_dma.h"
#include "nouveau_dma.h"
...
...
drivers/gpu/drm/nouveau/nouveau_connector.h
浏览文件 @
fdb751ef
...
@@ -31,10 +31,6 @@
...
@@ -31,10 +31,6 @@
#include <drm/drm_dp_helper.h>
#include <drm/drm_dp_helper.h>
#include "nouveau_crtc.h"
#include "nouveau_crtc.h"
#include <core/event.h>
#include <subdev/bios.h>
struct
nouveau_i2c_port
;
struct
nouveau_i2c_port
;
enum
nouveau_underscan_type
{
enum
nouveau_underscan_type
{
...
...
drivers/gpu/drm/nouveau/nouveau_display.c
浏览文件 @
fdb751ef
...
@@ -27,6 +27,8 @@
...
@@ -27,6 +27,8 @@
#include <drm/drmP.h>
#include <drm/drmP.h>
#include <drm/drm_crtc_helper.h>
#include <drm/drm_crtc_helper.h>
#include <nvif/class.h>
#include "nouveau_fbcon.h"
#include "nouveau_fbcon.h"
#include "dispnv04/hw.h"
#include "dispnv04/hw.h"
#include "nouveau_crtc.h"
#include "nouveau_crtc.h"
...
@@ -37,7 +39,6 @@
...
@@ -37,7 +39,6 @@
#include "nouveau_fence.h"
#include "nouveau_fence.h"
#include <core/class.h>
#include <nvif/event.h>
#include <nvif/event.h>
static
int
static
int
...
...
drivers/gpu/drm/nouveau/nouveau_dma.c
浏览文件 @
fdb751ef
...
@@ -24,8 +24,6 @@
...
@@ -24,8 +24,6 @@
*
*
*/
*/
#include <core/client.h>
#include "nouveau_drm.h"
#include "nouveau_drm.h"
#include "nouveau_dma.h"
#include "nouveau_dma.h"
...
...
drivers/gpu/drm/nouveau/nouveau_dp.c
浏览文件 @
fdb751ef
...
@@ -30,8 +30,6 @@
...
@@ -30,8 +30,6 @@
#include "nouveau_encoder.h"
#include "nouveau_encoder.h"
#include "nouveau_crtc.h"
#include "nouveau_crtc.h"
#include <core/class.h>
static
void
static
void
nouveau_dp_probe_oui
(
struct
drm_device
*
dev
,
struct
nouveau_i2c_port
*
auxch
,
nouveau_dp_probe_oui
(
struct
drm_device
*
dev
,
struct
nouveau_i2c_port
*
auxch
,
u8
*
dpcd
)
u8
*
dpcd
)
...
...
drivers/gpu/drm/nouveau/nouveau_drm.c
浏览文件 @
fdb751ef
...
@@ -27,8 +27,10 @@
...
@@ -27,8 +27,10 @@
#include <linux/pci.h>
#include <linux/pci.h>
#include <linux/pm_runtime.h>
#include <linux/pm_runtime.h>
#include <linux/vga_switcheroo.h>
#include <linux/vga_switcheroo.h>
#include "drmP.h"
#include "drmP.h"
#include "drm_crtc_helper.h"
#include "drm_crtc_helper.h"
#include <core/device.h>
#include <core/device.h>
#include <core/gpuobj.h>
#include <core/gpuobj.h>
#include <core/class.h>
#include <core/class.h>
...
...
drivers/gpu/drm/nouveau/nouveau_drm.h
浏览文件 @
fdb751ef
...
@@ -25,13 +25,10 @@
...
@@ -25,13 +25,10 @@
* - fixes multiple bugs in flip completion events and timestamping
* - fixes multiple bugs in flip completion events and timestamping
*/
*/
#include <core/client.h>
#include <core/event.h>
#include <nvif/client.h>
#include <nvif/client.h>
#include <nvif/device.h>
#include <nvif/device.h>
#include <
subdev/vm
.h>
#include <
core/class
.h>
#include <drmP.h>
#include <drmP.h>
#include <drm/nouveau_drm.h>
#include <drm/nouveau_drm.h>
...
...
drivers/gpu/drm/nouveau/nouveau_fbcon.c
浏览文件 @
fdb751ef
...
@@ -51,9 +51,6 @@
...
@@ -51,9 +51,6 @@
#include "nouveau_crtc.h"
#include "nouveau_crtc.h"
#include <core/client.h>
#include <core/device.h>
MODULE_PARM_DESC
(
nofbaccel
,
"Disable fbcon acceleration"
);
MODULE_PARM_DESC
(
nofbaccel
,
"Disable fbcon acceleration"
);
static
int
nouveau_nofbaccel
=
0
;
static
int
nouveau_nofbaccel
=
0
;
module_param_named
(
nofbaccel
,
nouveau_nofbaccel
,
int
,
0400
);
module_param_named
(
nofbaccel
,
nouveau_nofbaccel
,
int
,
0400
);
...
...
drivers/gpu/drm/nouveau/nouveau_sysfs.c
浏览文件 @
fdb751ef
...
@@ -22,10 +22,10 @@
...
@@ -22,10 +22,10 @@
* Authors: Ben Skeggs <bskeggs@redhat.com>
* Authors: Ben Skeggs <bskeggs@redhat.com>
*/
*/
#include "nouveau_sysfs.h"
#include <nvif/os.h>
#include <nvif/class.h>
#include <core/object.h>
#include "nouveau_sysfs.h"
#include <core/class.h>
static
inline
struct
drm_device
*
static
inline
struct
drm_device
*
drm_device
(
struct
device
*
d
)
drm_device
(
struct
device
*
d
)
...
...
drivers/gpu/drm/nouveau/nouveau_ttm.c
浏览文件 @
fdb751ef
...
@@ -203,6 +203,7 @@ const struct ttm_mem_type_manager_func nouveau_gart_manager = {
...
@@ -203,6 +203,7 @@ const struct ttm_mem_type_manager_func nouveau_gart_manager = {
nouveau_gart_manager_debug
nouveau_gart_manager_debug
};
};
/*XXX*/
#include <core/subdev/vm/nv04.h>
#include <core/subdev/vm/nv04.h>
static
int
static
int
nv04_gart_manager_init
(
struct
ttm_mem_type_manager
*
man
,
unsigned
long
psize
)
nv04_gart_manager_init
(
struct
ttm_mem_type_manager
*
man
,
unsigned
long
psize
)
...
...
drivers/gpu/drm/nouveau/nv04_fbcon.c
浏览文件 @
fdb751ef
...
@@ -22,8 +22,6 @@
...
@@ -22,8 +22,6 @@
* DEALINGS IN THE SOFTWARE.
* DEALINGS IN THE SOFTWARE.
*/
*/
#include <core/object.h>
#include "nouveau_drm.h"
#include "nouveau_drm.h"
#include "nouveau_dma.h"
#include "nouveau_dma.h"
#include "nouveau_fbcon.h"
#include "nouveau_fbcon.h"
...
...
drivers/gpu/drm/nouveau/nv10_fence.c
浏览文件 @
fdb751ef
...
@@ -22,9 +22,6 @@
...
@@ -22,9 +22,6 @@
* Authors: Ben Skeggs <bskeggs@redhat.com>
* Authors: Ben Skeggs <bskeggs@redhat.com>
*/
*/
#include <core/object.h>
#include <core/class.h>
#include "nouveau_drm.h"
#include "nouveau_drm.h"
#include "nouveau_dma.h"
#include "nouveau_dma.h"
#include "nv10_fence.h"
#include "nv10_fence.h"
...
...
drivers/gpu/drm/nouveau/nv10_fence.h
浏览文件 @
fdb751ef
#ifndef __NV10_FENCE_H_
#ifndef __NV10_FENCE_H_
#define __NV10_FENCE_H_
#define __NV10_FENCE_H_
#include <core/os.h>
#include "nouveau_fence.h"
#include "nouveau_fence.h"
#include "nouveau_bo.h"
#include "nouveau_bo.h"
...
...
drivers/gpu/drm/nouveau/nv17_fence.c
浏览文件 @
fdb751ef
...
@@ -22,8 +22,8 @@
...
@@ -22,8 +22,8 @@
* Authors: Ben Skeggs <bskeggs@redhat.com>
* Authors: Ben Skeggs <bskeggs@redhat.com>
*/
*/
#include <
core/object
.h>
#include <
nvif/os
.h>
#include <
core
/class.h>
#include <
nvif
/class.h>
#include "nouveau_drm.h"
#include "nouveau_drm.h"
#include "nouveau_dma.h"
#include "nouveau_dma.h"
...
...
drivers/gpu/drm/nouveau/nv50_display.c
浏览文件 @
fdb751ef
...
@@ -28,6 +28,8 @@
...
@@ -28,6 +28,8 @@
#include <drm/drm_crtc_helper.h>
#include <drm/drm_crtc_helper.h>
#include <drm/drm_dp_helper.h>
#include <drm/drm_dp_helper.h>
#include <nvif/class.h>
#include "nouveau_drm.h"
#include "nouveau_drm.h"
#include "nouveau_dma.h"
#include "nouveau_dma.h"
#include "nouveau_gem.h"
#include "nouveau_gem.h"
...
@@ -37,8 +39,6 @@
...
@@ -37,8 +39,6 @@
#include "nouveau_fence.h"
#include "nouveau_fence.h"
#include "nv50_display.h"
#include "nv50_display.h"
#include <core/class.h>
#define EVO_DMA_NR 9
#define EVO_DMA_NR 9
#define EVO_MASTER (0x00)
#define EVO_MASTER (0x00)
...
...
drivers/gpu/drm/nouveau/nv50_fence.c
浏览文件 @
fdb751ef
...
@@ -22,8 +22,8 @@
...
@@ -22,8 +22,8 @@
* Authors: Ben Skeggs <bskeggs@redhat.com>
* Authors: Ben Skeggs <bskeggs@redhat.com>
*/
*/
#include <
core/object
.h>
#include <
nvif/os
.h>
#include <
core
/class.h>
#include <
nvif
/class.h>
#include "nouveau_drm.h"
#include "nouveau_drm.h"
#include "nouveau_dma.h"
#include "nouveau_dma.h"
...
...
drivers/gpu/drm/nouveau/nv84_fence.c
浏览文件 @
fdb751ef
...
@@ -22,10 +22,6 @@
...
@@ -22,10 +22,6 @@
* Authors: Ben Skeggs
* Authors: Ben Skeggs
*/
*/
#include <core/object.h>
#include <core/client.h>
#include <core/class.h>
#include "nouveau_drm.h"
#include "nouveau_drm.h"
#include "nouveau_dma.h"
#include "nouveau_dma.h"
#include "nouveau_fence.h"
#include "nouveau_fence.h"
...
...
drivers/gpu/drm/nouveau/nvc0_fence.c
浏览文件 @
fdb751ef
...
@@ -22,10 +22,6 @@
...
@@ -22,10 +22,6 @@
* Authors: Ben Skeggs
* Authors: Ben Skeggs
*/
*/
#include <core/object.h>
#include <core/client.h>
#include <core/class.h>
#include "nouveau_drm.h"
#include "nouveau_drm.h"
#include "nouveau_dma.h"
#include "nouveau_dma.h"
#include "nouveau_fence.h"
#include "nouveau_fence.h"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录