[Intel-gfx] [PATCH 12/37] drm/i915: add SBI registers
Eugeni Dodonov
eugeni.dodonov at intel.com
Thu Mar 22 02:09:47 CET 2012
Those are responsible for the Sideband Interface programming.
Signed-off-by: Eugeni Dodonov <eugeni.dodonov at intel.com>
---
drivers/gpu/drm/i915/i915_reg.h | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
index 0af47b4..4ee8965 100644
--- a/drivers/gpu/drm/i915/i915_reg.h
+++ b/drivers/gpu/drm/i915/i915_reg.h
@@ -3947,4 +3947,14 @@
#define DDI_BUF_TRANS_D 0x64F20
#define DDI_BUF_TRANS_E 0x64F80
+/* Sideband Interface (SBI) is programmed indirectly, via
+ * SBI_ADDR, which contains the register offset; and SBI_DATA,
+ * which contains the payload */
+#define SBI_ADDR 0xC6000
+#define SBI_DATA 0xC6004
+#define SBI_CTL_STAT 0xC6008
+#define SBI_CTL_OP_CRRD (0x6<<8)
+#define SBI_CTL_OP_CRWR (0x7<<8)
+#define SBI_RESPONSE (0x1<<1)
+#define SBI_READY (0x1<<0)
#endif /* _I915_REG_H_ */
--
1.7.9.2
More information about the Intel-gfx
mailing list