Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp296223rwj; Thu, 22 Dec 2022 07:53:11 -0800 (PST) X-Google-Smtp-Source: AMrXdXsTMLr42xTcWyvHl5/CbucwzBND/7toKjs1dRhoPSctqw17hImYPjhB1dHmyr1me9JVBwaH X-Received: by 2002:a17:906:d216:b0:7ae:ccf3:7be5 with SMTP id w22-20020a170906d21600b007aeccf37be5mr5559847ejz.32.1671724391495; Thu, 22 Dec 2022 07:53:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1671724391; cv=pass; d=google.com; s=arc-20160816; b=lzNUj09FFuwMdCTBO/UngFmd4GyXK7gzukt4n0Kko0/sHMdmPZj53oFoKe+cVM8ScB 2iIWS85wrIk0Tuy/KbcPenbQNVA7WTgUa9p3/fgtZM2d8ZROKzNAjbcs9k/A2FJhX9Nb SizyMaGqiUPtKp+YnWRW/5lMd2zqnQO5lJ7Ezf06RNiC2mm+TSipwIJBn9dU76RUtqC2 uP4eauYVWwV0tNmoJSOjaQ2fJEQ1haDy+jg68/DzXw6a7CsDifkGf1NBRIzukUBnB0nZ KBW/EuZXLi03XMYAYGwy+eO/SK4aZ/nf0b5jh8N0Sug1VWvA3lS1nqIxGow3uWEmQpNn xY0w== 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=EpZU11lb3UoGQThiOeyBG7EfKNyKKsadGdBVwLfv80BUvFp+0uAKrJ/4IetQ7SVSj2 qMBxa+BzxsYL7yBe2CPvcHqYQw8GCpDDLKsnNq8u9WIDDBTquN63V4AvzSl62uOrRaNA +TGNV+azbCAJni2nEcP5r+eP9QAYQFwLypHVQZqzoSx62Rm1Lr6+Jal9sMW4bu0Vg2wV MBdSnSujtqwh8d2v7WYLbOOPnTWPuNFnAwZOPhFNGMLTPzw8b4NcwtRBS0h8aGqHyVjc LqUDeKhxf9GPn4Wv7vJ1dib836nHRYTIJWNKiuBwalSIfPpG9IxzX9EyLitpg6XvYvkq fYLw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@siddh.me header.s=zmail header.b=D5M8EEyX; 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 sd14-20020a1709076e0e00b0082372aef3bcsi696268ejc.583.2022.12.22.07.52.56; Thu, 22 Dec 2022 07:53:11 -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=D5M8EEyX; 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 S230269AbiLVPlk (ORCPT + 67 others); Thu, 22 Dec 2022 10:41:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230246AbiLVPl2 (ORCPT ); Thu, 22 Dec 2022 10:41:28 -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 802A517414 for ; Thu, 22 Dec 2022 07:41:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671723651; cv=none; d=zohomail.in; s=zohoarc; b=afDaLve54pgeuDsZug2F8oCsQta7Wcv/5Y4ujwHaC/v0nQ7WIlQdfijwb02kpBqiqoa+ihvjblsIwNCfnVVPazg5AHw6VNiG37Sv5S5U9nJ+mCRKhxDHREw1SxdMfEyfg+UmvxuBYSkWfbEtiCnfpxIXiIR0KiaRl5Hld1Rsado= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.in; s=zohoarc; t=1671723651; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=1MCKPJOG9ImRBJLySDbjsiaY3Ui5PpMZ+NWkNcMBJcc=; b=ea6szritPlwEEyRxR7EFBEshraVatCEARiM/If5Xdw8nNiZUqHoHUYOSuUoELC748cKiZVrWz8MIv52snHgbjFx265trnAma+xL5zwFoxTb9G+pGeNEbyFNY/xslBJkqMgl4Gz4eSzcGH/2adYG7rCeL9CVQZ8s8TStGxeMApkg= 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=1671723651; 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=D5M8EEyXnty59BC5u06qtwDD41GRAVI5Gka9YYEHZwyDnBiixX28hBt9EFqwvdfc fsO/J151DpIq96ya2IdSUX7+SHv8WhQnQZR79Ka3tRAIZArgugewGwAjEWgs99oN9KN 8Th7ZcE5DW72H4Qx9EhMIQQNIhOM5t266ZqTj45w= Received: from kampyooter.. (110.226.31.37 [110.226.31.37]) by mx.zoho.in with SMTPS id 1671723650135402.59306702069614; Thu, 22 Dec 2022 21:10:50 +0530 (IST) From: Siddh Raman Pant To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Simon Ser Cc: dri-devel , linux-kernel Message-ID: Subject: [PATCH v2 7/9] drm: Remove usage of deprecated DRM_DEBUG_PRIME Date: Thu, 22 Dec 2022 21:10:41 +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