Re: [RFC] [Patch] [DRM/I915] :Add a debufs I/F to dump the I915 register

2009-06-11 Thread Eric Anholt
On Tue, 2009-06-09 at 18:46 -0700, Jesse Barnes wrote: > On Wed, 10 Jun 2009 09:06:47 +0800 > yakui_zhao wrote: > > > On Wed, 2009-06-10 at 06:35 +0800, Jesse Barnes wrote: > > > On Tue, 09 Jun 2009 15:16:53 -0700 > > > Eric Anholt wrote: > > > > > > > On Mon, 2009-06-08 at 08:52 +0800, yakui_z

Re: [RFC] [Patch] [DRM/I915] :Add a debufs I/F to dump the I915 register

2009-06-09 Thread yakui_zhao
On Wed, 2009-06-10 at 06:35 +0800, Jesse Barnes wrote: > On Tue, 09 Jun 2009 15:16:53 -0700 > Eric Anholt wrote: > > > On Mon, 2009-06-08 at 08:52 +0800, yakui_zhao wrote: > > > On Fri, 2009-06-05 at 19:11 +0800, Eric Anholt wrote: > > > > On Fri, 2009-06-05 at 15:45 +0800, yakui_zhao wrote: > >

Re: [RFC] [Patch] [DRM/I915] :Add a debufs I/F to dump the I915 register

2009-06-09 Thread yakui_zhao
On Wed, 2009-06-10 at 06:16 +0800, Eric Anholt wrote: > On Mon, 2009-06-08 at 08:52 +0800, yakui_zhao wrote: > > On Fri, 2009-06-05 at 19:11 +0800, Eric Anholt wrote: > > > On Fri, 2009-06-05 at 15:45 +0800, yakui_zhao wrote: > > > > It is useful to get the register snapshot. > > > > Add a debugfs

Re: [RFC] [Patch] [DRM/I915] :Add a debufs I/F to dump the I915 register

2009-06-09 Thread Jesse Barnes
On Wed, 10 Jun 2009 09:06:47 +0800 yakui_zhao wrote: > On Wed, 2009-06-10 at 06:35 +0800, Jesse Barnes wrote: > > On Tue, 09 Jun 2009 15:16:53 -0700 > > Eric Anholt wrote: > > > > > On Mon, 2009-06-08 at 08:52 +0800, yakui_zhao wrote: > > > > On Fri, 2009-06-05 at 19:11 +0800, Eric Anholt wrote

Re: [RFC] [Patch] [DRM/I915] :Add a debufs I/F to dump the I915 register

2009-06-09 Thread Jesse Barnes
On Tue, 09 Jun 2009 15:16:53 -0700 Eric Anholt wrote: > On Mon, 2009-06-08 at 08:52 +0800, yakui_zhao wrote: > > On Fri, 2009-06-05 at 19:11 +0800, Eric Anholt wrote: > > > On Fri, 2009-06-05 at 15:45 +0800, yakui_zhao wrote: > > > > It is useful to get the register snapshot. > > > > Add a debug

Re: [RFC] [Patch] [DRM/I915] :Add a debufs I/F to dump the I915 register

2009-06-09 Thread Eric Anholt
On Mon, 2009-06-08 at 08:52 +0800, yakui_zhao wrote: > On Fri, 2009-06-05 at 19:11 +0800, Eric Anholt wrote: > > On Fri, 2009-06-05 at 15:45 +0800, yakui_zhao wrote: > > > It is useful to get the register snapshot. > > > Add a debugfs I/F named "i915_reg" to dump the I915 register snapshot. > > >

Re: [Intel-gfx] [RFC] [Patch] [DRM/I915] :Add a debufs I/F to dump the I915 register

2009-06-08 Thread Simon Farnsworth
yakui_zhao wrote: > Sometimes we can see the register snapshot without using the > intel-gpu-tools. For example: in UMS mode we often get the register > snapshot several times in starting X. > > It will be good that we expose the raw register values and then they are > parsed by intel-gpu-tools i

Re: [RFC] [Patch] [DRM/I915] :Add a debufs I/F to dump the I915 register

2009-06-08 Thread yakui_zhao
On Fri, 2009-06-05 at 19:11 +0800, Eric Anholt wrote: > On Fri, 2009-06-05 at 15:45 +0800, yakui_zhao wrote: > > It is useful to get the register snapshot. > > Add a debugfs I/F named "i915_reg" to dump the I915 register snapshot. And > > this > > is created under the dri/0/ of debugfs. > > The

Re: [RFC] [Patch] [DRM/I915] :Add a debufs I/F to dump the I915 register

2009-06-05 Thread Eric Anholt
On Fri, 2009-06-05 at 15:45 +0800, yakui_zhao wrote: > It is useful to get the register snapshot. > Add a debugfs I/F named "i915_reg" to dump the I915 register snapshot. And > this > is created under the dri/0/ of debugfs. > The output format is similar to what we have done in UMS mode. I don'

[RFC] [Patch] [DRM/I915] :Add a debufs I/F to dump the I915 register

2009-06-05 Thread yakui_zhao
It is useful to get the register snapshot. Add a debugfs I/F named "i915_reg" to dump the I915 register snapshot. And this is created under the dri/0/ of debugfs. The output format is similar to what we have done in UMS mode. Signed-off-by: Zhao Yakui --- drivers/gpu/drm/i915/Makefile