Skip to contentSkip to conversation

drm/i915: Remove incorrect comment about struct mutex

PATCH Applied Ben Widawsky 2 participants 2 messages Jan 22, 2014

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

PATCH 1/1 drm/i915: Remove incorrect comment about struct mutex

This statenment became false here:

commit 4fc688ce79772496503d22263d61b071a8fb596e

Author: Jesse Barnes <[email protected]>
Date:   Fri Nov 2 11:14:01 2012 -0700

drm/i915: protect RPS/RC6 related accesses (including PCU) with a new mutex

---
 drivers/gpu/drm/i915/i915_drv.h | 2 --
 1 file changed, 2 deletions(-)
drivers/gpu/drm/i915/i915_drv.h +0 -2
index f344842..d568de6 100644
@@ -935,8 +935,6 @@ struct intel_gen6_power_mgmt {
 	struct work_struct work;
 	u32 pm_iir;
 
-	/* The below variables an all the rps hw state are protected by
-	 * dev->struct mutext. */
 	u8 cur_delay;
 	u8 min_delay;
 	u8 max_delay;
Signature · 1 line
1.8.5.3
#1 lore raw
Quoted 9 lines · Ben Widawsky

This statenment became false here:

commit 4fc688ce79772496503d22263d61b071a8fb596e

Author: Jesse Barnes <[email protected]>
Date:   Fri Nov 2 11:14:01 2012 -0700

drm/i915: protect RPS/RC6 related accesses (including PCU) with a new mutex

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

Quoted 24 lines
---
 drivers/gpu/drm/i915/i915_drv.h | 2 --
 1 file changed, 2 deletions(-)
drivers/gpu/drm/i915/i915_drv.h +0 -2
index f344842..d568de6 100644
@@ -935,8 +935,6 @@ struct intel_gen6_power_mgmt {
 	struct work_struct work;
 	u32 pm_iir;
 
-	/* The below variables an all the rps hw state are protected by
-	 * dev->struct mutext. */
 	u8 cur_delay;
 	u8 min_delay;
 	u8 max_delay;
Signature · 6 lines
1.8.5.3

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch