Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
7568b106
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看板
提交
7568b106
编写于
11月 08, 2015
作者:
B
Ben Skeggs
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
drm/nouveau/nvif: split out display interface definitions
Signed-off-by:
N
Ben Skeggs
<
bskeggs@redhat.com
>
上级
538b269b
变更
30
隐藏空白更改
内联
并排
Showing
30 changed file
with
261 addition
and
222 deletion
+261
-222
drivers/gpu/drm/nouveau/include/nvif/cl0046.h
drivers/gpu/drm/nouveau/include/nvif/cl0046.h
+28
-0
drivers/gpu/drm/nouveau/include/nvif/cl5070.h
drivers/gpu/drm/nouveau/include/nvif/cl5070.h
+99
-0
drivers/gpu/drm/nouveau/include/nvif/cl507a.h
drivers/gpu/drm/nouveau/include/nvif/cl507a.h
+11
-0
drivers/gpu/drm/nouveau/include/nvif/cl507b.h
drivers/gpu/drm/nouveau/include/nvif/cl507b.h
+11
-0
drivers/gpu/drm/nouveau/include/nvif/cl507c.h
drivers/gpu/drm/nouveau/include/nvif/cl507c.h
+12
-0
drivers/gpu/drm/nouveau/include/nvif/cl507d.h
drivers/gpu/drm/nouveau/include/nvif/cl507d.h
+11
-0
drivers/gpu/drm/nouveau/include/nvif/cl507e.h
drivers/gpu/drm/nouveau/include/nvif/cl507e.h
+12
-0
drivers/gpu/drm/nouveau/include/nvif/class.h
drivers/gpu/drm/nouveau/include/nvif/class.h
+48
-210
drivers/gpu/drm/nouveau/nouveau_connector.c
drivers/gpu/drm/nouveau/nouveau_connector.c
+1
-0
drivers/gpu/drm/nouveau/nouveau_display.c
drivers/gpu/drm/nouveau/nouveau_display.c
+1
-0
drivers/gpu/drm/nouveau/nv50_display.c
drivers/gpu/drm/nouveau/nv50_display.c
+6
-0
drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c
+1
-0
drivers/gpu/drm/nouveau/nvkm/engine/disp/basenv50.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/basenv50.c
+1
-0
drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c
+1
-1
drivers/gpu/drm/nouveau/nvkm/engine/disp/corenv50.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/corenv50.c
+1
-0
drivers/gpu/drm/nouveau/nvkm/engine/disp/cursnv50.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/cursnv50.c
+1
-0
drivers/gpu/drm/nouveau/nvkm/engine/disp/dacnv50.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/dacnv50.c
+1
-1
drivers/gpu/drm/nouveau/nvkm/engine/disp/hdagf119.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/hdagf119.c
+1
-1
drivers/gpu/drm/nouveau/nvkm/engine/disp/hdagt215.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/hdagt215.c
+1
-1
drivers/gpu/drm/nouveau/nvkm/engine/disp/hdmig84.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/hdmig84.c
+1
-1
drivers/gpu/drm/nouveau/nvkm/engine/disp/hdmigf119.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/hdmigf119.c
+1
-1
drivers/gpu/drm/nouveau/nvkm/engine/disp/hdmigk104.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/hdmigk104.c
+1
-1
drivers/gpu/drm/nouveau/nvkm/engine/disp/hdmigt215.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/hdmigt215.c
+1
-1
drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmnv50.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmnv50.c
+1
-0
drivers/gpu/drm/nouveau/nvkm/engine/disp/ovlynv50.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/ovlynv50.c
+1
-0
drivers/gpu/drm/nouveau/nvkm/engine/disp/piornv50.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/piornv50.c
+1
-1
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootgf119.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootgf119.c
+2
-1
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv04.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv04.c
+1
-0
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c
+2
-1
drivers/gpu/drm/nouveau/nvkm/engine/disp/sornv50.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/sornv50.c
+1
-1
未找到文件。
drivers/gpu/drm/nouveau/include/nvif/cl0046.h
0 → 100644
浏览文件 @
7568b106
#ifndef __NVIF_CL0046_H__
#define __NVIF_CL0046_H__
#define NV04_DISP_NTFY_VBLANK 0x00
#define NV04_DISP_NTFY_CONN 0x01
struct
nv04_disp_mthd_v0
{
__u8
version
;
#define NV04_DISP_SCANOUTPOS 0x00
__u8
method
;
__u8
head
;
__u8
pad03
[
5
];
};
struct
nv04_disp_scanoutpos_v0
{
__u8
version
;
__u8
pad01
[
7
];
__s64
time
[
2
];
__u16
vblanks
;
__u16
vblanke
;
__u16
vtotal
;
__u16
vline
;
__u16
hblanks
;
__u16
hblanke
;
__u16
htotal
;
__u16
hline
;
};
#endif
drivers/gpu/drm/nouveau/include/nvif/cl5070.h
0 → 100644
浏览文件 @
7568b106
#ifndef __NVIF_CL5070_H__
#define __NVIF_CL5070_H__
#define NV50_DISP_MTHD 0x00
struct
nv50_disp_mthd_v0
{
__u8
version
;
#define NV50_DISP_SCANOUTPOS 0x00
__u8
method
;
__u8
head
;
__u8
pad03
[
5
];
};
struct
nv50_disp_scanoutpos_v0
{
__u8
version
;
__u8
pad01
[
7
];
__s64
time
[
2
];
__u16
vblanks
;
__u16
vblanke
;
__u16
vtotal
;
__u16
vline
;
__u16
hblanks
;
__u16
hblanke
;
__u16
htotal
;
__u16
hline
;
};
struct
nv50_disp_mthd_v1
{
__u8
version
;
#define NV50_DISP_MTHD_V1_DAC_PWR 0x10
#define NV50_DISP_MTHD_V1_DAC_LOAD 0x11
#define NV50_DISP_MTHD_V1_SOR_PWR 0x20
#define NV50_DISP_MTHD_V1_SOR_HDA_ELD 0x21
#define NV50_DISP_MTHD_V1_SOR_HDMI_PWR 0x22
#define NV50_DISP_MTHD_V1_SOR_LVDS_SCRIPT 0x23
#define NV50_DISP_MTHD_V1_SOR_DP_PWR 0x24
#define NV50_DISP_MTHD_V1_PIOR_PWR 0x30
__u8
method
;
__u16
hasht
;
__u16
hashm
;
__u8
pad06
[
2
];
};
struct
nv50_disp_dac_pwr_v0
{
__u8
version
;
__u8
state
;
__u8
data
;
__u8
vsync
;
__u8
hsync
;
__u8
pad05
[
3
];
};
struct
nv50_disp_dac_load_v0
{
__u8
version
;
__u8
load
;
__u8
pad02
[
2
];
__u32
data
;
};
struct
nv50_disp_sor_pwr_v0
{
__u8
version
;
__u8
state
;
__u8
pad02
[
6
];
};
struct
nv50_disp_sor_hda_eld_v0
{
__u8
version
;
__u8
pad01
[
7
];
__u8
data
[];
};
struct
nv50_disp_sor_hdmi_pwr_v0
{
__u8
version
;
__u8
state
;
__u8
max_ac_packet
;
__u8
rekey
;
__u8
pad04
[
4
];
};
struct
nv50_disp_sor_lvds_script_v0
{
__u8
version
;
__u8
pad01
[
1
];
__u16
script
;
__u8
pad04
[
4
];
};
struct
nv50_disp_sor_dp_pwr_v0
{
__u8
version
;
__u8
state
;
__u8
pad02
[
6
];
};
struct
nv50_disp_pior_pwr_v0
{
__u8
version
;
__u8
state
;
__u8
type
;
__u8
pad03
[
5
];
};
#endif
drivers/gpu/drm/nouveau/include/nvif/cl507a.h
0 → 100644
浏览文件 @
7568b106
#ifndef __NVIF_CL507A_H__
#define __NVIF_CL507A_H__
struct
nv50_disp_cursor_v0
{
__u8
version
;
__u8
head
;
__u8
pad02
[
6
];
};
#define NV50_DISP_CURSOR_V0_NTFY_UEVENT 0x00
#endif
drivers/gpu/drm/nouveau/include/nvif/cl507b.h
0 → 100644
浏览文件 @
7568b106
#ifndef __NVIF_CL507B_H__
#define __NVIF_CL507B_H__
struct
nv50_disp_overlay_v0
{
__u8
version
;
__u8
head
;
__u8
pad02
[
6
];
};
#define NV50_DISP_OVERLAY_V0_NTFY_UEVENT 0x00
#endif
drivers/gpu/drm/nouveau/include/nvif/cl507c.h
0 → 100644
浏览文件 @
7568b106
#ifndef __NVIF_CL507C_H__
#define __NVIF_CL507C_H__
struct
nv50_disp_base_channel_dma_v0
{
__u8
version
;
__u8
head
;
__u8
pad02
[
6
];
__u64
pushbuf
;
};
#define NV50_DISP_BASE_CHANNEL_DMA_V0_NTFY_UEVENT 0x00
#endif
drivers/gpu/drm/nouveau/include/nvif/cl507d.h
0 → 100644
浏览文件 @
7568b106
#ifndef __NVIF_CL507D_H__
#define __NVIF_CL507D_H__
struct
nv50_disp_core_channel_dma_v0
{
__u8
version
;
__u8
pad01
[
7
];
__u64
pushbuf
;
};
#define NV50_DISP_CORE_CHANNEL_DMA_V0_NTFY_UEVENT 0x00
#endif
drivers/gpu/drm/nouveau/include/nvif/cl507e.h
0 → 100644
浏览文件 @
7568b106
#ifndef __NVIF_CL507E_H__
#define __NVIF_CL507E_H__
struct
nv50_disp_overlay_channel_dma_v0
{
__u8
version
;
__u8
head
;
__u8
pad02
[
6
];
__u64
pushbuf
;
};
#define NV50_DISP_OVERLAY_CHANNEL_DMA_V0_NTFY_UEVENT 0x00
#endif
drivers/gpu/drm/nouveau/include/nvif/class.h
浏览文件 @
7568b106
...
...
@@ -24,7 +24,7 @@
#define KEPLER_INLINE_TO_MEMORY_A 0x0000a040
#define KEPLER_INLINE_TO_MEMORY_B 0x0000a140
#define NV04_DISP
0x00000046
#define NV04_DISP
/* cl0046.h */
0x00000046
#define NV03_CHANNEL_DMA 0x0000006b
#define NV10_CHANNEL_DMA 0x0000006e
...
...
@@ -39,59 +39,59 @@
#define KEPLER_CHANNEL_GPFIFO_A 0x0000a06f
#define MAXWELL_CHANNEL_GPFIFO_A 0x0000b06f
#define NV50_DISP
0x00005070
#define G82_DISP
0x00008270
#define GT200_DISP
0x00008370
#define GT214_DISP
0x00008570
#define GT206_DISP
0x00008870
#define GF110_DISP
0x00009070
#define GK104_DISP
0x00009170
#define GK110_DISP
0x00009270
#define GM107_DISP
0x00009470
#define GM204_DISP
0x00009570
#define NV50_DISP
/* cl5070.h */
0x00005070
#define G82_DISP
/* cl5070.h */
0x00008270
#define GT200_DISP
/* cl5070.h */
0x00008370
#define GT214_DISP
/* cl5070.h */
0x00008570
#define GT206_DISP
/* cl5070.h */
0x00008870
#define GF110_DISP
/* cl5070.h */
0x00009070
#define GK104_DISP
/* cl5070.h */
0x00009170
#define GK110_DISP
/* cl5070.h */
0x00009270
#define GM107_DISP
/* cl5070.h */
0x00009470
#define GM204_DISP
/* cl5070.h */
0x00009570
#define NV31_MPEG 0x00003174
#define G82_MPEG 0x00008274
#define NV74_VP2 0x00007476
#define NV50_DISP_CURSOR
0x0000507a
#define G82_DISP_CURSOR
0x0000827a
#define GT214_DISP_CURSOR
0x0000857a
#define GF110_DISP_CURSOR
0x0000907a
#define GK104_DISP_CURSOR
0x0000917a
#define NV50_DISP_OVERLAY
0x0000507b
#define G82_DISP_OVERLAY
0x0000827b
#define GT214_DISP_OVERLAY
0x0000857b
#define GF110_DISP_OVERLAY
0x0000907b
#define GK104_DISP_OVERLAY
0x0000917b
#define NV50_DISP_BASE_CHANNEL_DMA
0x0000507c
#define G82_DISP_BASE_CHANNEL_DMA
0x0000827c
#define GT200_DISP_BASE_CHANNEL_DMA
0x0000837c
#define GT214_DISP_BASE_CHANNEL_DMA
0x0000857c
#define GF110_DISP_BASE_CHANNEL_DMA
0x0000907c
#define GK104_DISP_BASE_CHANNEL_DMA
0x0000917c
#define GK110_DISP_BASE_CHANNEL_DMA
0x0000927c
#define NV50_DISP_CORE_CHANNEL_DMA
0x0000507d
#define G82_DISP_CORE_CHANNEL_DMA
0x0000827d
#define GT200_DISP_CORE_CHANNEL_DMA
0x0000837d
#define GT214_DISP_CORE_CHANNEL_DMA
0x0000857d
#define GT206_DISP_CORE_CHANNEL_DMA
0x0000887d
#define GF110_DISP_CORE_CHANNEL_DMA
0x0000907d
#define GK104_DISP_CORE_CHANNEL_DMA
0x0000917d
#define GK110_DISP_CORE_CHANNEL_DMA
0x0000927d
#define GM107_DISP_CORE_CHANNEL_DMA
0x0000947d
#define GM204_DISP_CORE_CHANNEL_DMA
0x0000957d
#define NV50_DISP_OVERLAY_CHANNEL_DMA
0x0000507e
#define G82_DISP_OVERLAY_CHANNEL_DMA
0x0000827e
#define GT200_DISP_OVERLAY_CHANNEL_DMA
0x0000837e
#define GT214_DISP_OVERLAY_CHANNEL_DMA
0x0000857e
#define GF110_DISP_OVERLAY_CONTROL_DMA
0x0000907e
#define GK104_DISP_OVERLAY_CONTROL_DMA
0x0000917e
#define NV50_DISP_CURSOR
/* cl507a.h */
0x0000507a
#define G82_DISP_CURSOR
/* cl507a.h */
0x0000827a
#define GT214_DISP_CURSOR
/* cl507a.h */
0x0000857a
#define GF110_DISP_CURSOR
/* cl507a.h */
0x0000907a
#define GK104_DISP_CURSOR
/* cl507a.h */
0x0000917a
#define NV50_DISP_OVERLAY
/* cl507b.h */
0x0000507b
#define G82_DISP_OVERLAY
/* cl507b.h */
0x0000827b
#define GT214_DISP_OVERLAY
/* cl507b.h */
0x0000857b
#define GF110_DISP_OVERLAY
/* cl507b.h */
0x0000907b
#define GK104_DISP_OVERLAY
/* cl507b.h */
0x0000917b
#define NV50_DISP_BASE_CHANNEL_DMA
/* cl507c.h */
0x0000507c
#define G82_DISP_BASE_CHANNEL_DMA
/* cl507c.h */
0x0000827c
#define GT200_DISP_BASE_CHANNEL_DMA
/* cl507c.h */
0x0000837c
#define GT214_DISP_BASE_CHANNEL_DMA
/* cl507c.h */
0x0000857c
#define GF110_DISP_BASE_CHANNEL_DMA
/* cl507c.h */
0x0000907c
#define GK104_DISP_BASE_CHANNEL_DMA
/* cl507c.h */
0x0000917c
#define GK110_DISP_BASE_CHANNEL_DMA
/* cl507c.h */
0x0000927c
#define NV50_DISP_CORE_CHANNEL_DMA
/* cl507d.h */
0x0000507d
#define G82_DISP_CORE_CHANNEL_DMA
/* cl507d.h */
0x0000827d
#define GT200_DISP_CORE_CHANNEL_DMA
/* cl507d.h */
0x0000837d
#define GT214_DISP_CORE_CHANNEL_DMA
/* cl507d.h */
0x0000857d
#define GT206_DISP_CORE_CHANNEL_DMA
/* cl507d.h */
0x0000887d
#define GF110_DISP_CORE_CHANNEL_DMA
/* cl507d.h */
0x0000907d
#define GK104_DISP_CORE_CHANNEL_DMA
/* cl507d.h */
0x0000917d
#define GK110_DISP_CORE_CHANNEL_DMA
/* cl507d.h */
0x0000927d
#define GM107_DISP_CORE_CHANNEL_DMA
/* cl507d.h */
0x0000947d
#define GM204_DISP_CORE_CHANNEL_DMA
/* cl507d.h */
0x0000957d
#define NV50_DISP_OVERLAY_CHANNEL_DMA
/* cl507e.h */
0x0000507e
#define G82_DISP_OVERLAY_CHANNEL_DMA
/* cl507e.h */
0x0000827e
#define GT200_DISP_OVERLAY_CHANNEL_DMA
/* cl507e.h */
0x0000837e
#define GT214_DISP_OVERLAY_CHANNEL_DMA
/* cl507e.h */
0x0000857e
#define GF110_DISP_OVERLAY_CONTROL_DMA
/* cl507e.h */
0x0000907e
#define GK104_DISP_OVERLAY_CONTROL_DMA
/* cl507e.h */
0x0000917e
#define FERMI_A
/* cl9097.h */
0x00009097
#define FERMI_B
/* cl9097.h */
0x00009197
...
...
@@ -452,166 +452,4 @@ struct kepler_channel_gpfifo_a_v0 {
__u64
ioffset
;
__u64
vm
;
};
/*******************************************************************************
* legacy display
******************************************************************************/
#define NV04_DISP_NTFY_VBLANK 0x00
#define NV04_DISP_NTFY_CONN 0x01
struct
nv04_disp_mthd_v0
{
__u8
version
;
#define NV04_DISP_SCANOUTPOS 0x00
__u8
method
;
__u8
head
;
__u8
pad03
[
5
];
};
struct
nv04_disp_scanoutpos_v0
{
__u8
version
;
__u8
pad01
[
7
];
__s64
time
[
2
];
__u16
vblanks
;
__u16
vblanke
;
__u16
vtotal
;
__u16
vline
;
__u16
hblanks
;
__u16
hblanke
;
__u16
htotal
;
__u16
hline
;
};
/*******************************************************************************
* display
******************************************************************************/
#define NV50_DISP_MTHD 0x00
struct
nv50_disp_mthd_v0
{
__u8
version
;
#define NV50_DISP_SCANOUTPOS 0x00
__u8
method
;
__u8
head
;
__u8
pad03
[
5
];
};
struct
nv50_disp_mthd_v1
{
__u8
version
;
#define NV50_DISP_MTHD_V1_DAC_PWR 0x10
#define NV50_DISP_MTHD_V1_DAC_LOAD 0x11
#define NV50_DISP_MTHD_V1_SOR_PWR 0x20
#define NV50_DISP_MTHD_V1_SOR_HDA_ELD 0x21
#define NV50_DISP_MTHD_V1_SOR_HDMI_PWR 0x22
#define NV50_DISP_MTHD_V1_SOR_LVDS_SCRIPT 0x23
#define NV50_DISP_MTHD_V1_SOR_DP_PWR 0x24
#define NV50_DISP_MTHD_V1_PIOR_PWR 0x30
__u8
method
;
__u16
hasht
;
__u16
hashm
;
__u8
pad06
[
2
];
};
struct
nv50_disp_dac_pwr_v0
{
__u8
version
;
__u8
state
;
__u8
data
;
__u8
vsync
;
__u8
hsync
;
__u8
pad05
[
3
];
};
struct
nv50_disp_dac_load_v0
{
__u8
version
;
__u8
load
;
__u8
pad02
[
2
];
__u32
data
;
};
struct
nv50_disp_sor_pwr_v0
{
__u8
version
;
__u8
state
;
__u8
pad02
[
6
];
};
struct
nv50_disp_sor_hda_eld_v0
{
__u8
version
;
__u8
pad01
[
7
];
__u8
data
[];
};
struct
nv50_disp_sor_hdmi_pwr_v0
{
__u8
version
;
__u8
state
;
__u8
max_ac_packet
;
__u8
rekey
;
__u8
pad04
[
4
];
};
struct
nv50_disp_sor_lvds_script_v0
{
__u8
version
;
__u8
pad01
[
1
];
__u16
script
;
__u8
pad04
[
4
];
};
struct
nv50_disp_sor_dp_pwr_v0
{
__u8
version
;
__u8
state
;
__u8
pad02
[
6
];
};
struct
nv50_disp_pior_pwr_v0
{
__u8
version
;
__u8
state
;
__u8
type
;
__u8
pad03
[
5
];
};
/* core */
struct
nv50_disp_core_channel_dma_v0
{
__u8
version
;
__u8
pad01
[
7
];
__u64
pushbuf
;
};
#define NV50_DISP_CORE_CHANNEL_DMA_V0_NTFY_UEVENT 0x00
/* cursor immediate */
struct
nv50_disp_cursor_v0
{
__u8
version
;
__u8
head
;
__u8
pad02
[
6
];
};
#define NV50_DISP_CURSOR_V0_NTFY_UEVENT 0x00
/* base */
struct
nv50_disp_base_channel_dma_v0
{
__u8
version
;
__u8
head
;
__u8
pad02
[
6
];
__u64
pushbuf
;
};
#define NV50_DISP_BASE_CHANNEL_DMA_V0_NTFY_UEVENT 0x00
/* overlay */
struct
nv50_disp_overlay_channel_dma_v0
{
__u8
version
;
__u8
head
;
__u8
pad02
[
6
];
__u64
pushbuf
;
};
#define NV50_DISP_OVERLAY_CHANNEL_DMA_V0_NTFY_UEVENT 0x00
/* overlay immediate */
struct
nv50_disp_overlay_v0
{
__u8
version
;
__u8
head
;
__u8
pad02
[
6
];
};
#define NV50_DISP_OVERLAY_V0_NTFY_UEVENT 0x00
#endif
drivers/gpu/drm/nouveau/nouveau_connector.c
浏览文件 @
7568b106
...
...
@@ -42,6 +42,7 @@
#include "nouveau_encoder.h"
#include "nouveau_crtc.h"
#include <nvif/cl0046.h>
#include <nvif/event.h>
MODULE_PARM_DESC
(
tv_disable
,
"Disable TV-out detection"
);
...
...
drivers/gpu/drm/nouveau/nouveau_display.c
浏览文件 @
7568b106
...
...
@@ -39,6 +39,7 @@
#include "nouveau_fence.h"
#include <nvif/cl0046.h>
#include <nvif/event.h>
static
int
...
...
drivers/gpu/drm/nouveau/nv50_display.c
浏览文件 @
7568b106
...
...
@@ -31,6 +31,12 @@
#include <drm/drm_fb_helper.h>
#include <nvif/class.h>
#include <nvif/cl5070.h>
#include <nvif/cl507a.h>
#include <nvif/cl507b.h>
#include <nvif/cl507c.h>
#include <nvif/cl507d.h>
#include <nvif/cl507e.h>
#include "nouveau_drm.h"
#include "nouveau_dma.h"
...
...
drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c
浏览文件 @
7568b106
...
...
@@ -32,6 +32,7 @@
#include <subdev/bios/dcb.h>
#include <nvif/class.h>
#include <nvif/cl0046.h>
#include <nvif/event.h>
#include <nvif/unpack.h>
...
...
drivers/gpu/drm/nouveau/nvkm/engine/disp/basenv50.c
浏览文件 @
7568b106
...
...
@@ -27,6 +27,7 @@
#include <core/client.h>
#include <nvif/class.h>
#include <nvif/cl507c.h>
#include <nvif/unpack.h>
int
...
...
drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c
浏览文件 @
7568b106
...
...
@@ -28,7 +28,7 @@
#include <core/ramht.h>
#include <engine/dma.h>
#include <nvif/cl
ass
.h>
#include <nvif/cl
507d
.h>
#include <nvif/event.h>
#include <nvif/unpack.h>
...
...
drivers/gpu/drm/nouveau/nvkm/engine/disp/corenv50.c
浏览文件 @
7568b106
...
...
@@ -28,6 +28,7 @@
#include <subdev/timer.h>
#include <nvif/class.h>
#include <nvif/cl507d.h>
#include <nvif/unpack.h>
int
...
...
drivers/gpu/drm/nouveau/nvkm/engine/disp/cursnv50.c
浏览文件 @
7568b106
...
...
@@ -27,6 +27,7 @@
#include <core/client.h>
#include <nvif/class.h>
#include <nvif/cl507a.h>
#include <nvif/unpack.h>
int
...
...
drivers/gpu/drm/nouveau/nvkm/engine/disp/dacnv50.c
浏览文件 @
7568b106
...
...
@@ -27,7 +27,7 @@
#include <core/client.h>
#include <subdev/timer.h>
#include <nvif/cl
ass
.h>
#include <nvif/cl
5070
.h>
#include <nvif/unpack.h>
int
...
...
drivers/gpu/drm/nouveau/nvkm/engine/disp/hdagf119.c
浏览文件 @
7568b106
...
...
@@ -29,7 +29,7 @@
#include <subdev/bios/dcb.h>
#include <subdev/timer.h>
#include <nvif/cl
ass
.h>
#include <nvif/cl
5070
.h>
#include <nvif/unpack.h>
int
...
...
drivers/gpu/drm/nouveau/nvkm/engine/disp/hdagt215.c
浏览文件 @
7568b106
...
...
@@ -27,7 +27,7 @@
#include <core/client.h>
#include <subdev/timer.h>
#include <nvif/cl
ass
.h>
#include <nvif/cl
5070
.h>
#include <nvif/unpack.h>
int
...
...
drivers/gpu/drm/nouveau/nvkm/engine/disp/hdmig84.c
浏览文件 @
7568b106
...
...
@@ -25,7 +25,7 @@
#include <core/client.h>
#include <nvif/cl
ass
.h>
#include <nvif/cl
5070
.h>
#include <nvif/unpack.h>
int
...
...
drivers/gpu/drm/nouveau/nvkm/engine/disp/hdmigf119.c
浏览文件 @
7568b106
...
...
@@ -25,7 +25,7 @@
#include <core/client.h>
#include <nvif/cl
ass
.h>
#include <nvif/cl
5070
.h>
#include <nvif/unpack.h>
int
...
...
drivers/gpu/drm/nouveau/nvkm/engine/disp/hdmigk104.c
浏览文件 @
7568b106
...
...
@@ -25,7 +25,7 @@
#include <core/client.h>
#include <nvif/cl
ass
.h>
#include <nvif/cl
5070
.h>
#include <nvif/unpack.h>
int
...
...
drivers/gpu/drm/nouveau/nvkm/engine/disp/hdmigt215.c
浏览文件 @
7568b106
...
...
@@ -26,7 +26,7 @@
#include <core/client.h>
#include <nvif/cl
ass
.h>
#include <nvif/cl
5070
.h>
#include <nvif/unpack.h>
int
...
...
drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmnv50.c
浏览文件 @
7568b106
...
...
@@ -27,6 +27,7 @@
#include <core/client.h>
#include <nvif/class.h>
#include <nvif/cl507b.h>
#include <nvif/unpack.h>
int
...
...
drivers/gpu/drm/nouveau/nvkm/engine/disp/ovlynv50.c
浏览文件 @
7568b106
...
...
@@ -27,6 +27,7 @@
#include <core/client.h>
#include <nvif/class.h>
#include <nvif/cl507e.h>
#include <nvif/unpack.h>
int
...
...
drivers/gpu/drm/nouveau/nvkm/engine/disp/piornv50.c
浏览文件 @
7568b106
...
...
@@ -28,7 +28,7 @@
#include <subdev/i2c.h>
#include <subdev/timer.h>
#include <nvif/cl
ass
.h>
#include <nvif/cl
5070
.h>
#include <nvif/unpack.h>
int
...
...
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootgf119.c
浏览文件 @
7568b106
...
...
@@ -29,6 +29,7 @@
#include <subdev/timer.h>
#include <nvif/class.h>
#include <nvif/cl5070.h>
#include <nvif/unpack.h>
int
...
...
@@ -39,7 +40,7 @@ gf119_disp_root_scanoutpos(NV50_DISP_MTHD_V0)
const
u32
blanke
=
nvkm_rd32
(
device
,
0x64041c
+
(
head
*
0x300
));
const
u32
blanks
=
nvkm_rd32
(
device
,
0x640420
+
(
head
*
0x300
));
union
{
struct
nv
04
_disp_scanoutpos_v0
v0
;
struct
nv
50
_disp_scanoutpos_v0
v0
;
}
*
args
=
data
;
int
ret
;
...
...
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv04.c
浏览文件 @
7568b106
...
...
@@ -27,6 +27,7 @@
#include <core/client.h>
#include <nvif/class.h>
#include <nvif/cl0046.h>
#include <nvif/unpack.h>
struct
nv04_disp_root
{
...
...
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c
浏览文件 @
7568b106
...
...
@@ -29,6 +29,7 @@
#include <subdev/timer.h>
#include <nvif/class.h>
#include <nvif/cl5070.h>
#include <nvif/unpack.h>
int
...
...
@@ -39,7 +40,7 @@ nv50_disp_root_scanoutpos(NV50_DISP_MTHD_V0)
const
u32
blanks
=
nvkm_rd32
(
device
,
0x610af4
+
(
head
*
0x540
));
const
u32
total
=
nvkm_rd32
(
device
,
0x610afc
+
(
head
*
0x540
));
union
{
struct
nv
04
_disp_scanoutpos_v0
v0
;
struct
nv
50
_disp_scanoutpos_v0
v0
;
}
*
args
=
data
;
int
ret
;
...
...
drivers/gpu/drm/nouveau/nvkm/engine/disp/sornv50.c
浏览文件 @
7568b106
...
...
@@ -27,7 +27,7 @@
#include <core/client.h>
#include <subdev/timer.h>
#include <nvif/cl
ass
.h>
#include <nvif/cl
5070
.h>
#include <nvif/unpack.h>
int
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录