Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp2220924rwl; Mon, 26 Dec 2022 10:46:43 -0800 (PST) X-Google-Smtp-Source: AMrXdXu7Q5kMyHA6jpnBjjkqqf+2X37sXvURV/bbPveij2OfJY1qdZ9YG+IjPM6Rz5YzS5eGLN3A X-Received: by 2002:a17:90b:354b:b0:225:ce98:4287 with SMTP id lt11-20020a17090b354b00b00225ce984287mr11298493pjb.23.1672080403454; Mon, 26 Dec 2022 10:46:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1672080403; cv=pass; d=google.com; s=arc-20160816; b=ArJH6LxDkzbeh6y/zQEe99q7TE7I202urCdUVh7pmtSV6rLvFD7gU/HzTLzVNLoYic K02VpD1zB/1UkPcQPON5iAy+U+YZIaQZ602f5p4GEu0iaS7Tjc+Dxd6c/7I+4Sda5q5R 8tMxObljZ43gRBbGFPB9kmurVwuNjzbB+hQBrlFXPczuVMs4PFXF8f/OQ3F6zZCz9KEX 3ttJt29Bg/bw5bK2LJ9u0eebBsn/1cdaEHfaoaH/xYaURf1TAOaZB0Euwvb9hfWv0W1G CqVRq+ZdMhdc1KN7tMFLziqQUGFDQmNX21sLxdu/b7BlOg/mmVa3DzVRc6dD2QoOdhrU H/sw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:subject:message-id:cc:to:from :dkim-signature; bh=jOS7lFqPyYp4aF6uyo+Mu87tNYK2Fubh9HQ2gBzQ9pY=; b=mu8BhMa8ZOFehP+L/6s6GhUB39IenXN64kjTTNqdSrWOm4D7X/ZfipurQQQZ/K8SmA ikL+OJwJFS75oBTd+f/OR68WPC/ooChsei2DWvzjX5FSNV5sglTmBtr7e3zpUTGIEHNH Mvp9knyq+1WlsyRvnS7Z0LQQ9caQf0uB1s0kotn8PlRik3jI+dI+L9ys6DrfNIGh+DPL Saqpv6pBBsMevP3xBCugGaX5PAB+CgUtr/aIct/UMJEriwL96xAkqchCnwpQOXgsTE/F t+h53iaLIOPihiw+TGupscFEE1mhAhIFPUxcD7Nanfza3Nq2YC6Q7aS2CCDxb8NgLsVK wKpw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@siddh.me header.s=zmail header.b=k1yn4OQf; arc=pass (i=1 spf=pass spfdomain=siddh.me dkim=pass dkdomain=siddh.me dmarc=pass fromdomain=siddh.me>); 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siddh.me Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mw10-20020a17090b4d0a00b00218a37dc58dsi12486290pjb.27.2022.12.26.10.46.34; Mon, 26 Dec 2022 10:46:43 -0800 (PST) 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=pass header.i=@siddh.me header.s=zmail header.b=k1yn4OQf; arc=pass (i=1 spf=pass spfdomain=siddh.me dkim=pass dkdomain=siddh.me dmarc=pass fromdomain=siddh.me>); 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siddh.me Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232249AbiLZS2I (ORCPT + 66 others); Mon, 26 Dec 2022 13:28:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229676AbiLZS2B (ORCPT ); Mon, 26 Dec 2022 13:28:01 -0500 Received: from sender-of-o50.zoho.in (sender-of-o50.zoho.in [103.117.158.50]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA4CC25FA for ; Mon, 26 Dec 2022 10:27:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672079251; cv=none; d=zohomail.in; s=zohoarc; b=PZGJ3qbYzCoKIz1LGSAUIwUdhLm3S1WAoZgfPwOkSHv5VLtQScAHTlTa8k6Fz3Y6cU/r66XytR2oWfqnEweBJIOWhmdqO7dHqi6RCkaxYMsUrm72ecPUEZl2oYppvzwGDAQGVoSAFaIThiFJCCsmX9hEB9dtcllOBjKjyng5t+w= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.in; s=zohoarc; t=1672079251; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=jOS7lFqPyYp4aF6uyo+Mu87tNYK2Fubh9HQ2gBzQ9pY=; b=EoAROfcAppM6mYE4VUC2LYZ22U2Iqxl2zV/5DZFrPVCeTr2oup68bMIAS3wnMrvxZRwaPYPE/C0s1q91iOLudzuNZ9sdc7UdmpM5djmQMn1QvkElPPc6VqNbfJnOUJx27WawWGkPmNDhzppqF60g5rfjlgpx1RuFVa3KE/ikzRU= ARC-Authentication-Results: i=1; mx.zohomail.in; dkim=pass header.i=siddh.me; spf=pass smtp.mailfrom=code@siddh.me; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1672079251; s=zmail; d=siddh.me; i=code@siddh.me; h=From:From:To:To:Cc:Cc:Message-ID:Subject:Subject:Date:Date:In-Reply-To:References:MIME-Version:Content-Transfer-Encoding:Content-Type:Message-Id:Reply-To; bh=jOS7lFqPyYp4aF6uyo+Mu87tNYK2Fubh9HQ2gBzQ9pY=; b=k1yn4OQfG5VTaG+IcB7Sros2Akq+Mu57nPJGfEn+RWsyo++CmY60Sma8y6ltW9rS B5rVvwM0qlJFlqmGVfa17oJKOehNPZ5HfU2rhHjEJit7DnYB3lxUCdqWi/4cUHLA55W rG4oZPLtufKPgzsmsKp0xivOj3XBLYePA+mTcFMo= Received: from kampyooter.. (110.226.31.37 [110.226.31.37]) by mx.zoho.in with SMTPS id 1672079249369812.7233612638427; Mon, 26 Dec 2022 23:57:29 +0530 (IST) From: Siddh Raman Pant To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Simon Ser , Jim Cromie Cc: dri-devel , linux-kernel Message-ID: <6487349e2277c93d2f2dab585a86694d082ddcb4.1672078853.git.code@siddh.me> Subject: [PATCH v3 09/10] drm/drm_blend: Remove usage of deprecated DRM_DEBUG_ATOMIC Date: Mon, 26 Dec 2022 23:57:21 +0530 X-Mailer: git-send-email 2.35.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Content-Type: text/plain; charset=utf8 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 drm_print.h says DRM_DEBUG_ATOMIC is deprecated in favor of drm_dbg_atomic(). Signed-off-by: Siddh Raman Pant Reviewed-by: Simon Ser --- drivers/gpu/drm/drm_blend.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/drm_blend.c b/drivers/gpu/drm/drm_blend.c index b4c8cab7158c..6e74de833466 100644 --- a/drivers/gpu/drm/drm_blend.c +++ b/drivers/gpu/drm/drm_blend.c @@ -450,8 +450,8 @@ static int drm_atomic_helper_crtc_normalize_zpos(struct= drm_crtc *crtc, =09int i, n =3D 0; =09int ret =3D 0; =20 -=09DRM_DEBUG_ATOMIC("[CRTC:%d:%s] calculating normalized zpos values\n", -=09=09=09 crtc->base.id, crtc->name); +=09drm_dbg_atomic(dev, "[CRTC:%d:%s] calculating normalized zpos values\n"= , +=09=09 crtc->base.id, crtc->name); =20 =09states =3D kmalloc_array(total_planes, sizeof(*states), GFP_KERNEL); =09if (!states) @@ -469,9 +469,8 @@ static int drm_atomic_helper_crtc_normalize_zpos(struct= drm_crtc *crtc, =09=09=09goto done; =09=09} =09=09states[n++] =3D plane_state; -=09=09DRM_DEBUG_ATOMIC("[PLANE:%d:%s] processing zpos value %d\n", -=09=09=09=09 plane->base.id, plane->name, -=09=09=09=09 plane_state->zpos); +=09=09drm_dbg_atomic(dev, "[PLANE:%d:%s] processing zpos value %d\n", +=09=09=09 plane->base.id, plane->name, plane_state->zpos); =09} =20 =09sort(states, n, sizeof(*states), drm_atomic_state_zpos_cmp, NULL); @@ -480,8 +479,8 @@ static int drm_atomic_helper_crtc_normalize_zpos(struct= drm_crtc *crtc, =09=09plane =3D states[i]->plane; =20 =09=09states[i]->normalized_zpos =3D i; -=09=09DRM_DEBUG_ATOMIC("[PLANE:%d:%s] normalized zpos value %d\n", -=09=09=09=09 plane->base.id, plane->name, i); +=09=09drm_dbg_atomic(dev, "[PLANE:%d:%s] normalized zpos value %d\n", +=09=09=09 plane->base.id, plane->name, i); =09} =09crtc_state->zpos_changed =3D true; =20 --=20 2.35.1