Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
6effe393
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看板
提交
6effe393
编写于
12月 30, 2010
作者:
B
Ben Skeggs
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
drm/nv50: sync up gr data error names with rnn, use for nvc0 also
Signed-off-by:
N
Ben Skeggs
<
bskeggs@redhat.com
>
上级
eae5e7f3
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
44 addition
and
13 deletion
+44
-13
drivers/gpu/drm/nouveau/nouveau_drv.h
drivers/gpu/drm/nouveau/nouveau_drv.h
+1
-0
drivers/gpu/drm/nouveau/nv50_graph.c
drivers/gpu/drm/nouveau/nv50_graph.c
+42
-7
drivers/gpu/drm/nouveau/nvc0_graph.c
drivers/gpu/drm/nouveau/nvc0_graph.c
+1
-6
未找到文件。
drivers/gpu/drm/nouveau/nouveau_drv.h
浏览文件 @
6effe393
...
...
@@ -1189,6 +1189,7 @@ extern int nv50_graph_unload_context(struct drm_device *);
extern
int
nv50_grctx_init
(
struct
nouveau_grctx
*
);
extern
void
nv50_graph_tlb_flush
(
struct
drm_device
*
dev
);
extern
void
nv86_graph_tlb_flush
(
struct
drm_device
*
dev
);
extern
struct
nouveau_enum
nv50_data_error_names
[];
/* nvc0_graph.c */
extern
int
nvc0_graph_init
(
struct
drm_device
*
);
...
...
drivers/gpu/drm/nouveau/nv50_graph.c
浏览文件 @
6effe393
...
...
@@ -554,13 +554,48 @@ static struct nouveau_bitfield nv50_graph_trap_ccache[] = {
};
/* There must be a *lot* of these. Will take some time to gather them up. */
static
struct
nouveau_enum
nv50_data_error_names
[]
=
{
{
4
,
"INVALID_VALUE"
},
{
5
,
"INVALID_ENUM"
},
{
8
,
"INVALID_OBJECT"
},
{
0xc
,
"INVALID_BITFIELD"
},
{
0x28
,
"MP_NO_REG_SPACE"
},
{
0x2b
,
"MP_BLOCK_SIZE_MISMATCH"
},
struct
nouveau_enum
nv50_data_error_names
[]
=
{
{
0x00000003
,
"INVALID_QUERY_OR_TEXTURE"
},
{
0x00000004
,
"INVALID_VALUE"
},
{
0x00000005
,
"INVALID_ENUM"
},
{
0x00000008
,
"INVALID_OBJECT"
},
{
0x00000009
,
"READ_ONLY_OBJECT"
},
{
0x0000000a
,
"SUPERVISOR_OBJECT"
},
{
0x0000000b
,
"INVALID_ADDRESS_ALIGNMENT"
},
{
0x0000000c
,
"INVALID_BITFIELD"
},
{
0x0000000d
,
"BEGIN_END_ACTIVE"
},
{
0x0000000e
,
"SEMANTIC_COLOR_BACK_OVER_LIMIT"
},
{
0x0000000f
,
"VIEWPORT_ID_NEEDS_GP"
},
{
0x00000010
,
"RT_DOUBLE_BIND"
},
{
0x00000011
,
"RT_TYPES_MISMATCH"
},
{
0x00000012
,
"RT_LINEAR_WITH_ZETA"
},
{
0x00000015
,
"FP_TOO_FEW_REGS"
},
{
0x00000016
,
"ZETA_FORMAT_CSAA_MISMATCH"
},
{
0x00000017
,
"RT_LINEAR_WITH_MSAA"
},
{
0x00000018
,
"FP_INTERPOLANT_START_OVER_LIMIT"
},
{
0x00000019
,
"SEMANTIC_LAYER_OVER_LIMIT"
},
{
0x0000001a
,
"RT_INVALID_ALIGNMENT"
},
{
0x0000001b
,
"SAMPLER_OVER_LIMIT"
},
{
0x0000001c
,
"TEXTURE_OVER_LIMIT"
},
{
0x0000001e
,
"GP_TOO_MANY_OUTPUTS"
},
{
0x0000001f
,
"RT_BPP128_WITH_MS8"
},
{
0x00000021
,
"Z_OUT_OF_BOUNDS"
},
{
0x00000023
,
"XY_OUT_OF_BOUNDS"
},
{
0x00000027
,
"CP_MORE_PARAMS_THAN_SHARED"
},
{
0x00000028
,
"CP_NO_REG_SPACE_STRIPED"
},
{
0x00000029
,
"CP_NO_REG_SPACE_PACKED"
},
{
0x0000002a
,
"CP_NOT_ENOUGH_WARPS"
},
{
0x0000002b
,
"CP_BLOCK_SIZE_MISMATCH"
},
{
0x0000002c
,
"CP_NOT_ENOUGH_LOCAL_WARPS"
},
{
0x0000002d
,
"CP_NOT_ENOUGH_STACK_WARPS"
},
{
0x0000002e
,
"CP_NO_BLOCKDIM_LATCH"
},
{
0x00000031
,
"ENG2D_FORMAT_MISMATCH"
},
{
0x0000003f
,
"PRIMITIVE_ID_NEEDS_GP"
},
{
0x00000044
,
"SEMANTIC_VIEWPORT_OVER_LIMIT"
},
{
0x00000045
,
"SEMANTIC_COLOR_FRONT_OVER_LIMIT"
},
{
0x00000046
,
"LAYER_ID_NEEDS_GP"
},
{
0x00000047
,
"SEMANTIC_CLIP_OVER_LIMIT"
},
{
0x00000048
,
"SEMANTIC_PTSZ_OVER_LIMIT"
},
{}
};
...
...
drivers/gpu/drm/nouveau/nvc0_graph.c
浏览文件 @
6effe393
...
...
@@ -693,11 +693,6 @@ nvc0_graph_init(struct drm_device *dev)
return
0
;
}
static
struct
nouveau_enum
nvc0_graph_data_error
[]
=
{
{
5
,
"INVALID_ENUM"
},
{}
};
static
int
nvc0_graph_isr_chid
(
struct
drm_device
*
dev
,
u64
inst
)
{
...
...
@@ -750,7 +745,7 @@ nvc0_graph_isr(struct drm_device *dev)
if
(
stat
&
0x00100000
)
{
NV_INFO
(
dev
,
"PGRAPH: DATA_ERROR ["
);
nouveau_enum_print
(
nv
c0_graph_data_error
,
code
);
nouveau_enum_print
(
nv
50_data_error_names
,
code
);
printk
(
"] ch %d [0x%010llx] subc %d class 0x%04x "
"mthd 0x%04x data 0x%08x
\n
"
,
chid
,
inst
,
subc
,
class
,
mthd
,
data
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录