Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
9862e600
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
9862e600
编写于
1月 04, 2011
作者:
C
Chris Wilson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
drm/i915/debugfs: Show the per-ring IMR
Signed-off-by:
N
Chris Wilson
<
chris@chris-wilson.co.uk
>
上级
0f46832f
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
24 addition
and
14 deletion
+24
-14
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_debugfs.c
+7
-1
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/i915_irq.c
+4
-1
drivers/gpu/drm/i915/intel_ringbuffer.h
drivers/gpu/drm/i915/intel_ringbuffer.h
+13
-12
未找到文件。
drivers/gpu/drm/i915/i915_debugfs.c
浏览文件 @
9862e600
...
...
@@ -456,8 +456,14 @@ static int i915_interrupt_info(struct seq_file *m, void *data)
}
seq_printf
(
m
,
"Interrupts received: %d
\n
"
,
atomic_read
(
&
dev_priv
->
irq_received
));
for
(
i
=
0
;
i
<
I915_NUM_RINGS
;
i
++
)
for
(
i
=
0
;
i
<
I915_NUM_RINGS
;
i
++
)
{
if
(
IS_GEN6
(
dev
))
{
seq_printf
(
m
,
"Graphics Interrupt mask (%s): %08x
\n
"
,
dev_priv
->
ring
[
i
].
name
,
I915_READ_IMR
(
&
dev_priv
->
ring
[
i
]));
}
i915_ring_seqno_info
(
m
,
&
dev_priv
->
ring
[
i
]);
}
mutex_unlock
(
&
dev
->
struct_mutex
);
return
0
;
...
...
drivers/gpu/drm/i915/i915_irq.c
浏览文件 @
9862e600
...
...
@@ -349,9 +349,12 @@ static void notify_ring(struct drm_device *dev,
{
struct
drm_i915_private
*
dev_priv
=
dev
->
dev_private
;
u32
seqno
=
ring
->
get_seqno
(
ring
);
ring
->
irq_seqno
=
seqno
;
trace_i915_gem_request_complete
(
dev
,
seqno
);
ring
->
irq_seqno
=
seqno
;
wake_up_all
(
&
ring
->
irq_queue
);
dev_priv
->
hangcheck_count
=
0
;
mod_timer
(
&
dev_priv
->
hangcheck_timer
,
jiffies
+
msecs_to_jiffies
(
DRM_I915_HANGCHECK_PERIOD
));
...
...
drivers/gpu/drm/i915/intel_ringbuffer.h
浏览文件 @
9862e600
...
...
@@ -16,23 +16,24 @@ struct intel_hw_status_page {
#define I915_RING_READ(reg) i915_safe_read(dev_priv, reg)
#define I915_READ_TAIL(ring) I915_RING_READ(RING_TAIL(
ring
->mmio_base))
#define I915_WRITE_TAIL(ring, val) I915_WRITE(RING_TAIL(
ring
->mmio_base), val)
#define I915_READ_TAIL(ring) I915_RING_READ(RING_TAIL(
(ring)
->mmio_base))
#define I915_WRITE_TAIL(ring, val) I915_WRITE(RING_TAIL(
(ring)
->mmio_base), val)
#define I915_READ_START(ring) I915_RING_READ(RING_START(
ring
->mmio_base))
#define I915_WRITE_START(ring, val) I915_WRITE(RING_START(
ring
->mmio_base), val)
#define I915_READ_START(ring) I915_RING_READ(RING_START(
(ring)
->mmio_base))
#define I915_WRITE_START(ring, val) I915_WRITE(RING_START(
(ring)
->mmio_base), val)
#define I915_READ_HEAD(ring) I915_RING_READ(RING_HEAD(
ring
->mmio_base))
#define I915_WRITE_HEAD(ring, val) I915_WRITE(RING_HEAD(
ring
->mmio_base), val)
#define I915_READ_HEAD(ring) I915_RING_READ(RING_HEAD(
(ring)
->mmio_base))
#define I915_WRITE_HEAD(ring, val) I915_WRITE(RING_HEAD(
(ring)
->mmio_base), val)
#define I915_READ_CTL(ring) I915_RING_READ(RING_CTL(
ring
->mmio_base))
#define I915_WRITE_CTL(ring, val) I915_WRITE(RING_CTL(
ring
->mmio_base), val)
#define I915_READ_CTL(ring) I915_RING_READ(RING_CTL(
(ring)
->mmio_base))
#define I915_WRITE_CTL(ring, val) I915_WRITE(RING_CTL(
(ring)
->mmio_base), val)
#define I915_WRITE_IMR(ring, val) I915_WRITE(RING_IMR(ring->mmio_base), val)
#define I915_WRITE_IMR(ring, val) I915_WRITE(RING_IMR((ring)->mmio_base), val)
#define I915_READ_IMR(ring) I915_RING_READ(RING_IMR((ring)->mmio_base))
#define I915_READ_NOPID(ring) I915_RING_READ(RING_NOPID(
ring
->mmio_base))
#define I915_READ_SYNC_0(ring) I915_RING_READ(RING_SYNC_0(
ring
->mmio_base))
#define I915_READ_SYNC_1(ring) I915_RING_READ(RING_SYNC_1(
ring
->mmio_base))
#define I915_READ_NOPID(ring) I915_RING_READ(RING_NOPID(
(ring)
->mmio_base))
#define I915_READ_SYNC_0(ring) I915_RING_READ(RING_SYNC_0(
(ring)
->mmio_base))
#define I915_READ_SYNC_1(ring) I915_RING_READ(RING_SYNC_1(
(ring)
->mmio_base))
struct
intel_ring_buffer
{
const
char
*
name
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录