[Intel-gfx] [I-G-T PATCH] tools/intel_reg_dumper: add hsw backlight registers

Jani Nikula jani.nikula at intel.com
Mon Mar 4 11:22:10 CET 2013


The more the merrier.

Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
 lib/intel_reg.h          |    5 +++++
 tools/intel_reg_dumper.c |    5 +++++
 2 files changed, 10 insertions(+)

diff --git a/lib/intel_reg.h b/lib/intel_reg.h
index 99d97bb..db07064 100644
--- a/lib/intel_reg.h
+++ b/lib/intel_reg.h
@@ -3465,6 +3465,11 @@ typedef enum {
 #define  PWM_PIPE_B             (1 << 29)
 #define BLC_PWM_CPU_CTL         0x48254
 
+#define BLC_PWM2_CTL		0x48350
+#define BLC_PWM2_DATA		0x48354
+#define BLC_MISC_CTL		0x48360
+#define UTIL_PIN_CTL		0x48400
+
 #define BLC_PWM_PCH_CTL1        0xc8250
 #define  PWM_PCH_ENABLE         (1 << 31)
 #define  PWM_POLARITY_ACTIVE_LOW        (1 << 29)
diff --git a/tools/intel_reg_dumper.c b/tools/intel_reg_dumper.c
index 20f332f..9f22720 100644
--- a/tools/intel_reg_dumper.c
+++ b/tools/intel_reg_dumper.c
@@ -1899,6 +1899,11 @@ static struct reg_debug haswell_debug_regs[] = {
 	/* Fuses */
 	DEFINEREG(SFUSE_STRAP),
 
+	/* Backlight */
+	DEFINEREG(BLC_PWM2_CTL),
+	DEFINEREG(BLC_PWM2_DATA),
+	DEFINEREG(BLC_MISC_CTL),
+	DEFINEREG(UTIL_PIN_CTL),
 };
 
 static struct reg_debug i945gm_mi_regs[] = {
-- 
1.7.9.5




More information about the Intel-gfx mailing list