[Intel-gfx] [PATCH 09/10] debugging: add important debug regs
Chris Wilson
chris at chris-wilson.co.uk
Wed Jul 13 23:20:28 CEST 2011
On Wed, 13 Jul 2011 13:51:51 -0700, Ben Widawsky <ben at bwidawsk.net> wrote:
> Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
> ---
> lib/intel_reg.h | 5 +++++
> 1 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/lib/intel_reg.h b/lib/intel_reg.h
> index 48d8f66..ef9cb63 100644
> --- a/lib/intel_reg.h
> +++ b/lib/intel_reg.h
> @@ -3488,5 +3488,10 @@ typedef enum {
> #define TRANS_DP_HSYNC_ACTIVE_HIGH (1<<3)
> #define TRANS_DP_HSYNC_ACTIVE_LOW 0
>
> +/* Debug */
> +#define INSTPM 0x20c0
> +#define INSTPM_GLOBAL_DEBUG_EN (1<<4)
This is a fun little reg that changes meaning on every generation. Might
be worth putting in GENx prefixes from the beginning.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list