Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp4618759rwj; Tue, 20 Dec 2022 12:42:39 -0800 (PST) X-Google-Smtp-Source: AA0mqf5VPzUqNExQaXDTRYV2AfV4Tnb3lgX31vnG7hTK1LQ6kblvj2mKuUK0jfvbT78k/Vo7Xcv9 X-Received: by 2002:a17:90a:5d16:b0:219:6cb7:bc4 with SMTP id s22-20020a17090a5d1600b002196cb70bc4mr49013298pji.24.1671568959549; Tue, 20 Dec 2022 12:42:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1671568959; cv=pass; d=google.com; s=arc-20160816; b=jzOB1IPwg0Euqrnp7JNWXwzFh6fMZ2Yx835LOAVFtikinNN6wKVp4y68dJGWtTTrOj jMeLvyukqizeJkZeIkv0BB0JOBXQqaDmwFGzkqmcmrOpJsnlXotek8KFzwzv3Clrk6rk s4oOhXpvmkxYGhUenN2CQFib/17HT6+HZHlZu18rx1btHqwgfOL28CVAVV81UMIUPt6b p3MN1EHnIqGSTKAh7PQZ8KvlT7Bsc1duQHUi4ddEjDsuURUR19XkoVQoevtL8MQyfM0g REjoo9PSgXyZom89ScJTfR8U3kp0kyGU2BU3jzktgUNNFwoGrdUBun+Px6kK+KsBjmuJ R5aQ== 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=0uLPZQvo/xpyH3LitCS/tSZQBnXvJjFnagwHKMQiGhA=; b=v8M/IjS7hAQzJdzgHvMA1OLLlHCBD1PmU7XmAV3KdX/8kMjVg/y3qEF3AfxFH4Gt93 t7LhwvmnWrxqaJ9uCm2ezAgDHybVxLG4JaHf7WJDrr4zINuS3w8t9k50HUq45DewQl1D Vu9bhn7HY/i8V6Jpn0Sm5B5k3oFav4zBORJ0h1v4omDkO5XlLIi911BFbPyw35oY3wnA GAav7u3IXkyomaxbtlymE0EoL+w1Gc3xHibRVqGzln6EDO/LdwCGDRWu69+GNgydTkQY h0RV5u4qYmXlRKPIJXc8RjtuOjEUgw5knbgAUHcTB1gM9ticOJLsis/HHbiCqqXXNcnG jnNg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@siddh.me header.s=zmail header.b=X1Sd9KjK; 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 q5-20020a63f945000000b00479391226edsi15016816pgk.328.2022.12.20.12.42.30; Tue, 20 Dec 2022 12:42:39 -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=X1Sd9KjK; 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 S234257AbiLTURq (ORCPT + 68 others); Tue, 20 Dec 2022 15:17:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232913AbiLTURh (ORCPT ); Tue, 20 Dec 2022 15:17:37 -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 AAD09F13 for ; Tue, 20 Dec 2022 12:17:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671567425; cv=none; d=zohomail.in; s=zohoarc; b=gDT/4VsGFgcMz5GtfZ79XATt7qNhzahiJYFRSXkQSFPfG/MN9tqDCS5niyzlaN5hVqQf89tbXOC9CPFVaO8pLRhhsmsND8WZLhDREPskt9ZjwXQ012qgk2BWEZxmDi6xR6Ncq7wpvw5R9MLJjgiJcv5lwCkc2yOyU0uikX8+LXk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.in; s=zohoarc; t=1671567425; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=0uLPZQvo/xpyH3LitCS/tSZQBnXvJjFnagwHKMQiGhA=; b=MSzhpgci5C6ruNZ+ahFD2CFe/eMiyoDJmX37WX6Em6jFgy3XQUxm86W8Gnan6xIYcAHWJlBmkDgqt7eHUGv3xRuhFiBW9HkzqrLfqs49e4nGrqhkwFIIatlRCoMHT10H4x5jQcXrKJt5JFL/v84l777wFb1+PLlZ6HhuVsuczus= 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=1671567425; 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=0uLPZQvo/xpyH3LitCS/tSZQBnXvJjFnagwHKMQiGhA=; b=X1Sd9KjKptN1ARCSRpZ9pea6cLAAI/uNNMI2O/s2vgO58MLu1F3nbh/b2qloxtJC xT8fdwfU3l4q+Dp/vkI1a7AJHWK9tUlm+lWzv7iEsVqIwoX8SVCVvSOHy2k7p1jjDzt tsDFnGaslkb7Y4cZJGofOgRMRvMSyHXoaZ7C31dM= Received: from kampyooter.. (110.226.31.37 [110.226.31.37]) by mx.zoho.in with SMTPS id 1671567425118860.6646368112663; Wed, 21 Dec 2022 01:47:05 +0530 (IST) From: Siddh Raman Pant To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter Cc: dri-devel , linux-kernel Message-ID: Subject: [PATCH 09/10] drm/drm_blend: Remove usage of deprecated DRM_DEBUG_ATOMIC Date: Wed, 21 Dec 2022 01:46:44 +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 --- 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