Skip to contentSkip to conversation

drm/i915: remove intel_uncore_clear_errors

PATCH Applied Daniel Vetter 3 participants 3 messages Nov 16, 2013 – Nov 18, 2013

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

PATCH 1/1 drm/i915: remove intel_uncore_clear_errors

This was forgotten in

commit 9d1cb9147dbe45f6e94dc796518ecf67cb64b359

Author: Paulo Zanoni <[email protected]>
Date:   Fri Nov 1 13:32:08 2013 -0200

drm/i915: avoid unclaimed registers when capturing the error state

---
 drivers/gpu/drm/i915/i915_drv.h     | 1 -
 drivers/gpu/drm/i915/intel_uncore.c | 9 ---------
 2 files changed, 10 deletions(-)
drivers/gpu/drm/i915/i915_drv.h +0 -1
index 8600c315b4c4..dce8c0882b29 100644
@@ -1907,7 +1907,6 @@ extern void intel_pm_init(struct drm_device *dev);
 extern void intel_uncore_sanitize(struct drm_device *dev);
 extern void intel_uncore_early_sanitize(struct drm_device *dev);
 extern void intel_uncore_init(struct drm_device *dev);
-extern void intel_uncore_clear_errors(struct drm_device *dev);
 extern void intel_uncore_check_errors(struct drm_device *dev);
 extern void intel_uncore_fini(struct drm_device *dev);
 
drivers/gpu/drm/i915/intel_uncore.c +0 -9
index f9883ceff946..29532aeef294 100644
@@ -790,15 +790,6 @@ int intel_gpu_reset(struct drm_device *dev)
 	}
 }
 
-void intel_uncore_clear_errors(struct drm_device *dev)
-{
-	struct drm_i915_private *dev_priv = dev->dev_private;
-
-	/* XXX needs spinlock around caller's grouping */
-	if (HAS_FPGA_DBG_UNCLAIMED(dev))
-		__raw_i915_write32(dev_priv, FPGA_DBG, FPGA_DBG_RM_NOCLAIM);
-}
-
 void intel_uncore_check_errors(struct drm_device *dev)
 {
 	struct drm_i915_private *dev_priv = dev->dev_private;
Signature · 1 line
1.8.4.3
Reviewed-by on v1 1/1
#1 lore raw

2013/11/16 Daniel Vetter <[email protected]>:

Quoted 10 lines

This was forgotten in

commit 9d1cb9147dbe45f6e94dc796518ecf67cb64b359

Author: Paulo Zanoni <[email protected]>
Date:   Fri Nov 1 13:32:08 2013 -0200

drm/i915: avoid unclaimed registers when capturing the error state

Quoted 44 lines
---
 drivers/gpu/drm/i915/i915_drv.h     | 1 -
 drivers/gpu/drm/i915/intel_uncore.c | 9 ---------
 2 files changed, 10 deletions(-)
drivers/gpu/drm/i915/i915_drv.h +0 -1
index 8600c315b4c4..dce8c0882b29 100644
@@ -1907,7 +1907,6 @@ extern void intel_pm_init(struct drm_device *dev);
 extern void intel_uncore_sanitize(struct drm_device *dev);
 extern void intel_uncore_early_sanitize(struct drm_device *dev);
 extern void intel_uncore_init(struct drm_device *dev);
-extern void intel_uncore_clear_errors(struct drm_device *dev);
 extern void intel_uncore_check_errors(struct drm_device *dev);
 extern void intel_uncore_fini(struct drm_device *dev);
 
drivers/gpu/drm/i915/intel_uncore.c +0 -10
index f9883ceff946..29532aeef294 100644
@@ -790,15 +790,6 @@ int intel_gpu_reset(struct drm_device *dev)
        }
 }
 
-void intel_uncore_clear_errors(struct drm_device *dev)
-{
-       struct drm_i915_private *dev_priv = dev->dev_private;
-
-       /* XXX needs spinlock around caller's grouping */
-       if (HAS_FPGA_DBG_UNCLAIMED(dev))
-               __raw_i915_write32(dev_priv, FPGA_DBG, FPGA_DBG_RM_NOCLAIM);
-}
-
 void intel_uncore_check_errors(struct drm_device *dev)
 {
        struct drm_i915_private *dev_priv = dev->dev_private;
--

1.8.4.3

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Signature · 1 line
Paulo Zanoni
#2 lore raw
Quoted 7 lines · Paulo Zanoni

2013/11/16 Daniel Vetter <[email protected]>:

Quoted 6 lines

This was forgotten in

commit 9d1cb9147dbe45f6e94dc796518ecf67cb64b359

Author: Paulo Zanoni <[email protected]>
Date:   Fri Nov 1 13:32:08 2013 -0200
Quoted 6 lines
Quoted 4 lines

drm/i915: avoid unclaimed registers when capturing the error state

Queued for -next, thanks for the review.
-Daniel

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