diff mbox series

drm/i915: Downgrade Gen9 Plane WM latency error

Message ID 20180726161527.10516-1-chris@chris-wilson.co.uk (mailing list archive)
State New, archived
Headers show
Series drm/i915: Downgrade Gen9 Plane WM latency error | expand

Commit Message

Chris Wilson July 26, 2018, 4:15 p.m. UTC
According to intel_read_wm_latency() it is perfectly legal for one WM
and all subsequent levels to be 0 (and the deeper powersaving states
disabled), so don't shout *ERROR*, over and over again.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
---
 drivers/gpu/drm/i915/intel_pm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Chris Wilson July 30, 2018, 7:54 a.m. UTC | #1
Quoting Chris Wilson (2018-07-26 17:15:27)
> According to intel_read_wm_latency() it is perfectly legal for one WM
> and all subsequent levels to be 0 (and the deeper powersaving states
> disabled), so don't shout *ERROR*, over and over again.
> 
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
> Cc: Ville Syrjala <ville.syrjala@linux.intel.com>

From irc,
Acked-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
-Chris
diff mbox series

Patch

diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index 7312ecb73415..fb37e8e19672 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -2942,8 +2942,8 @@  static void intel_print_wm_latency(struct drm_i915_private *dev_priv,
 		unsigned int latency = wm[level];
 
 		if (latency == 0) {
-			DRM_ERROR("%s WM%d latency not provided\n",
-				  name, level);
+			DRM_DEBUG_KMS("%s WM%d latency not provided\n",
+				      name, level);
 			continue;
 		}