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't think that all the decode and formatting of these registers
should be in the kernel.  Every time I've had to mess with register
decode stuff for investigation, I've needed to extend the decode.
Instead, we should expose the raw register values and make
intel_reg_dumper in intel-gpu-tools that does the decode of actual
meaning.

-- 
Eric Anholt
[email protected]                         [email protected]


Attachment: signature.asc
Description: This is a digitally signed message part

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to