[Intel-gfx] [PATCH 18/37] drm/i915: add GTC registers

Eugeni Dodonov eugeni.dodonov at intel.com
Thu Mar 22 02:09:53 CET 2012


Add Global Time Clock registers

Signed-off-by: Eugeni Dodonov <eugeni.dodonov at intel.com>
---
 drivers/gpu/drm/i915/i915_reg.h |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
index 193fb11..03fb10d 100644
--- a/drivers/gpu/drm/i915/i915_reg.h
+++ b/drivers/gpu/drm/i915/i915_reg.h
@@ -4009,4 +4009,9 @@
 #define  PIPE_CLK_SEL_DDIC		(3<<29)
 #define  PIPE_CLK_SEL_DDID		(4<<29)
 #define  PIPE_CLK_SEL_DDIE		(5<<29)
+
+/* Global time clock */
+#define GTCCLK_EN				0xC6030
+#define  GTCCLK_EN_ENABLE		(1<<0)
+
 #endif /* _I915_REG_H_ */
-- 
1.7.9.2




More information about the Intel-gfx mailing list