Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp1545356rwl; Thu, 5 Jan 2023 15:31:50 -0800 (PST) X-Google-Smtp-Source: AMrXdXt2VB7kIHI/BDuQ6yG//fasOM+9+6/Uc/7VTIoJWRJSwJk/VzREJtpd5kMJsP9zzme23C/j X-Received: by 2002:a05:6a21:6d82:b0:ac:f68:d0f8 with SMTP id wl2-20020a056a216d8200b000ac0f68d0f8mr83183951pzb.23.1672961510182; Thu, 05 Jan 2023 15:31:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1672961510; cv=pass; d=google.com; s=arc-20160816; b=rg+Pt3lS30IdoXTXjj+l9rZdAma4CDuia7EjoC4TZlRTZ33m8y3CQeyxcuNlJjv8Pw +CGEPNzQzXBnr6Kz4G1qO2l0yzlodwVwBu+3R5uvs60DS1aeQOy/RIDWK34GAVQtQ1gx kIoqhBHRB4X2w7S97tRC9klf3GW+qTtpCcwA3jbo+XrPCrWrcJSZfr4NTnJftmKwTy+9 7BmzizyIvSxUqWKSZZ5BzqE8Dnq5nzqfbwqWIWUY45gHFmIuoog8fGQR7sSIU4L93+hP xRw6w41/jaXdvcZC3Qn1iIiYu+f8swdLp4t+dzU9unzBtV5fkGFcutg4xVS6tV2bQfz0 +M9Q== 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=qHOjh6+YQLb01Fu+IlqqJ00bGOIiUVjRfzB8q6GBwrgegN6YTGY7WBRGD2CjcTfoy6 bVcqhENFQltC2GFf0hA+VAMjKvp8RhNsCOGDSc6TF/nApcTbmiNrAQJwfg16rXUPT38R +HZU2irWOF4jVR9gPiSzbyQKmF7ENl+SamS1XsGQPAX/zZI8Jqecm8hGKdyIbSx+pvQE tRrfsXuDKJYGjpq6AdyTtzXmhkeG0z6jLhNf3FI5ceTGeACb6RAz7j8eWO1qJC2E1FRK 6VOWvz0mR2XvNWor+Ytd7V9AIW0lgDac6F3xN26gKvwf6iV2qtx+YoF5ZXszPwrL/kWK QCwA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@siddh.me header.s=zmail header.b=GaQxZuLX; 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 t63-20020a635f42000000b0048c4f23869dsi38951313pgb.796.2023.01.05.15.31.43; Thu, 05 Jan 2023 15:31:50 -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=GaQxZuLX; 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 S236031AbjAEW2I (ORCPT + 55 others); Thu, 5 Jan 2023 17:28:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235998AbjAEW1p (ORCPT ); Thu, 5 Jan 2023 17:27:45 -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 5E1CF102F for ; Thu, 5 Jan 2023 14:27:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672957510; cv=none; d=zohomail.in; s=zohoarc; b=FXTKARM4codHZ8MySX8+/zrZ6y3ij/wDtoOmIMRyIuH/ShdHbAmgNYZIZaQk9L1C5dLajANZ7eRBsHvAr9ZkBrwspkFqJgeMxh0xQhh4hw1OXMrLTYKFbTA/HPb09e+gyBdv5ws4iaXrmByKUg4c2ZXDmBTdLKKOU9UijK9qt14= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.in; s=zohoarc; t=1672957510; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=YAXTlBSpddAOoRl/rgdcXT/UmQnPneK4iAsjBbqHVFE=; b=PIHvg2GZtRl1h2z7/z5G02Rc+gu0067TmBqhEZvafsG/NvGNap5ZFcg1Oh957urbWi/lUYXIv8TyvEo+xlqJBlG266c2LU1oqAzkuTr6IQkL5UZqFckc1jxUz6jSbjO69tkX+me4y0g0uV0pw6sTzfDNuMdVppB/6wd/t5oCZK4= 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=1672957510; 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=GaQxZuLXCsPd6swS7SQUyvWjbyUX2koO8Lwi5HkFGVjdlNazyYXKmYVK8Cr7k088 RLB+SIlYbu+SozOtmFvMMP8BSeGHvhR7FiVV1iv8GN0QwtOJud0uqP0sJh7Uz9rgGhH veKogXjTuf9swlBNz2jv8B9EVksdC6kYJPJvODvM= Received: from kampyooter.. (110.226.31.37 [110.226.31.37]) by mx.zoho.in with SMTPS id 1672957508838339.1388299764209; Fri, 6 Jan 2023 03:55:08 +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 08/10] drm: Remove usage of deprecated DRM_DEBUG_PRIME Date: Fri, 6 Jan 2023 03:54:59 +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