Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp1510219rwl; Thu, 5 Jan 2023 14:54:40 -0800 (PST) X-Google-Smtp-Source: AMrXdXtpDIspemaT2Zu7dfGwolpS0S0VpA/4nZijAL7SnI3e/1qJHrEt+vCgR0QZE+PbyZD7o8Ft X-Received: by 2002:a05:6a20:158b:b0:af:6cc0:5b3d with SMTP id h11-20020a056a20158b00b000af6cc05b3dmr78352525pzj.7.1672959280398; Thu, 05 Jan 2023 14:54:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1672959280; cv=pass; d=google.com; s=arc-20160816; b=NaHqcnj4XRL7m58wSiWyW//fAbidunMlOtJe9XcHQKeaY6Ex23kA/t18gaCfvW9SH4 7FXUbFn/VOrcKRWpS64NW9unc2b1FKeqVhAub1vNW3rENh41nN3nwEmXpo7oYWVker+M 8uWfqEy18nLNQS1dFBhS/EtRsVzsgDAZ6ye7jEuwMhXa2aMtMkEhEfUqVWa8sGlp7KBd Mvh4bWt6BHQvKmg3NdRrwz0IOXf0P506UPBjp9BDOCIR9hgkujZOEpNnEjNVplRz8Uta WXZO/a6duT2Pk4Vr6sJwFhlPlAvH7nVTDM6JiT+u8hrDrkCmLOLKXvnab9+rPSEp7AFP VZ9Q== 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=vDU7G83TY944n7aJ7AYG6c6+m7Oj3HDIQ3X/IYcsZW0=; b=0YjKbhfWQHwHwmmSj/MHJWFn1P3reGX3LJsxmlunaIAq+ifndwavbmezidrxLr8hDG gghugOPlPS/maNPowbkUgfN100WpPDdCdwORZRP1Jk8Wxmt8JncYGtmfdH9XJAyWaXJV CXhN7ujfgHmjLocaeXTZdKiWmrdfZBENyUpK7bTqfV9WKsfMPVD70PJ3rc04y3jdkjh4 huMlhTdcH9U/2tU3E8hWM59GvsK5AU9TUuwn0upoAkHdnXSCXeRdaAYIKjWtItlyVbkN hJiSMmYuyRO9Sg5v5GAchTkx+rjyBfOiu+tgYXGJu0B/4iYa70OOiCI8ccjSl8WmghN3 kRvA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@siddh.me header.s=zmail header.b=QhLEoPna; 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 t184-20020a6381c1000000b00498006f20aasi33394320pgd.259.2023.01.05.14.54.32; Thu, 05 Jan 2023 14:54:40 -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=QhLEoPna; 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 S236301AbjAEW2U (ORCPT + 55 others); Thu, 5 Jan 2023 17:28:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236019AbjAEW1q (ORCPT ); Thu, 5 Jan 2023 17:27:46 -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 2140B1ADA7 for ; Thu, 5 Jan 2023 14:27:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672957511; cv=none; d=zohomail.in; s=zohoarc; b=Ms32OlOByLVIpIQwJ0/pItwdhoERAcl4+dt3TO1oXV5U3jrLy8QHPHhfgsDMjndov62lk+k7o25IkUabae0WfJTQdHjJrFJDW++4GxMYOaMaxhrHP6v1xbslAVykbu52Kk/vy9jnX/n3ZlbveFRbcyeCEjIXCz+L3wCECF+lGI8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.in; s=zohoarc; t=1672957511; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=vDU7G83TY944n7aJ7AYG6c6+m7Oj3HDIQ3X/IYcsZW0=; b=K2CZtSFscU4ykrctSxTKg4j6PZErrQEAMUDRK/GUVUgzHi/U7lF3mwQ6RjBJvC5+U3NY9fw/hdEGoSMNHtqMz8fQq/FupBkJBxZBiSdP2MOyFV2GF6Q3lANh2c2/rghQVT1DXymKwyFIYmp+4mwvao1te2he9NcDs+d3/3Q9qa0= 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=1672957511; 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=vDU7G83TY944n7aJ7AYG6c6+m7Oj3HDIQ3X/IYcsZW0=; b=QhLEoPnadUF1rsuLEINV8V1XWJcKHhI+XxZRdy5zjVKgZtjp+quPHdnhXYNQ99Z5 gsMJ0XIVA1jTrdEBIYs/x4+yrbEhUvca96Yr5SXEsoodh6qB1yuOOCXCjuD2VIdDzfA FUfp/gMXrQ3daiVpjONkhfYf2j3CODJqEuMu+ckA= Received: from kampyooter.. (110.226.31.37 [110.226.31.37]) by mx.zoho.in with SMTPS id 1672957509142682.0997648134544; Fri, 6 Jan 2023 03:55:09 +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: Subject: [PATCH v4 09/10] drm/drm_blend: Remove usage of deprecated DRM_DEBUG_ATOMIC Date: Fri, 6 Jan 2023 03:55:00 +0530 X-Mailer: git-send-email 2.39.0 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.39.0