Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
3740c825
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
160
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看板
提交
3740c825
编写于
3月 26, 2015
作者:
B
Ben Skeggs
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
drm/nouveau/gr/gf100-: add symbolic names for classes
Signed-off-by:
N
Ben Skeggs
<
bskeggs@redhat.com
>
上级
8fd4b7d4
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
24 addition
and
17 deletion
+24
-17
drivers/gpu/drm/nouveau/include/nvif/class.h
drivers/gpu/drm/nouveau/include/nvif/class.h
+7
-0
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
+2
-2
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf108.c
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf108.c
+2
-2
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf110.c
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf110.c
+2
-2
drivers/gpu/drm/nouveau/nvkm/engine/gr/gk104.c
drivers/gpu/drm/nouveau/nvkm/engine/gr/gk104.c
+2
-2
drivers/gpu/drm/nouveau/nvkm/engine/gr/gk110.c
drivers/gpu/drm/nouveau/nvkm/engine/gr/gk110.c
+2
-2
drivers/gpu/drm/nouveau/nvkm/engine/gr/gk208.c
drivers/gpu/drm/nouveau/nvkm/engine/gr/gk208.c
+3
-3
drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.c
drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.c
+2
-2
drivers/gpu/drm/nouveau/nvkm/engine/gr/gm107.c
drivers/gpu/drm/nouveau/nvkm/engine/gr/gm107.c
+2
-2
未找到文件。
drivers/gpu/drm/nouveau/include/nvif/class.h
浏览文件 @
3740c825
...
...
@@ -12,6 +12,13 @@
#define NV_DMA_TO_MEMORY 0x00000003
#define NV_DMA_IN_MEMORY 0x0000003d
#define FERMI_TWOD_A 0x0000902d
#define FERMI_MEMORY_TO_MEMORY_FORMAT_A 0x0000903d
#define KEPLER_INLINE_TO_MEMORY_A 0x0000a040
#define KEPLER_INLINE_TO_MEMORY_B 0x0000a140
#define NV04_DISP 0x00000046
#define NV03_CHANNEL_DMA 0x0000006b
...
...
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
浏览文件 @
3740c825
...
...
@@ -260,8 +260,8 @@ gf100_gr_90c0_omthds[] = {
struct
nvkm_oclass
gf100_gr_sclass
[]
=
{
{
0x902d
,
&
nvkm_object_ofuncs
},
{
0x9039
,
&
nvkm_object_ofuncs
},
{
FERMI_TWOD_A
,
&
nvkm_object_ofuncs
},
{
FERMI_MEMORY_TO_MEMORY_FORMAT_A
,
&
nvkm_object_ofuncs
},
{
FERMI_A
,
&
gf100_fermi_ofuncs
,
gf100_gr_9097_omthds
},
{
FERMI_COMPUTE_A
,
&
nvkm_object_ofuncs
,
gf100_gr_90c0_omthds
},
{}
...
...
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf108.c
浏览文件 @
3740c825
...
...
@@ -32,8 +32,8 @@
static
struct
nvkm_oclass
gf108_gr_sclass
[]
=
{
{
0x902d
,
&
nvkm_object_ofuncs
},
{
0x9039
,
&
nvkm_object_ofuncs
},
{
FERMI_TWOD_A
,
&
nvkm_object_ofuncs
},
{
FERMI_MEMORY_TO_MEMORY_FORMAT_A
,
&
nvkm_object_ofuncs
},
{
FERMI_A
,
&
gf100_fermi_ofuncs
,
gf100_gr_9097_omthds
},
{
FERMI_B
,
&
gf100_fermi_ofuncs
,
gf100_gr_9097_omthds
},
{
FERMI_COMPUTE_A
,
&
nvkm_object_ofuncs
,
gf100_gr_90c0_omthds
},
...
...
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf110.c
浏览文件 @
3740c825
...
...
@@ -32,8 +32,8 @@
struct
nvkm_oclass
gf110_gr_sclass
[]
=
{
{
0x902d
,
&
nvkm_object_ofuncs
},
{
0x9039
,
&
nvkm_object_ofuncs
},
{
FERMI_TWOD_A
,
&
nvkm_object_ofuncs
},
{
FERMI_MEMORY_TO_MEMORY_FORMAT_A
,
&
nvkm_object_ofuncs
},
{
FERMI_A
,
&
gf100_fermi_ofuncs
,
gf100_gr_9097_omthds
},
{
FERMI_B
,
&
gf100_fermi_ofuncs
,
gf100_gr_9097_omthds
},
{
FERMI_C
,
&
gf100_fermi_ofuncs
,
gf100_gr_9097_omthds
},
...
...
drivers/gpu/drm/nouveau/nvkm/engine/gr/gk104.c
浏览文件 @
3740c825
...
...
@@ -34,8 +34,8 @@
static
struct
nvkm_oclass
gk104_gr_sclass
[]
=
{
{
0x902d
,
&
nvkm_object_ofuncs
},
{
0xa040
,
&
nvkm_object_ofuncs
},
{
FERMI_TWOD_A
,
&
nvkm_object_ofuncs
},
{
KEPLER_INLINE_TO_MEMORY_A
,
&
nvkm_object_ofuncs
},
{
KEPLER_A
,
&
gf100_fermi_ofuncs
,
gf100_gr_9097_omthds
},
{
KEPLER_COMPUTE_A
,
&
nvkm_object_ofuncs
,
gf100_gr_90c0_omthds
},
{}
...
...
drivers/gpu/drm/nouveau/nvkm/engine/gr/gk110.c
浏览文件 @
3740c825
...
...
@@ -34,8 +34,8 @@
struct
nvkm_oclass
gk110_gr_sclass
[]
=
{
{
0x902d
,
&
nvkm_object_ofuncs
},
{
0xa140
,
&
nvkm_object_ofuncs
},
{
FERMI_TWOD_A
,
&
nvkm_object_ofuncs
},
{
KEPLER_INLINE_TO_MEMORY_B
,
&
nvkm_object_ofuncs
},
{
KEPLER_B
,
&
gf100_fermi_ofuncs
,
gf100_gr_9097_omthds
},
{
KEPLER_COMPUTE_B
,
&
nvkm_object_ofuncs
,
gf100_gr_90c0_omthds
},
{}
...
...
drivers/gpu/drm/nouveau/nvkm/engine/gr/gk208.c
浏览文件 @
3740c825
...
...
@@ -34,10 +34,10 @@
static
struct
nvkm_oclass
gk208_gr_sclass
[]
=
{
{
0x902d
,
&
nvkm_object_ofuncs
},
{
0xa140
,
&
nvkm_object_ofuncs
},
{
FERMI_TWOD_A
,
&
nvkm_object_ofuncs
},
{
KEPLER_INLINE_TO_MEMORY_B
,
&
nvkm_object_ofuncs
},
{
KEPLER_B
,
&
gf100_fermi_ofuncs
},
{
0xa1c0
,
&
nvkm_object_ofuncs
},
{
KEPLER_COMPUTE_B
,
&
nvkm_object_ofuncs
},
{}
};
...
...
drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.c
浏览文件 @
3740c825
...
...
@@ -26,8 +26,8 @@
static
struct
nvkm_oclass
gk20a_gr_sclass
[]
=
{
{
0x902d
,
&
nvkm_object_ofuncs
},
{
0xa040
,
&
nvkm_object_ofuncs
},
{
FERMI_TWOD_A
,
&
nvkm_object_ofuncs
},
{
KEPLER_INLINE_TO_MEMORY_A
,
&
nvkm_object_ofuncs
},
{
KEPLER_C
,
&
gf100_fermi_ofuncs
,
gf100_gr_9097_omthds
},
{
KEPLER_COMPUTE_A
,
&
nvkm_object_ofuncs
,
gf100_gr_90c0_omthds
},
{}
...
...
drivers/gpu/drm/nouveau/nvkm/engine/gr/gm107.c
浏览文件 @
3740c825
...
...
@@ -35,8 +35,8 @@
static
struct
nvkm_oclass
gm107_gr_sclass
[]
=
{
{
0x902d
,
&
nvkm_object_ofuncs
},
{
0xa140
,
&
nvkm_object_ofuncs
},
{
FERMI_TWOD_A
,
&
nvkm_object_ofuncs
},
{
KEPLER_INLINE_TO_MEMORY_B
,
&
nvkm_object_ofuncs
},
{
MAXWELL_A
,
&
gf100_fermi_ofuncs
,
gf100_gr_9097_omthds
},
{
MAXWELL_COMPUTE_A
,
&
nvkm_object_ofuncs
,
gf100_gr_90c0_omthds
},
{}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录