drm/i915: make unsupported fb modifier message DRM_DEBUG
authorJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 23 Mar 2015 19:43:50 +0000 (12:43 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 25 Mar 2015 17:23:20 +0000 (18:23 +0100)
Or users can just spam the log all they want.

Issue introduced in

commit 9a8f0a1290993c86c4e35756a2624bfe461f9036
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Fri Feb 27 11:15:24 2015 +0000

    drm/i915/skl: Allow Y (and Yf) frame buffer creation

References: https://bugs.freedesktop.org/show_bug.cgi?id=89628
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c

index 35cdb487814acf6874ed8b8d27f7a23102bd94b6..f9dc5babcf2708421cee2168224454004a31f785 100644 (file)
@@ -13006,8 +13006,8 @@ static int intel_framebuffer_init(struct drm_device *dev,
        case I915_FORMAT_MOD_X_TILED:
                break;
        default:
-               DRM_ERROR("Unsupported fb modifier 0x%llx!\n",
-                               mode_cmd->modifier[0]);
+               DRM_DEBUG("Unsupported fb modifier 0x%llx!\n",
+                         mode_cmd->modifier[0]);
                return -EINVAL;
        }