Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp2224035rwl; Mon, 26 Dec 2022 10:50:18 -0800 (PST) X-Google-Smtp-Source: AMrXdXvR2/smElaYl6sxXnfKgu9Ge1UU5qMIeplzFO0WqYVMtq6npDcBOeQUAeSqkLRWjEwjn2qF X-Received: by 2002:a17:902:b08e:b0:192:6195:44b6 with SMTP id p14-20020a170902b08e00b00192619544b6mr11454540plr.58.1672080618207; Mon, 26 Dec 2022 10:50:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1672080618; cv=pass; d=google.com; s=arc-20160816; b=ifhpDV/QyjgVkEcHLSMKOOpWsXBhnmBMFhTt0sgQCAByx2kc8m08SCx2hyF7LGu6t1 Eq7x4+fPNjQmARx5iO3lR6I2ds2lWrMVvX4EumjfD4iZMj+6kX2r2lSWHHpigVfp5/cY lMx4wrPjr0vP/gO4LC4LiKhaxW0DhIMcrGqF9y7vcw7Kw+2igxYkbqzhjJZoquq90zjw s74CxXiHfVAL3wZ6uBJwe4KAe//QI5IIHM7ZQB3ixNZYHSfIx3TcLBV4eZAuYr95pUWr Qxx+s/Q+cqWkJ0unvnulioovjRgctMWzbjh3oDkO1r9jice0C9ConATdDxjuSjqS2gER nICA== 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=b/owWBCiHM8U2KEyetDhUodPkjlG/LaCPmDk11UEZwo=; b=DGA5vGKf3qlhy81ol1WrY8/UxSfvNBNew6XdsH2oRChnJeoo84cvc6Tmsmmv1JBJTl PgM02n9JJAf9Qoh0hvflzMjgHJkJwCFGgw5eAC6kz7oenQZanu8UNNyEIuYtf0CBFEkI Pp+Pz2Phj8WWmxZ9qZlhkPvSzTqfKPXkCSvvUauYmIrSAaXyZPAnesljeP62lPyeSfc8 WY5/cDScPLEfl3gV+rY2Bu4PY9hzkrLb8KPUtCvEpBoHnv8qY62WfaVmnexNCfSIytrH EfpOsGiCos+3KVY3ZQZmvlewVydN8K/CM474GPRu13KEi3D4RRfYfEyQwzSsiElkF8dE EpLw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@siddh.me header.s=zmail header.b="D/XgVMBr"; 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 c11-20020a170902d48b00b0017e8aa47020si12790517plg.472.2022.12.26.10.50.09; Mon, 26 Dec 2022 10:50:18 -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="D/XgVMBr"; 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 S232341AbiLZS2U (ORCPT + 66 others); Mon, 26 Dec 2022 13:28:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232193AbiLZS2D (ORCPT ); Mon, 26 Dec 2022 13:28:03 -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 90B231162 for ; Mon, 26 Dec 2022 10:28:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672079250; cv=none; d=zohomail.in; s=zohoarc; b=If/Bu6Pr9Y0NrcHA+cJNuHa/UvaJXNymHwPwm6IeucTfXS+Sy8yR9BK5zQyl44JEP9TCoGyTF3Bv6vbw2JnnXHZUlDSNUr3Bz/WisynWjMAF/izG7DUrSmoYqsPuoa9X7agaPCzcVpNf2p5J1eHxu1OviN1eZT0wF69Lz3kOIdw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.in; s=zohoarc; t=1672079250; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=b/owWBCiHM8U2KEyetDhUodPkjlG/LaCPmDk11UEZwo=; b=dEmqnFqnMTgTMu0eWdkPAXXHTYJom6dqpMFtHi6awT2gufVYuaEMu5FtVxXeTJD4UfCl7JZWR+JOZW05rGy1DxOYZHhZOv1vgs+ViX9gufXctbTKzOqF+qpRd56EGc4igCOUViRiy3EHcPURVrEaSmfkDjiG746Ov0X9M6t4FqE= 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=1672079250; 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=b/owWBCiHM8U2KEyetDhUodPkjlG/LaCPmDk11UEZwo=; b=D/XgVMBrKJll+eYmB5/3GqF7/UJ9oSOXmqDjrwDP08aBwG8xOyQdkbo3ANBOoNMS 62+4VKSDnxnGAQsEaFByf4DWZaw+Najg4Fcx9C6IBp3K78JZsbGYsqoYUE0O4drPirB KTse/1pXsNn04rYZywnc9HswTLXsTJJL+lKCRMNc= Received: from kampyooter.. (110.226.31.37 [110.226.31.37]) by mx.zoho.in with SMTPS id 1672079249062584.1871674372396; 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: <02c2532e6ca99bfc46484ff86f0136245d3ae282.1672078853.git.code@siddh.me> Subject: [PATCH v3 08/10] drm: Remove usage of deprecated DRM_DEBUG_PRIME Date: Mon, 26 Dec 2022 23:57:20 +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 Reviewed-by: Simon Ser --- 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 e99426b5be93..c8780b72e4e8 100644 --- a/drivers/gpu/drm/drm_gem_shmem_helper.c +++ b/drivers/gpu/drm/drm_gem_shmem_helper.c @@ -760,7 +760,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