tools/reg_dumper: Add FW_BLC regs
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 20 Nov 2013 09:58:55 +0000 (10:58 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 20 Nov 2013 10:00:17 +0000 (11:00 +0100)
Debugging watermark issues on gen2/3 without them is hard ...

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
lib/intel_reg.h
tools/intel_reg_dumper.c

index e545bfa..4c1dbd8 100644 (file)
@@ -2449,6 +2449,9 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 # define VBLANK_INT_STATUS     (1 << 1)
 # define OREG_UPDATE_STATUS    (1 << 0)
                                 
+#define FW_BLC         0x020d8
+#define FW_BLC2                0x020dc
+#define FW_BLC_SELF    0x020e0 /* 915+ only */
 
 #define DSPARB                 0x70030
 #define   DSPARB_CSTART_SHIFT  7
index e67d5a8..de518f5 100644 (file)
@@ -749,6 +749,9 @@ static struct reg_debug intel_debug_regs[] = {
 /*    DEFINEREG(UDIB_SHA_BLANK_CODES), CRL only */
        DEFINEREG(SDVOUDI),
        DEFINEREG(DSPARB),
+       DEFINEREG(FW_BLC),
+       DEFINEREG(FW_BLC2),
+       DEFINEREG(FW_BLC_SELF),
        DEFINEREG(DSPFW1),
        DEFINEREG(DSPFW2),
        DEFINEREG(DSPFW3),