Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp6183892rwl; Mon, 9 Jan 2023 05:23:35 -0800 (PST) X-Google-Smtp-Source: AMrXdXvIl+Wf9eqsaGowmV/9rd2rd1nAOsp0pGayfAfdPUEIRncu2slm0LFCznJ2bMgQoHTPafW8 X-Received: by 2002:a17:906:4e54:b0:812:d53e:1084 with SMTP id g20-20020a1709064e5400b00812d53e1084mr60733310ejw.70.1673270615540; Mon, 09 Jan 2023 05:23:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1673270615; cv=pass; d=google.com; s=arc-20160816; b=mLuYgP9OWZBPOYkmuATVUl5f2TiFurN/3/Y1Xt6z/jIj+CZ59Xj5EqYXzQ7gYpdHd5 RY2+COT3N8LjaV1fa2Hk9nM/QXaZbm36eYoph0kZHn18lLX4sWVC/9eoIij2Ci9BXIwZ zmUiXwEZyba03vLWSjDopRNmXh5Ygu+N1Agt4md4QtR9+uKYOtsUZP+K5gu29i9+5gZk eKuSctC4KuF0T+ZFBeIiA0AkAjZfIcWXWp20woBsIszuqQz3e5N5gDpnIlKk6IYzfmUf XbvSWjcYiitySgqOeXGiA1ee/oU+myCkAIa38X1FwfNqiCf7m00tO8gChXF+XM9d/Q8W +QPQ== 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=l7IAI14ODJCwpMl5SzqxG8qYHeeY5frhCj4aST0zRjw/lP04itmaDuy7vNrDhoK1hd QSO6cEhWMGGvo9KX7+px1KPtP5Neta7Ofm4AtdH+cOu7ff9muyReGehDrcn1vSCcG7/O jJxAi0AQAzcPIY36edtVSKit0DVJO5BJoeGnyuXBg+bAgXoeUjkNQEPYluMmPmHDhG+M DBXSL+5OKR/XOaasdetlJGkUHkyITDQqAuoTok8NiM4naRhgwrbXhArVaiGxViQLb4tK jzyC/iqHEGh1SzS3IsTILs/WMYunnSVz3TJi4AH9PDZ+ni7Briz3Dh18UK8no+7UIpCc fexQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@siddh.me header.s=zmail header.b=sysrjlCn; 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 hq16-20020a1709073f1000b007c10ac7fe46si10013867ejc.19.2023.01.09.05.23.23; Mon, 09 Jan 2023 05:23:35 -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=sysrjlCn; 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 S237036AbjAINDS (ORCPT + 53 others); Mon, 9 Jan 2023 08:03:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236362AbjAINCk (ORCPT ); Mon, 9 Jan 2023 08:02:40 -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 257816560 for ; Mon, 9 Jan 2023 05:01:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673269254; cv=none; d=zohomail.in; s=zohoarc; b=NSPPhDzHHTqtTtYp/YrVs2TgtDPNrSiFAidLttfXj7Qn/FxBywv/5w2v4oH9tvwbUPgXvm+hmqAsP97VwiZ8yaTtEW2kDmLiZbJVzg7elHr6u3JPsJSO6t4RiaUez49XqIAyFcGLZo6ApN0SY07YVzeSbUDqJ2GibVioUz8lMlE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.in; s=zohoarc; t=1673269254; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=YAXTlBSpddAOoRl/rgdcXT/UmQnPneK4iAsjBbqHVFE=; b=PDrykskPyYIOn5E0UPZMrNmQfnkR8BytQWDob5k1sn4wvh4SgQo3ioGAg/GyGvgm7MtPHq+WvDJQk7gGVmwbtwVuwh05amurPcDqBTcYhF7y498CA3CfsOLWy0vdOZkMrEYSbHnFqbtJ/4QtNuIjxrKgYuuF3JwJowJI27bbBUQ= 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=1673269254; 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=sysrjlCn1E7JXjg0pXTmXuv+W6I9RcAxrsQuZ/yBkoDU8wow+Lnaiuha9L02i+4o sy0klkH05g72nYd/2RSep3/WbWdOZuEAfd4m+8tdemvJviqtAcxYUTzW1N6Uq/+zXgJ 0b1UbfPf3Wfz+bz7KxOryKByPl3Bun6khrCEa+ZY= Received: from kampyooter.. (110.226.31.37 [110.226.31.37]) by mx.zoho.in with SMTPS id 1673269252209523.1936231189786; Mon, 9 Jan 2023 18:30:52 +0530 (IST) From: Siddh Raman Pant To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Simon Ser , Jim Cromie , Sam Ravnborg Cc: dri-devel , linux-kernel Message-ID: Subject: [PATCH v6 08/10] drm: Remove usage of deprecated DRM_DEBUG_PRIME Date: Mon, 9 Jan 2023 18:30:33 +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