[Intel-gfx] [PATCH 16/19] drm/i915: kill struct i915_package_c8
Paulo Zanoni
przanoni at gmail.com
Thu Dec 19 14:55:06 CET 2013
From: Paulo Zanoni <paulo.r.zanoni at intel.com>
The only remaining field of the struct was the lock, which was unused.
Signed-off-by: Paulo Zanoni <paulo.r.zanoni at intel.com>
---
drivers/gpu/drm/i915/i915_drv.h | 6 ------
drivers/gpu/drm/i915/intel_pm.c | 1 -
2 files changed, 7 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index cdfba82..56434c6 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -1307,10 +1307,6 @@ struct ilk_wm_values {
*
* For more, read "Display Sequences for Package C8" on our documentation.
*/
-struct i915_package_c8 {
- struct mutex lock;
-};
-
struct i915_runtime_pm {
bool suspended;
bool gpu_idle;
@@ -1553,8 +1549,6 @@ typedef struct drm_i915_private {
struct ilk_wm_values hw;
} wm;
- struct i915_package_c8 pc8;
-
struct i915_runtime_pm pm;
/* Old dri1 support infrastructure, beware the dragons ya fools entering
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index 2eafcea..fe7785c 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -5764,7 +5764,6 @@ void intel_pm_setup(struct drm_device *dev)
mutex_init(&dev_priv->rps.hw_lock);
- mutex_init(&dev_priv->pc8.lock);
INIT_DELAYED_WORK(&dev_priv->rps.delayed_resume_work,
intel_gen6_powersave_work);
--
1.8.3.1
More information about the Intel-gfx
mailing list