Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
c2c3a003
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
163
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
c2c3a003
编写于
6年前
作者:
B
Ben Skeggs
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
drm/nouveau/disp/nv50-: simplify definition of overlay immediate channels
Signed-off-by:
N
Ben Skeggs
<
bskeggs@redhat.com
>
上级
46f74a8a
master
alk-4.19.24
alk-4.19.30
alk-4.19.34
alk-4.19.36
alk-4.19.43
alk-4.19.48
alk-4.19.57
ck-4.19.67
ck-4.19.81
ck-4.19.91
github/fork/deepanshu1422/fix-typo-in-comment
github/fork/haosdent/fix-typo
linux-next
v4.19.91
v4.19.90
v4.19.89
v4.19.88
v4.19.87
v4.19.86
v4.19.85
v4.19.84
v4.19.83
v4.19.82
v4.19.81
v4.19.80
v4.19.79
v4.19.78
v4.19.77
v4.19.76
v4.19.75
v4.19.74
v4.19.73
v4.19.72
v4.19.71
v4.19.70
v4.19.69
v4.19.68
v4.19.67
v4.19.66
v4.19.65
v4.19.64
v4.19.63
v4.19.62
v4.19.61
v4.19.60
v4.19.59
v4.19.58
v4.19.57
v4.19.56
v4.19.55
v4.19.54
v4.19.53
v4.19.52
v4.19.51
v4.19.50
v4.19.49
v4.19.48
v4.19.47
v4.19.46
v4.19.45
v4.19.44
v4.19.43
v4.19.42
v4.19.41
v4.19.40
v4.19.39
v4.19.38
v4.19.37
v4.19.36
v4.19.35
v4.19.34
v4.19.33
v4.19.32
v4.19.31
v4.19.30
v4.19.29
v4.19.28
v4.19.27
v4.19.26
v4.19.25
v4.19.24
v4.19.23
v4.19.22
v4.19.21
v4.19.20
v4.19.19
v4.19.18
v4.19.17
v4.19.16
v4.19.15
v4.19.14
v4.19.13
v4.19.12
v4.19.11
v4.19.10
v4.19.9
v4.19.8
v4.19.7
v4.19.6
v4.19.5
v4.19.4
v4.19.3
v4.19.2
v4.19.1
v4.19
v4.19-rc8
v4.19-rc7
v4.19-rc6
v4.19-rc5
v4.19-rc4
v4.19-rc3
v4.19-rc2
v4.19-rc1
ck-release-21
ck-release-20
ck-release-19.2
ck-release-19.1
ck-release-19
ck-release-18
ck-release-17.2
ck-release-17.1
ck-release-17
ck-release-16
ck-release-15.1
ck-release-15
ck-release-14
ck-release-13.2
ck-release-13
ck-release-12
ck-release-11
ck-release-10
ck-release-9
ck-release-7
alk-release-15
alk-release-14
alk-release-13.2
alk-release-13
alk-release-12
alk-release-11
alk-release-10
alk-release-9
alk-release-7
无相关合并请求
变更
21
隐藏空白更改
内联
并排
Showing
21 changed file
with
52 addition
and
183 deletion
+52
-183
drivers/gpu/drm/nouveau/nvkm/engine/disp/Kbuild
drivers/gpu/drm/nouveau/nvkm/engine/disp/Kbuild
+0
-3
drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.h
drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.h
+10
-11
drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmg84.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmg84.c
+0
-37
drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmgf119.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmgf119.c
+7
-12
drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmgk104.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmgk104.c
+0
-37
drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmgp102.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmgp102.c
+7
-12
drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmgt215.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmgt215.c
+0
-37
drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmnv50.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmnv50.c
+15
-21
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootg84.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootg84.c
+1
-1
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootg94.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootg94.c
+1
-1
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootgf119.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootgf119.c
+1
-1
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootgk104.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootgk104.c
+1
-1
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootgk110.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootgk110.c
+1
-1
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootgm107.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootgm107.c
+1
-1
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootgm200.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootgm200.c
+1
-1
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootgp100.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootgp100.c
+1
-1
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootgp102.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootgp102.c
+1
-1
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootgt200.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootgt200.c
+1
-1
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootgt215.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootgt215.c
+1
-1
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c
+1
-1
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.h
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.h
+1
-1
未找到文件。
drivers/gpu/drm/nouveau/nvkm/engine/disp/Kbuild
浏览文件 @
c2c3a003
...
...
@@ -111,8 +111,5 @@ nvkm-y += nvkm/engine/disp/cursgk104.o
nvkm-y += nvkm/engine/disp/cursgp102.o
nvkm-y += nvkm/engine/disp/oimmnv50.o
nvkm-y += nvkm/engine/disp/oimmg84.o
nvkm-y += nvkm/engine/disp/oimmgt215.o
nvkm-y += nvkm/engine/disp/oimmgf119.o
nvkm-y += nvkm/engine/disp/oimmgk104.o
nvkm-y += nvkm/engine/disp/oimmgp102.o
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.h
浏览文件 @
c2c3a003
...
...
@@ -50,12 +50,18 @@ void nv50_disp_chan_uevent_send(struct nv50_disp *, int);
extern
const
struct
nvkm_event_func
gf119_disp_chan_uevent
;
int
nv50_disp_oimm_new_
(
const
struct
nv50_disp_chan_func
*
,
struct
nv50_disp
*
,
int
ctrl
,
int
user
,
const
struct
nvkm_oclass
*
,
void
*
argv
,
u32
argc
,
struct
nvkm_object
**
);
int
nv50_disp_ovly_new_
(
const
struct
nv50_disp_dmac_func
*
,
const
struct
nv50_disp_chan_mthd
*
,
struct
nv50_disp
*
,
int
chid
,
const
struct
nvkm_oclass
*
,
void
*
argv
,
u32
argc
,
struct
nvkm_object
**
);
int
nv50_disp_oimm_new
(
const
struct
nvkm_oclass
*
,
void
*
,
u32
,
struct
nv50_disp
*
,
struct
nvkm_object
**
);
int
nv50_disp_ovly_new
(
const
struct
nvkm_oclass
*
,
void
*
,
u32
,
struct
nv50_disp
*
,
struct
nvkm_object
**
);
...
...
@@ -65,12 +71,16 @@ int g84_disp_ovly_new(const struct nvkm_oclass *, void *, u32,
int
gt200_disp_ovly_new
(
const
struct
nvkm_oclass
*
,
void
*
,
u32
,
struct
nv50_disp
*
,
struct
nvkm_object
**
);
int
gf119_disp_oimm_new
(
const
struct
nvkm_oclass
*
,
void
*
,
u32
,
struct
nv50_disp
*
,
struct
nvkm_object
**
);
int
gf119_disp_ovly_new
(
const
struct
nvkm_oclass
*
,
void
*
,
u32
,
struct
nv50_disp
*
,
struct
nvkm_object
**
);
int
gk104_disp_ovly_new
(
const
struct
nvkm_oclass
*
,
void
*
,
u32
,
struct
nv50_disp
*
,
struct
nvkm_object
**
);
int
gp102_disp_oimm_new
(
const
struct
nvkm_oclass
*
,
void
*
,
u32
,
struct
nv50_disp
*
,
struct
nvkm_object
**
);
int
gp102_disp_ovly_new
(
const
struct
nvkm_oclass
*
,
void
*
,
u32
,
struct
nv50_disp
*
,
struct
nvkm_object
**
);
...
...
@@ -133,22 +143,16 @@ struct nv50_disp_pioc_oclass {
}
chid
;
};
extern
const
struct
nv50_disp_pioc_oclass
nv50_disp_oimm_oclass
;
extern
const
struct
nv50_disp_pioc_oclass
nv50_disp_curs_oclass
;
extern
const
struct
nv50_disp_pioc_oclass
g84_disp_oimm_oclass
;
extern
const
struct
nv50_disp_pioc_oclass
g84_disp_curs_oclass
;
extern
const
struct
nv50_disp_pioc_oclass
gt215_disp_oimm_oclass
;
extern
const
struct
nv50_disp_pioc_oclass
gt215_disp_curs_oclass
;
extern
const
struct
nv50_disp_pioc_oclass
gf119_disp_oimm_oclass
;
extern
const
struct
nv50_disp_pioc_oclass
gf119_disp_curs_oclass
;
extern
const
struct
nv50_disp_pioc_oclass
gk104_disp_oimm_oclass
;
extern
const
struct
nv50_disp_pioc_oclass
gk104_disp_curs_oclass
;
extern
const
struct
nv50_disp_pioc_oclass
gp102_disp_oimm_oclass
;
extern
const
struct
nv50_disp_pioc_oclass
gp102_disp_curs_oclass
;
int
nv50_disp_curs_new
(
const
struct
nv50_disp_chan_func
*
,
...
...
@@ -156,9 +160,4 @@ int nv50_disp_curs_new(const struct nv50_disp_chan_func *,
struct
nv50_disp_root
*
,
int
ctrl
,
int
user
,
const
struct
nvkm_oclass
*
,
void
*
data
,
u32
size
,
struct
nvkm_object
**
);
int
nv50_disp_oimm_new
(
const
struct
nv50_disp_chan_func
*
,
const
struct
nv50_disp_chan_mthd
*
,
struct
nv50_disp_root
*
,
int
ctrl
,
int
user
,
const
struct
nvkm_oclass
*
,
void
*
data
,
u32
size
,
struct
nvkm_object
**
);
#endif
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmg84.c
已删除
100644 → 0
浏览文件 @
46f74a8a
/*
* Copyright 2012 Red Hat Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*
* Authors: Ben Skeggs
*/
#include "channv50.h"
#include "rootnv50.h"
#include <nvif/class.h>
const
struct
nv50_disp_pioc_oclass
g84_disp_oimm_oclass
=
{
.
base
.
oclass
=
G82_DISP_OVERLAY
,
.
base
.
minver
=
0
,
.
base
.
maxver
=
0
,
.
ctor
=
nv50_disp_oimm_new
,
.
func
=
&
nv50_disp_pioc_func
,
.
chid
=
{
5
,
5
},
};
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmgf119.c
浏览文件 @
c2c3a003
...
...
@@ -22,16 +22,11 @@
* Authors: Ben Skeggs
*/
#include "channv50.h"
#include "rootnv50.h"
#include <nvif/class.h>
const
struct
nv50_disp_pioc_oclass
gf119_disp_oimm_oclass
=
{
.
base
.
oclass
=
GF110_DISP_OVERLAY
,
.
base
.
minver
=
0
,
.
base
.
maxver
=
0
,
.
ctor
=
nv50_disp_oimm_new
,
.
func
=
&
gf119_disp_pioc_func
,
.
chid
=
{
9
,
9
},
};
int
gf119_disp_oimm_new
(
const
struct
nvkm_oclass
*
oclass
,
void
*
argv
,
u32
argc
,
struct
nv50_disp
*
disp
,
struct
nvkm_object
**
pobject
)
{
return
nv50_disp_oimm_new_
(
&
gf119_disp_pioc_func
,
disp
,
9
,
9
,
oclass
,
argv
,
argc
,
pobject
);
}
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmgk104.c
已删除
100644 → 0
浏览文件 @
46f74a8a
/*
* Copyright 2012 Red Hat Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*
* Authors: Ben Skeggs
*/
#include "channv50.h"
#include "rootnv50.h"
#include <nvif/class.h>
const
struct
nv50_disp_pioc_oclass
gk104_disp_oimm_oclass
=
{
.
base
.
oclass
=
GK104_DISP_OVERLAY
,
.
base
.
minver
=
0
,
.
base
.
maxver
=
0
,
.
ctor
=
nv50_disp_oimm_new
,
.
func
=
&
gf119_disp_pioc_func
,
.
chid
=
{
9
,
9
},
};
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmgp102.c
浏览文件 @
c2c3a003
...
...
@@ -22,16 +22,11 @@
* Authors: Ben Skeggs <bskeggs@redhat.com>
*/
#include "channv50.h"
#include "rootnv50.h"
#include <nvif/class.h>
const
struct
nv50_disp_pioc_oclass
gp102_disp_oimm_oclass
=
{
.
base
.
oclass
=
GK104_DISP_OVERLAY
,
.
base
.
minver
=
0
,
.
base
.
maxver
=
0
,
.
ctor
=
nv50_disp_oimm_new
,
.
func
=
&
gf119_disp_pioc_func
,
.
chid
=
{
9
,
13
},
};
int
gp102_disp_oimm_new
(
const
struct
nvkm_oclass
*
oclass
,
void
*
argv
,
u32
argc
,
struct
nv50_disp
*
disp
,
struct
nvkm_object
**
pobject
)
{
return
nv50_disp_oimm_new_
(
&
gf119_disp_pioc_func
,
disp
,
9
,
13
,
oclass
,
argv
,
argc
,
pobject
);
}
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmgt215.c
已删除
100644 → 0
浏览文件 @
46f74a8a
/*
* Copyright 2012 Red Hat Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*
* Authors: Ben Skeggs
*/
#include "channv50.h"
#include "rootnv50.h"
#include <nvif/class.h>
const
struct
nv50_disp_pioc_oclass
gt215_disp_oimm_oclass
=
{
.
base
.
oclass
=
GT214_DISP_OVERLAY
,
.
base
.
minver
=
0
,
.
base
.
maxver
=
0
,
.
ctor
=
nv50_disp_oimm_new
,
.
func
=
&
nv50_disp_pioc_func
,
.
chid
=
{
5
,
5
},
};
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmnv50.c
浏览文件 @
c2c3a003
...
...
@@ -23,30 +23,26 @@
*/
#include "channv50.h"
#include "head.h"
#include "rootnv50.h"
#include <core/client.h>
#include <nvif/class.h>
#include <nvif/cl507b.h>
#include <nvif/unpack.h>
int
nv50_disp_oimm_new
(
const
struct
nv50_disp_chan_func
*
func
,
const
struct
nv50_disp_chan_mthd
*
mthd
,
struct
nv50_disp_root
*
root
,
int
ctrl
,
int
user
,
const
struct
nvkm_oclass
*
oclass
,
void
*
data
,
u32
size
,
struct
nvkm_object
**
pobject
)
nv50_disp_oimm_new_
(
const
struct
nv50_disp_chan_func
*
func
,
struct
nv50_disp
*
disp
,
int
ctrl
,
int
user
,
const
struct
nvkm_oclass
*
oclass
,
void
*
argv
,
u32
argc
,
struct
nvkm_object
**
pobject
)
{
union
{
struct
nv50_disp_overlay_v0
v0
;
}
*
args
=
data
;
}
*
args
=
argv
;
struct
nvkm_object
*
parent
=
oclass
->
parent
;
struct
nv50_disp
*
disp
=
root
->
disp
;
int
head
,
ret
=
-
ENOSYS
;
nvif_ioctl
(
parent
,
"create disp overlay size %d
\n
"
,
size
);
if
(
!
(
ret
=
nvif_unpack
(
ret
,
&
data
,
&
size
,
args
->
v0
,
0
,
0
,
false
)))
{
nvif_ioctl
(
parent
,
"create disp overlay size %d
\n
"
,
argc
);
if
(
!
(
ret
=
nvif_unpack
(
ret
,
&
argv
,
&
argc
,
args
->
v0
,
0
,
0
,
false
)))
{
nvif_ioctl
(
parent
,
"create disp overlay vers %d head %d
\n
"
,
args
->
v0
.
version
,
args
->
v0
.
head
);
if
(
!
nvkm_head_find
(
&
disp
->
base
,
args
->
v0
.
head
))
...
...
@@ -55,16 +51,14 @@ nv50_disp_oimm_new(const struct nv50_disp_chan_func *func,
}
else
return
ret
;
return
nv50_disp_chan_new_
(
func
,
mthd
,
disp
,
ctrl
+
head
,
user
+
head
,
return
nv50_disp_chan_new_
(
func
,
NULL
,
disp
,
ctrl
+
head
,
user
+
head
,
head
,
oclass
,
pobject
);
}
const
struct
nv50_disp_pioc_oclass
nv50_disp_oimm_oclass
=
{
.
base
.
oclass
=
NV50_DISP_OVERLAY
,
.
base
.
minver
=
0
,
.
base
.
maxver
=
0
,
.
ctor
=
nv50_disp_oimm_new
,
.
func
=
&
nv50_disp_pioc_func
,
.
chid
=
{
5
,
5
},
};
int
nv50_disp_oimm_new
(
const
struct
nvkm_oclass
*
oclass
,
void
*
argv
,
u32
argc
,
struct
nv50_disp
*
disp
,
struct
nvkm_object
**
pobject
)
{
return
nv50_disp_oimm_new_
(
&
nv50_disp_pioc_func
,
disp
,
5
,
5
,
oclass
,
argv
,
argc
,
pobject
);
}
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootg84.c
浏览文件 @
c2c3a003
...
...
@@ -33,10 +33,10 @@ g84_disp_root = {
&
g84_disp_base_oclass
,
},
.
pioc
=
{
&
g84_disp_oimm_oclass
,
&
g84_disp_curs_oclass
,
},
.
user
=
{
{{
0
,
0
,
G82_DISP_OVERLAY
},
nv50_disp_oimm_new
},
{{
0
,
0
,
G82_DISP_OVERLAY_CHANNEL_DMA
},
g84_disp_ovly_new
},
{}
},
...
...
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootg94.c
浏览文件 @
c2c3a003
...
...
@@ -33,10 +33,10 @@ g94_disp_root = {
&
gt200_disp_base_oclass
,
},
.
pioc
=
{
&
g84_disp_oimm_oclass
,
&
g84_disp_curs_oclass
,
},
.
user
=
{
{{
0
,
0
,
G82_DISP_OVERLAY
},
nv50_disp_oimm_new
},
{{
0
,
0
,
GT200_DISP_OVERLAY_CHANNEL_DMA
},
gt200_disp_ovly_new
},
{}
},
...
...
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootgf119.c
浏览文件 @
c2c3a003
...
...
@@ -33,10 +33,10 @@ gf119_disp_root = {
&
gf119_disp_base_oclass
,
},
.
pioc
=
{
&
gf119_disp_oimm_oclass
,
&
gf119_disp_curs_oclass
,
},
.
user
=
{
{{
0
,
0
,
GF110_DISP_OVERLAY
},
gf119_disp_oimm_new
},
{{
0
,
0
,
GF110_DISP_OVERLAY_CONTROL_DMA
},
gf119_disp_ovly_new
},
{}
},
...
...
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootgk104.c
浏览文件 @
c2c3a003
...
...
@@ -33,10 +33,10 @@ gk104_disp_root = {
&
gk104_disp_base_oclass
,
},
.
pioc
=
{
&
gk104_disp_oimm_oclass
,
&
gk104_disp_curs_oclass
,
},
.
user
=
{
{{
0
,
0
,
GK104_DISP_OVERLAY
},
gf119_disp_oimm_new
},
{{
0
,
0
,
GK104_DISP_OVERLAY_CONTROL_DMA
},
gk104_disp_ovly_new
},
{}
},
...
...
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootgk110.c
浏览文件 @
c2c3a003
...
...
@@ -33,10 +33,10 @@ gk110_disp_root = {
&
gk110_disp_base_oclass
,
},
.
pioc
=
{
&
gk104_disp_oimm_oclass
,
&
gk104_disp_curs_oclass
,
},
.
user
=
{
{{
0
,
0
,
GK104_DISP_OVERLAY
},
gf119_disp_oimm_new
},
{{
0
,
0
,
GK104_DISP_OVERLAY_CONTROL_DMA
},
gk104_disp_ovly_new
},
{}
},
...
...
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootgm107.c
浏览文件 @
c2c3a003
...
...
@@ -33,10 +33,10 @@ gm107_disp_root = {
&
gk110_disp_base_oclass
,
},
.
pioc
=
{
&
gk104_disp_oimm_oclass
,
&
gk104_disp_curs_oclass
,
},
.
user
=
{
{{
0
,
0
,
GK104_DISP_OVERLAY
},
gf119_disp_oimm_new
},
{{
0
,
0
,
GK104_DISP_OVERLAY_CONTROL_DMA
},
gk104_disp_ovly_new
},
{}
},
...
...
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootgm200.c
浏览文件 @
c2c3a003
...
...
@@ -33,10 +33,10 @@ gm200_disp_root = {
&
gk110_disp_base_oclass
,
},
.
pioc
=
{
&
gk104_disp_oimm_oclass
,
&
gk104_disp_curs_oclass
,
},
.
user
=
{
{{
0
,
0
,
GK104_DISP_OVERLAY
},
gf119_disp_oimm_new
},
{{
0
,
0
,
GK104_DISP_OVERLAY_CONTROL_DMA
},
gk104_disp_ovly_new
},
{}
},
...
...
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootgp100.c
浏览文件 @
c2c3a003
...
...
@@ -33,10 +33,10 @@ gp100_disp_root = {
&
gk110_disp_base_oclass
,
},
.
pioc
=
{
&
gk104_disp_oimm_oclass
,
&
gk104_disp_curs_oclass
,
},
.
user
=
{
{{
0
,
0
,
GK104_DISP_OVERLAY
},
gf119_disp_oimm_new
},
{{
0
,
0
,
GK104_DISP_OVERLAY_CONTROL_DMA
},
gk104_disp_ovly_new
},
{}
},
...
...
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootgp102.c
浏览文件 @
c2c3a003
...
...
@@ -33,10 +33,10 @@ gp102_disp_root = {
&
gp102_disp_base_oclass
,
},
.
pioc
=
{
&
gp102_disp_oimm_oclass
,
&
gp102_disp_curs_oclass
,
},
.
user
=
{
{{
0
,
0
,
GK104_DISP_OVERLAY
},
gp102_disp_oimm_new
},
{{
0
,
0
,
GK104_DISP_OVERLAY_CONTROL_DMA
},
gp102_disp_ovly_new
},
{}
},
...
...
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootgt200.c
浏览文件 @
c2c3a003
...
...
@@ -33,10 +33,10 @@ gt200_disp_root = {
&
gt200_disp_base_oclass
,
},
.
pioc
=
{
&
g84_disp_oimm_oclass
,
&
g84_disp_curs_oclass
,
},
.
user
=
{
{{
0
,
0
,
G82_DISP_OVERLAY
},
nv50_disp_oimm_new
},
{{
0
,
0
,
GT200_DISP_OVERLAY_CHANNEL_DMA
},
gt200_disp_ovly_new
},
{}
},
...
...
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootgt215.c
浏览文件 @
c2c3a003
...
...
@@ -33,10 +33,10 @@ gt215_disp_root = {
&
gt215_disp_base_oclass
,
},
.
pioc
=
{
&
gt215_disp_oimm_oclass
,
&
gt215_disp_curs_oclass
,
},
.
user
=
{
{{
0
,
0
,
GT214_DISP_OVERLAY
},
nv50_disp_oimm_new
},
{{
0
,
0
,
GT214_DISP_OVERLAY_CHANNEL_DMA
},
g84_disp_ovly_new
},
{}
},
...
...
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c
浏览文件 @
c2c3a003
...
...
@@ -371,10 +371,10 @@ nv50_disp_root = {
&
nv50_disp_base_oclass
,
},
.
pioc
=
{
&
nv50_disp_oimm_oclass
,
&
nv50_disp_curs_oclass
,
},
.
user
=
{
{{
0
,
0
,
NV50_DISP_OVERLAY
},
nv50_disp_oimm_new
},
{{
0
,
0
,
NV50_DISP_OVERLAY_CHANNEL_DMA
},
nv50_disp_ovly_new
},
{}
},
...
...
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.h
浏览文件 @
c2c3a003
...
...
@@ -14,7 +14,7 @@ struct nv50_disp_root {
struct
nv50_disp_root_func
{
const
struct
nv50_disp_dmac_oclass
*
dmac
[
2
];
const
struct
nv50_disp_pioc_oclass
*
pioc
[
2
];
const
struct
nv50_disp_pioc_oclass
*
pioc
[
1
];
struct
nv50_disp_user
{
struct
nvkm_sclass
base
;
int
(
*
ctor
)(
const
struct
nvkm_oclass
*
,
void
*
argv
,
u32
argc
,
...
...
This diff is collapsed.
Click to expand it.
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录
反馈
建议
客服
返回
顶部