Skip to contentSkip to conversation

drm/i915: Remove unused power well register definitions

PATCH In review Damien Lespiau 2 participants 2 messages Apr 22, 2013 – Apr 24, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/i915: Remove unused power well register definitions

Those registers are not used, let's not keep them around for no reason.

---
 drivers/gpu/drm/i915/i915_reg.h | 5 -----
 1 file changed, 5 deletions(-)
drivers/gpu/drm/i915/i915_reg.h +0 -5
index 60e0e19..a766d86 100644
@@ -4717,11 +4717,6 @@
 #define HSW_PWR_WELL_DEBUG			0x4540C /* CTL4 */
 #define   HSW_PWR_WELL_ENABLE			(1<<31)
 #define   HSW_PWR_WELL_STATE			(1<<30)
-#define HSW_PWR_WELL_CTL5			0x45410
-#define   HSW_PWR_WELL_ENABLE_SINGLE_STEP	(1<<31)
-#define   HSW_PWR_WELL_PWR_GATE_OVERRIDE	(1<<20)
-#define   HSW_PWR_WELL_FORCE_ON			(1<<19)
-#define HSW_PWR_WELL_CTL6			0x45414
 
 /* Per-pipe DDI Function Control */
 #define TRANS_DDI_FUNC_CTL_A		0x60400
Signature · 1 line
1.8.1.4
#1 lore raw
Quoted 3 lines · Damien Lespiau

Those registers are not used, let's not keep them around for no reason.

Generally if they're not wrong I don't mind some auxialiary register #defines hanging about. So I'll punt on this one here. -Daniel

Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch