[Intel-gfx] [PATCH] intel_reg_dumper: Add a single register decode mode

Chris Wilson chris at chris-wilson.co.uk
Thu Aug 30 18:41:34 CEST 2012


On Thu, 30 Aug 2012 17:07:39 +0100, Damien Lespiau <damien.lespiau at gmail.com> wrote:
> From: Damien Lespiau <damien.lespiau at intel.com>
> 
> From time to time, one would like to decode a register value that have
> been captured at a certain point in time (and say printed out with a
> printk). intel_reg_dumper has all the knowledge to do that and this
> patch adds a -r option to use the tool in that mode.
> 
> Example usage:
> 
> $ ./tools/intel_reg_dumper -r PCH_PP_CONTROL 0xabcd0002
>        PCH_PP_CONTROL: 0xabcd0002 (blacklight disabled, power...

It's a good idea. Though I would rather have:
  $ intel_reg_decode PCH_PP_CONTROL 0xabcd1234
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list