|
@@ -1739,10 +1739,8 @@ static inline void
|
|
|
assert_rpm_wakelock_held(struct drm_i915_private *dev_priv)
|
|
|
{
|
|
|
assert_rpm_device_not_suspended(dev_priv);
|
|
|
- /* FIXME: Needs to be converted back to WARN_ONCE, but currently causes
|
|
|
- * too much noise. */
|
|
|
- if (!atomic_read(&dev_priv->pm.wakeref_count))
|
|
|
- DRM_DEBUG_DRIVER("RPM wakelock ref not held during HW access");
|
|
|
+ WARN_ONCE(!atomic_read(&dev_priv->pm.wakeref_count),
|
|
|
+ "RPM wakelock ref not held during HW access");
|
|
|
}
|
|
|
|
|
|
/**
|