drm/i915: Downgrade Gen9 Plane WM latency error
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 26 Jul 2018 16:15:27 +0000 (17:15 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2019 17:42:27 +0000 (19:42 +0200)
[ Upstream commit 86c1c87d0e6241cbe35bd52badfc84b154e1b959 ]

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>
Acked-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180726161527.10516-1-chris@chris-wilson.co.uk
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
drivers/gpu/drm/i915/intel_pm.c

index 96a5237741e0c0c9e14f054a8b055d806db0fe67..cb377b003321a8e44762c0d801f58f3bb909fbfc 100644 (file)
@@ -2934,8 +2934,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;
                }