Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp38366691rwd; Wed, 12 Jul 2023 06:50:54 -0700 (PDT) X-Google-Smtp-Source: APBJJlHKMMix4N8OjHjljGJBedLbrb9BbxLnYMa6muaxELx9w26kxf6++T1gkEcdIM5OcEqo6c4o X-Received: by 2002:a19:675b:0:b0:4fb:911b:4e19 with SMTP id e27-20020a19675b000000b004fb911b4e19mr14721894lfj.35.1689169854375; Wed, 12 Jul 2023 06:50:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689169854; cv=none; d=google.com; s=arc-20160816; b=aaK/bewkJ26dL0IECLzHczALif6Qqdxw0efcOQ0UWfGrfEry26DgyvTjrwiyi9nuKn h9Xa6S1nXjgpN2hssfz3zcEJfeiAmRatHMAYcwhM8FmHSdyyfWFPv/ko2pxRDGfojBim 70zgrk9U9+x1YxBeDciu2p8XpS76b6ZyzjlM8kfqISg3EoBs8v2c17DBopx/Fyhjtzuf EZsZP3guM5WwjmlmVMNkwCOMxT4dzrdj5pFN4KS7Nk2SkY3mqWsNw2+ECgu8aRLLcGT1 8sgcXPbwLKkRttXym0ZgMoksokuQWN9fCXbhvjt/N8Y0PC9Ibuweq2zTqT3muKpRyyrS wKzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=MH5CRXykftq/25/z3fW60+tA8CBMATJ67hYd2tjo7XE=; fh=KBOAcB3Mc2WKfMFQdti/2/lkI+/SjBb2pH2/c9Tsx1M=; b=OlI4Vw2baiyOUianWnJN4tgLZLXPP/VBTRFOvsPShQF2U7ejFZLR8PLj9uLAByqZCj irb2tD8PlRX2PNmS7N0k9YwTJz3IE0140zulqZqC+HgwroQl8MPZ7TeMgtbENYGAD4s9 WTD2CvPNa5J6sYEGKDqRMefi1P81TXoePnyk8Q3EsMm1LbHVci4wux45AAnoKDkdWB1M 79tLQJwg/gYYdd3/TSaIEsSW+E8dA2oYhxnXUJYdUwdjbebL0GKhBfAlnT9hHrhGM1Uv 4U9Inf65zed5RX7zyDL/SlqjgNLlDoWOZiAVi4g1Xe2f4GUT9QNEz+o9X2LuB5ntDFMY Lx9w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kk7-20020a170907766700b0098314b13e50si4521823ejc.466.2023.07.12.06.50.29; Wed, 12 Jul 2023 06:50:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233000AbjGLNmh (ORCPT + 99 others); Wed, 12 Jul 2023 09:42:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233042AbjGLNme (ORCPT ); Wed, 12 Jul 2023 09:42:34 -0400 Received: from baptiste.telenet-ops.be (baptiste.telenet-ops.be [IPv6:2a02:1800:120:4::f00:13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1EA15E4D for ; Wed, 12 Jul 2023 06:42:31 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:2b42:575f:41f:104f]) by baptiste.telenet-ops.be with bizsmtp id LDiT2A0034w94eT01DiT8Y; Wed, 12 Jul 2023 15:42:29 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qJa6m-001Cz5-9Q; Wed, 12 Jul 2023 15:42:27 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qJa6t-00G1vf-17; Wed, 12 Jul 2023 15:42:27 +0200 From: Geert Uytterhoeven To: =?UTF-8?q?Ma=C3=ADra=20Canal?= , =?UTF-8?q?Ville=20Syrj=C3=A4l=C3=A4?= , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] drm/gem-fb-helper: Consistenly use drm_dbg_kms() Date: Wed, 12 Jul 2023 15:42:25 +0200 Message-Id: <7c2182b365c5b0a574744a2832e0209aa1fc009e.1689169087.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org All debug messages in drm_gem_framebuffer_helper.c use drm_dbg_kms(), except for one, which uses drm_dbg(). Replace the outlier by drm_dbg_kms() to restore consistency. Fixes: c91acda3a380bcaf ("drm/gem: Check for valid formats") Signed-off-by: Geert Uytterhoeven --- drivers/gpu/drm/drm_gem_framebuffer_helper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/drm_gem_framebuffer_helper.c b/drivers/gpu/drm/drm_gem_framebuffer_helper.c index b8a615a138cd675f..3bdb6ba37ff42fb6 100644 --- a/drivers/gpu/drm/drm_gem_framebuffer_helper.c +++ b/drivers/gpu/drm/drm_gem_framebuffer_helper.c @@ -168,8 +168,8 @@ int drm_gem_fb_init_with_funcs(struct drm_device *dev, if (drm_drv_uses_atomic_modeset(dev) && !drm_any_plane_has_format(dev, mode_cmd->pixel_format, mode_cmd->modifier[0])) { - drm_dbg(dev, "Unsupported pixel format %p4cc / modifier 0x%llx\n", - &mode_cmd->pixel_format, mode_cmd->modifier[0]); + drm_dbg_kms(dev, "Unsupported pixel format %p4cc / modifier 0x%llx\n", + &mode_cmd->pixel_format, mode_cmd->modifier[0]); return -EINVAL; } -- 2.34.1