Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp4617149rwj; Tue, 20 Dec 2022 12:41:07 -0800 (PST) X-Google-Smtp-Source: AMrXdXu58tOaVFG8csSL/DEmnIjiG7URzxtP0/YuccZmfPqOfgu++/JYUY9Ia+43UtDqHty5RPN6 X-Received: by 2002:a05:6a21:e38a:b0:af:c871:bf4b with SMTP id cc10-20020a056a21e38a00b000afc871bf4bmr23419682pzc.26.1671568866841; Tue, 20 Dec 2022 12:41:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1671568866; cv=pass; d=google.com; s=arc-20160816; b=e/+t/hQ8VG5OkrWjCfg77GhU0Dp48kBBadtYh+QpxgZQdP0q/2FcDi7rclRTvGrsRo uqDMrwYX5eshuSlRTrLtjEItmbwyLCU/eo5ez1v3jdbLt7AIqben+/zjQe3urGY12Uy6 oQse/9rdJwWjZ0qh6MqJvJKT3/xOfWjjtQk+AwGkoeWEHPZuOJ/eRMbiaZxVN+qX3eT8 bhlKgPwZvFXYIJw4ufpOmvdey07u1nWWA13keOaInORR+SJvBKNVqjwIEDTnMeWVm5lM yrV5+HuM3+TuMmGxf1kEWegO1oxV9PMEvw/HnNCKEchY4AsSS8NDcS1j7Ibov02fAzhR ICRA== 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=1MCKPJOG9ImRBJLySDbjsiaY3Ui5PpMZ+NWkNcMBJcc=; b=EVWiCR5t7jWjEUIbpc9mOEQ3ZJyKtbuUCiBlzeOW8556Pi5SvpOGxkzen6yYJogoNK XtS1JqZaQgw06byGuqFX177PR1P5xqDg2R26HgPHQkI74NizXqIPMsernHgWMuxJ3r+5 cN445b5zasYifNjf5VFevIxyYOhwtPptPMUHCcCcWHxq7L6dgG1YYqiUzu4irTLPOyGO vGFVdgq8kz1YpM/JgzKwbItX+oUwm5jGIh4edPAm+ZA9CxGbzNclzaOZnTT80TumwzCX in0NliE1+SbSCpMoryM64UgfBSUvBvHMc58g27VH5Dy/+maaW2FKWUaECvHciPX1wYcY MLsA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@siddh.me header.s=zmail header.b=MmzjsOjA; 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.40.57; Tue, 20 Dec 2022 12:41:06 -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=MmzjsOjA; 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 S234277AbiLTURy (ORCPT + 69 others); Tue, 20 Dec 2022 15:17:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233998AbiLTURh (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 459142DF0 for ; Tue, 20 Dec 2022 12:17:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671567424; cv=none; d=zohomail.in; s=zohoarc; b=VA18Qyj1+hTXmsUNGkVJt/4v1h0usPLxFjEHLUmMUlrbsrfs3ZzzUzeml7cmE2VFjSeCAdgchHQuddFyFG8CzfSJTShR5lWQyuh24fmae/gyAR6F5WP44ITSnt39X2PT2R1hDr7Na0zYffwbTCallHBOJioDm+OyQspe+i7z6FM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.in; s=zohoarc; t=1671567424; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=1MCKPJOG9ImRBJLySDbjsiaY3Ui5PpMZ+NWkNcMBJcc=; b=Rl+nkLCvfyrKasYYY1kRXD9UKdNXFdVYLMFtLnBdwMjrJppyHvVh0j4tK7lQsc/wP7knqTzqQDnuRIalcFNEcG5wV12f52oL+YZuf224n2lzk/bp5n9cstoYGxpdfq6ebQ6h7NZDgAynVl4kplbHov0mBGaoYki/T5XERSP/k2I= 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=1671567424; 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=1MCKPJOG9ImRBJLySDbjsiaY3Ui5PpMZ+NWkNcMBJcc=; b=MmzjsOjAZ4B1e5lYB27BAXIUJhLZ5717E7j8/Kbex69gSuKur+GhAFAyu2h1Ok5H jxsqaKK/eS9NQlGgfiXQQSDbcxSHiBvn5hZ6AZ6wcBKJ5mpMvGnwctTKZHsjOEiw+Hx L3NPpPEgX0mNz0sbvWHRFefLnYXXXuwKhn5RRyNQ= Received: from kampyooter.. (110.226.31.37 [110.226.31.37]) by mx.zoho.in with SMTPS id 167156742434744.86757288551098; Wed, 21 Dec 2022 01:47:04 +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 08/10] drm: Remove usage of deprecated DRM_DEBUG_PRIME Date: Wed, 21 Dec 2022 01:46:43 +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_PRIME is deprecated in favor of drm_dbg_prime(). Signed-off-by: Siddh Raman Pant --- drivers/gpu/drm/drm_gem_dma_helper.c | 4 ++-- drivers/gpu/drm/drm_gem_shmem_helper.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/drm_gem_dma_helper.c b/drivers/gpu/drm/drm_gem= _dma_helper.c index 1ba551b0ab97..0f903cc8914a 100644 --- a/drivers/gpu/drm/drm_gem_dma_helper.c +++ b/drivers/gpu/drm/drm_gem_dma_helper.c @@ -477,8 +477,8 @@ drm_gem_dma_prime_import_sg_table(struct drm_device *de= v, =09dma_obj->dma_addr =3D sg_dma_address(sgt->sgl); =09dma_obj->sgt =3D sgt; =20 -=09DRM_DEBUG_PRIME("dma_addr =3D %pad, size =3D %zu\n", &dma_obj->dma_addr= , -=09=09=09attach->dmabuf->size); +=09drm_dbg_prime(dev, "dma_addr =3D %pad, size =3D %zu\n", &dma_obj->dma_a= ddr, +=09=09 attach->dmabuf->size); =20 =09return &dma_obj->base; } diff --git a/drivers/gpu/drm/drm_gem_shmem_helper.c b/drivers/gpu/drm/drm_g= em_shmem_helper.c index f0b6b69f4baf..1b9a6b357d8a 100644 --- a/drivers/gpu/drm/drm_gem_shmem_helper.c +++ b/drivers/gpu/drm/drm_gem_shmem_helper.c @@ -764,7 +764,7 @@ drm_gem_shmem_prime_import_sg_table(struct drm_device *= dev, =20 =09shmem->sgt =3D sgt; =20 -=09DRM_DEBUG_PRIME("size =3D %zu\n", size); +=09drm_dbg_prime(dev, "size =3D %zu\n", size); =20 =09return &shmem->base; } --=20 2.35.1