Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp4011914rwl; Sat, 7 Jan 2023 09:28:45 -0800 (PST) X-Google-Smtp-Source: AMrXdXtwV35xjXmwbFYaLaOTWnW1U5+Y50jRjYosVO9Yuyte7D/wyvuzt3oB0sQUizMEEq6YFoXR X-Received: by 2002:a17:90a:13c5:b0:221:6b59:7698 with SMTP id s5-20020a17090a13c500b002216b597698mr61984962pjf.46.1673112525527; Sat, 07 Jan 2023 09:28:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1673112525; cv=pass; d=google.com; s=arc-20160816; b=vPXiweCyPut7U708Q4q+mGHNDuOWzZZXOSDd/GHlJ+J6A7R9h41lXlO6WCCHDM3xsV 4a/GtcHmAwGe+S0WZUsVn5FzNvHoq6qa8wknoFXxO8TapyOVDhD8oF9P1WIVBUlG85wc ZWv/sJ7tyLlf3Xbx0UP0wFY7BFT3uaNVbYjrHvUIwo3kxIqrR1OFRVEng8tUsGn2L2Pk EBvW0B6cNP0zCkv+McQRRlUnHOvY5Zvfc8oGb2DB4Q4mye7QGAhgFwbMxfW50qNohw7k poUSJPz1kAhrFmzqrIuD6DXD4SChmHiE+WXpb9Uip0coZBeQUmIELLtnYituUi7q+R6S lM/Q== 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=YAXTlBSpddAOoRl/rgdcXT/UmQnPneK4iAsjBbqHVFE=; b=YsMWKniAbombM5tRI8wEuVQeErT1ETLqWIbP4/G8VXB7jXJXNmMSC+fXSlo8GbwhMv VBOJfLKT3/BPVQ8KOQaCc1Ci2V99ZVNjcvvjgcFLoST4h91DHot4goAW5wbBpYMVs/X5 iYZQCtkMxd8csx0/npgTmKv74MZhWZg6yZ+tAmfsmGzHiU4MV1bKUTDloZfMAbzjGggL 7+vgzkJb9/VGswmt2XGqOaXQ10GHMLVPxZ2mBOJkcEhakC6l9c+IgC/bo3YA3MhMQdok zOgxC3VteWIUbJGNJ9uEBby8i8wskaisWCLLoNz4wxMWXGrMnmfnBV4kdhkuxyo46sY8 Jwzw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@siddh.me header.s=zmail header.b="eFmF/hSf"; 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 pf2-20020a17090b1d8200b00223b92028c1si5005724pjb.190.2023.01.07.09.28.38; Sat, 07 Jan 2023 09:28:45 -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="eFmF/hSf"; 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 S232713AbjAGRYa (ORCPT + 56 others); Sat, 7 Jan 2023 12:24:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232647AbjAGRXt (ORCPT ); Sat, 7 Jan 2023 12:23:49 -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 593694C72F for ; Sat, 7 Jan 2023 09:23:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673112190; cv=none; d=zohomail.in; s=zohoarc; b=R1mrQ4F3Ue9uLmF3hdVCIJGqIdNH8yLqxX66hcHQOzS2jo9KAJtR8rJ8KxqdRm6/0y7B5tsyfpR4ijFC2DeQMxOE3rGVTVz1GDwwlOaeunm1/d8c4gMB2WH3LnNNahHtwlF/fbLRrvelnbcsWPUBOsMsJMKpdb1gn9zjid7m7Wo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.in; s=zohoarc; t=1673112190; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=YAXTlBSpddAOoRl/rgdcXT/UmQnPneK4iAsjBbqHVFE=; b=OnnVbJ5KJ+wIunl2sbKSWbrAGYCwROtMWP8kEGPrAfSzt0x4O/l7vNeAbVSXSVkM9q0HF0hEc7MqswXyOiYbAzXw85bN9NAW6Js44KjYQmqH66+rXJpTGKJVZXs0xxPXhvn9LG3OnKbKKhA6EUD/tf3Jlei1LGOXS2kYO/PkXr4= 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=1673112190; 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=YAXTlBSpddAOoRl/rgdcXT/UmQnPneK4iAsjBbqHVFE=; b=eFmF/hSfTGZhghmBExiaqdRIEOVPdMaYRmH5DEnHpjbwgxoRmq1fHZDTkX3Rmh8z Le8UbLTSaxcoiSm5dkOynm7sMe4BIGaywSWNeu37zagqc0TeSZnUSRwmZ++WdEmCL/n 5uA2gxbJVJDXx0gwEw3Hyr/as9polEdQ7QuVD/BM= Received: from kampyooter.. (110.226.31.37 [110.226.31.37]) by mx.zoho.in with SMTPS id 1673112189539240.16651329667513; Sat, 7 Jan 2023 22:53: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: <775e3800eed1f62df950063dc623037ca3840828.1673110890.git.code@siddh.me> Subject: [PATCH v5 08/10] drm: Remove usage of deprecated DRM_DEBUG_PRIME Date: Sat, 7 Jan 2023 22:52:28 +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_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.39.0