All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Airlie <airlied@gmail.com>
To: intel-gfx@lists.freedesktop.org
Subject: [PATCH] intel_reg_dumper: add PIPE_MULT
Date: Wed, 30 Apr 2014 15:56:00 +1000	[thread overview]
Message-ID: <1398837360-20405-1-git-send-email-airlied@gmail.com> (raw)

From: Dave Airlie <airlied@redhat.com>

this is defined in the hsw docs, for the hdmi/dvi multiplier.

Signed-off-by: Dave Airlie <airlied@redhat.com>
---
 lib/intel_reg.h          | 3 +++
 tools/intel_reg_dumper.c | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/lib/intel_reg.h b/lib/intel_reg.h
index 4b3a102..82ea85f 100644
--- a/lib/intel_reg.h
+++ b/lib/intel_reg.h
@@ -849,6 +849,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 #define PIPEASRC	0x6001c
 #define BCLRPAT_A	0x60020
 #define VSYNCSHIFT_A	0x60028
+#define MULT_A  	0x6002C
 
 #define HTOTAL_B	0x61000
 #define HBLANK_B	0x61004
@@ -859,6 +860,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 #define PIPEBSRC	0x6101c
 #define BCLRPAT_B	0x61020
 #define VSYNCSHIFT_B	0x61028
+#define MULT_B  	0x6102C
 
 #define HTOTAL_C	0x62000
 #define HBLANK_C	0x62004
@@ -869,6 +871,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 #define PIPECSRC	0x6201c
 #define BCLRPAT_C	0x62020
 #define VSYNCSHIFT_C	0x62028
+#define MULT_C  	0x6202C
 
 #define HTOTAL_EDP	0x6F000
 #define HBLANK_EDP	0x6F004
diff --git a/tools/intel_reg_dumper.c b/tools/intel_reg_dumper.c
index a482b5d..c0a5f7a 100644
--- a/tools/intel_reg_dumper.c
+++ b/tools/intel_reg_dumper.c
@@ -2475,6 +2475,7 @@ static struct reg_debug haswell_debug_regs[] = {
 	DEFINEREG2(VBLANK_A, i830_debug_hvsyncblank),
 	DEFINEREG2(VSYNC_A, i830_debug_hvsyncblank),
 	DEFINEREG(VSYNCSHIFT_A),
+	DEFINEREG(MULT_A),
 	DEFINEREG2(PIPEA_DATA_M1, ironlake_debug_m_tu),
 	DEFINEREG2(PIPEA_DATA_N1, ironlake_debug_n),
 	DEFINEREG2(PIPEA_LINK_M1, ironlake_debug_n),
@@ -2489,6 +2490,7 @@ static struct reg_debug haswell_debug_regs[] = {
 	DEFINEREG2(VBLANK_B, i830_debug_hvsyncblank),
 	DEFINEREG2(VSYNC_B, i830_debug_hvsyncblank),
 	DEFINEREG(VSYNCSHIFT_B),
+	DEFINEREG(MULT_B),
 	DEFINEREG2(PIPEB_DATA_M1, ironlake_debug_m_tu),
 	DEFINEREG2(PIPEB_DATA_N1, ironlake_debug_n),
 	DEFINEREG2(PIPEB_LINK_M1, ironlake_debug_n),
@@ -2503,6 +2505,7 @@ static struct reg_debug haswell_debug_regs[] = {
 	DEFINEREG2(VBLANK_C, i830_debug_hvsyncblank),
 	DEFINEREG2(VSYNC_C, i830_debug_hvsyncblank),
 	DEFINEREG(VSYNCSHIFT_C),
+	DEFINEREG(MULT_C),
 	DEFINEREG2(PIPEC_DATA_M1, ironlake_debug_m_tu),
 	DEFINEREG2(PIPEC_DATA_N1, ironlake_debug_n),
 	DEFINEREG2(PIPEC_LINK_M1, ironlake_debug_n),
-- 
1.9.0

                 reply	other threads:[~2014-04-30  5:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1398837360-20405-1-git-send-email-airlied@gmail.com \
    --to=airlied@gmail.com \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.