Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915: Remove unused power well register definitions
@ 2013-04-22 13:39 Damien Lespiau
  2013-04-24 17:10 ` Daniel Vetter
  0 siblings, 1 reply; 2+ messages in thread
From: Damien Lespiau @ 2013-04-22 13:39 UTC (permalink / raw)
  To: intel-gfx

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

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
---
 drivers/gpu/drm/i915/i915_reg.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
index 60e0e19..a766d86 100644
--- a/drivers/gpu/drm/i915/i915_reg.h
+++ b/drivers/gpu/drm/i915/i915_reg.h
@@ -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
-- 
1.8.1.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] drm/i915: Remove unused power well register definitions
  2013-04-22 13:39 [PATCH] drm/i915: Remove unused power well register definitions Damien Lespiau
@ 2013-04-24 17:10 ` Daniel Vetter
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Vetter @ 2013-04-24 17:10 UTC (permalink / raw)
  To: Damien Lespiau; +Cc: intel-gfx

On Mon, Apr 22, 2013 at 02:39:59PM +0100, Damien Lespiau wrote:
> Those registers are not used, let's not keep them around for no reason.
> 
> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>

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
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-24 17:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-22 13:39 [PATCH] drm/i915: Remove unused power well register definitions Damien Lespiau
2013-04-24 17:10 ` Daniel Vetter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox