Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
4066c0ae
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看板
提交
4066c0ae
编写于
10月 29, 2010
作者:
C
Chris Wilson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
drm/i915/debugfs: Display the contents of the BLT and BSD status pages
Signed-off-by:
N
Chris Wilson
<
chris@chris-wilson.co.uk
>
上级
e380f60b
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
13 addition
and
3 deletion
+13
-3
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_debugfs.c
+13
-3
未找到文件。
drivers/gpu/drm/i915/i915_debugfs.c
浏览文件 @
4066c0ae
...
@@ -445,10 +445,18 @@ static int i915_hws_info(struct seq_file *m, void *data)
...
@@ -445,10 +445,18 @@ static int i915_hws_info(struct seq_file *m, void *data)
struct
drm_info_node
*
node
=
(
struct
drm_info_node
*
)
m
->
private
;
struct
drm_info_node
*
node
=
(
struct
drm_info_node
*
)
m
->
private
;
struct
drm_device
*
dev
=
node
->
minor
->
dev
;
struct
drm_device
*
dev
=
node
->
minor
->
dev
;
drm_i915_private_t
*
dev_priv
=
dev
->
dev_private
;
drm_i915_private_t
*
dev_priv
=
dev
->
dev_private
;
int
i
;
struct
intel_ring_buffer
*
ring
;
volatile
u32
*
hws
;
volatile
u32
*
hws
;
int
i
;
switch
((
uintptr_t
)
node
->
info_ent
->
data
)
{
case
RENDER_RING
:
ring
=
&
dev_priv
->
render_ring
;
break
;
case
BSD_RING
:
ring
=
&
dev_priv
->
bsd_ring
;
break
;
case
BLT_RING
:
ring
=
&
dev_priv
->
blt_ring
;
break
;
default:
return
-
EINVAL
;
}
hws
=
(
volatile
u32
*
)
dev_priv
->
render_ring
.
status_page
.
page_addr
;
hws
=
(
volatile
u32
*
)
ring
->
status_page
.
page_addr
;
if
(
hws
==
NULL
)
if
(
hws
==
NULL
)
return
0
;
return
0
;
...
@@ -1087,7 +1095,9 @@ static struct drm_info_list i915_debugfs_list[] = {
...
@@ -1087,7 +1095,9 @@ static struct drm_info_list i915_debugfs_list[] = {
{
"i915_gem_seqno"
,
i915_gem_seqno_info
,
0
},
{
"i915_gem_seqno"
,
i915_gem_seqno_info
,
0
},
{
"i915_gem_fence_regs"
,
i915_gem_fence_regs_info
,
0
},
{
"i915_gem_fence_regs"
,
i915_gem_fence_regs_info
,
0
},
{
"i915_gem_interrupt"
,
i915_interrupt_info
,
0
},
{
"i915_gem_interrupt"
,
i915_interrupt_info
,
0
},
{
"i915_gem_hws"
,
i915_hws_info
,
0
},
{
"i915_gem_hws"
,
i915_hws_info
,
0
,
(
void
*
)
RENDER_RING
},
{
"i915_gem_hws_blt"
,
i915_hws_info
,
0
,
(
void
*
)
BLT_RING
},
{
"i915_gem_hws_bsd"
,
i915_hws_info
,
0
,
(
void
*
)
BSD_RING
},
{
"i915_ringbuffer_data"
,
i915_ringbuffer_data
,
0
,
(
void
*
)
RENDER_RING
},
{
"i915_ringbuffer_data"
,
i915_ringbuffer_data
,
0
,
(
void
*
)
RENDER_RING
},
{
"i915_ringbuffer_info"
,
i915_ringbuffer_info
,
0
,
(
void
*
)
RENDER_RING
},
{
"i915_ringbuffer_info"
,
i915_ringbuffer_info
,
0
,
(
void
*
)
RENDER_RING
},
{
"i915_bsd_ringbuffer_data"
,
i915_ringbuffer_data
,
0
,
(
void
*
)
BSD_RING
},
{
"i915_bsd_ringbuffer_data"
,
i915_ringbuffer_data
,
0
,
(
void
*
)
BSD_RING
},
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录