[Intel-gfx] [PATCH 09/33] drm/i915: VGACNTRL needs an offset on VLV
ville.syrjala at linux.intel.com
ville.syrjala at linux.intel.com
Thu Jan 24 14:29:34 CET 2013
From: Ville Syrjälä <ville.syrjala at linux.intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
drivers/gpu/drm/i915/i915_reg.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
index 87eed0c..8b581b5 100644
--- a/drivers/gpu/drm/i915/i915_reg.h
+++ b/drivers/gpu/drm/i915/i915_reg.h
@@ -3227,7 +3227,7 @@
#define SPRSURFLIVE(pipe) _PIPE(pipe, _SPRA_SURFLIVE, _SPRB_SURFLIVE)
/* VBIOS regs */
-#define VGACNTRL 0x71400
+#define VGACNTRL (dev_priv->info->display_mmio_offset + 0x71400)
# define VGA_DISP_DISABLE (1 << 31)
# define VGA_2X_MODE (1 << 30)
# define VGA_PIPE_B_SELECT (1 << 29)
--
1.7.12.4
More information about the Intel-gfx
mailing list