Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp38421479rwd; Wed, 12 Jul 2023 07:29:09 -0700 (PDT) X-Google-Smtp-Source: APBJJlHEn2riWxklXz3YrREYldACLbCxVhQOdTg0LMuA+duCsmqk0h4IuypFu36Q9MyIi9wRDUw2 X-Received: by 2002:a17:906:10a:b0:993:d1b6:61cc with SMTP id 10-20020a170906010a00b00993d1b661ccmr16421036eje.44.1689172149121; Wed, 12 Jul 2023 07:29:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689172149; cv=none; d=google.com; s=arc-20160816; b=0ihMUzlDPIDpUadXFIaC2iESaIZJnKY8Vss+YWuetPLxMlndbbkb9mba6Mxsf0lVsG XO3DwWdgbOlBYxu7DrXVB0MAJROeROZMXXgabiZWECbNLGlCBGLIy/aNrcZws8DKlpkN Y1QINSVjwZnWzvBwOHxBaRrt5CN7X9C0BuquLcjoVmA2Lf2XzT6r3R23QttZ43ZxUB6U X9kpW90uPU4TuTK+RZ06O4g0GheaIPZQQAL4WWThnY1OtFl3sf3ANbIsub8XSZJIin4m qc9C4VJYJO5dLKHPuqmUowxYgZb7KSFgkgjf2RNM1ET1FLN67QNG9uwK9pEo/39vSNZO Vtqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=hNojfaeHD+yrJAfrSYxA2Q8X5xc6RjcCbY6fFnfWjYM=; fh=DlQYnUBHwcMjZljITpWFPbN85Kg8bd379ki0TRb8ndY=; b=v/e5rkcaAYw55u2tyLQgR0fwqk/WN5xj0t1xxrME/EFtyXf5bpnyM2Gi//nhk1xWEu MOIY3CvwzCxpK2Sq2n2hnMNalEU1Ha2po8TjoB9eZd4deYfx9Qu3mRMeWDJ5sQT7vl8O NnRUmL9d2Me8g5FZ9YDU52uzPibZRU0+DJVUt4+Jd8GIs9hMqyPEUsL++R2X7VIhZiNS LTCHH3gDE/dWOPOIPWgY5CnFchONTeimD9mFhPN+aqnRpejveqiHWhSQWVvxzvo2BKjU QLuU30pmXuKzpkPIBi0InZwwhef5nlKDcU3k/VYclOq0uPWblr4F7fiuO43GyWEUwgkv n9aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@igalia.com header.s=20170329 header.b="M/htLnYc"; 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 j12-20020a170906094c00b00992d347dc94si4753835ejd.927.2023.07.12.07.28.43; Wed, 12 Jul 2023 07:29:09 -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; dkim=fail header.i=@igalia.com header.s=20170329 header.b="M/htLnYc"; 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 S231537AbjGLOWU (ORCPT + 99 others); Wed, 12 Jul 2023 10:22:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229475AbjGLOWS (ORCPT ); Wed, 12 Jul 2023 10:22:18 -0400 Received: from fanzine2.igalia.com (fanzine2.igalia.com [213.97.179.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99B5B12E for ; Wed, 12 Jul 2023 07:22:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=hNojfaeHD+yrJAfrSYxA2Q8X5xc6RjcCbY6fFnfWjYM=; b=M/htLnYcOEEz6NgTH+HZW+QcUA x/3Mp/J1pnIq2n0pbpPrWbFvIeah8PsS71ml9hc7Ob649/zxzzSMxORszXK5KFQVtnS2rqWDJNO1z dzI40Vd9EQIkF+KXfbf4JuA2ZYYU1Izue4Lb2N/I9Csghpqh5z8Knh4BSO2/8Oun77HDsarSgzKms bAUjxUO7lmplmiTwb0V5BMdnf4jGZxPr6gnxVG84vR3RtgibMgSVdYs3cYE9sHQ9/Fp4NXeQNgOwo xJFnMN7tqfezvYv/QTqyIwyfuo5dy0zwNdtgfza3Ou/VITW3bcVu8DZvZsZeplfzOMKjlmjmuT/6T NePXFHMA==; Received: from [177.34.168.16] (helo=[192.168.0.8]) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128) (Exim) id 1qJaiz-00D93L-Iw; Wed, 12 Jul 2023 16:21:49 +0200 Message-ID: <598d39ca-c1be-a57f-9ab5-d90403c78cd0@igalia.com> Date: Wed, 12 Jul 2023 11:21:42 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH] drm/gem-fb-helper: Consistenly use drm_dbg_kms() Content-Language: en-US To: Geert Uytterhoeven , =?UTF-8?B?VmlsbGUgU3lyasOkbMOk?= , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org References: <7c2182b365c5b0a574744a2832e0209aa1fc009e.1689169087.git.geert+renesas@glider.be> From: Maira Canal In-Reply-To: <7c2182b365c5b0a574744a2832e0209aa1fc009e.1689169087.git.geert+renesas@glider.be> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 On 7/12/23 10:42, Geert Uytterhoeven wrote: > 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 Reviewed-by: Maíra Canal Thanks for sending this fix! Best Regards, - Maíra > --- > 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; > } >