summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-09-30 16:11:05 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2011-09-30 16:11:05 +0100
commit7ecc6993b8c8205e5896ee87c14d6a76310c9aa7 (patch)
tree7049beca45e16abc130cf52f5a25681e84710bb4
parentd8fe941bc245e24c83c417ccff5c57e83baac3f7 (diff)
sna/gen6: Fix offset of Scan-Line-Compare register
Reported-by: Frank Mariak <fmariak@macrosystem.de> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/sna_display.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index 37fe7fd3..cc7ac9be 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -2014,8 +2014,8 @@ sna_covering_crtc(ScrnInfoPtr scrn,
#define MI_LOAD_REGISTER_IMM (0x22<<23)
/* gen6: Scan lines register */
-#define GEN6_PIPEA_SLC (0x7004)
-#define GEN6_PIPEB_SLC (0x7104)
+#define GEN6_PIPEA_SLC (0x70004)
+#define GEN6_PIPEB_SLC (0x71004)
static void sna_emit_wait_for_scanline_gen6(struct sna *sna,
int pipe, int y1, int y2,