Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp4616213rwj; Tue, 20 Dec 2022 12:40:19 -0800 (PST) X-Google-Smtp-Source: AMrXdXuzG18cayEMGAjU6kPzrSlKmUO2dAr0/Y0G7K6gpT/ueLnwzaCr/BR0tFJJx7PD7r9N3jlR X-Received: by 2002:a05:6a20:3b20:b0:af:e129:cb7 with SMTP id c32-20020a056a203b2000b000afe1290cb7mr19335026pzh.52.1671568819252; Tue, 20 Dec 2022 12:40:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1671568819; cv=pass; d=google.com; s=arc-20160816; b=bLjkm1CtcW1aYbdbfTYK8PgqopIxByEezDHFGrstqlUYOA2DQanwzziuy5Dv1QqZlV PF63LGx+g2tc6xb7RsD+pALWm8OYforBIQJSHv55Tu+fBZbAuHlyCdcsA3U6bPxZonHE MTeKqWERNAL8b/vfgVzZVhh0VE7MSFEfLWxsGGPvYpbPtfXm6JmjO/GBJFB5Yrk8S+do V6cT7URa8Qsv19t3p8jMpr0QBTrytoMZxLdUDeDUGdxOGuW6yvTDEx7+2CRqJK1PbkGD VQStlASdpW5ETWd6oaBjyn6KZJv175UEsWcOaWtc7g3/LW7eOif+COeLPxkcRR2mF+S8 9Ykg== 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:date :subject:message-id:cc:to:from:dkim-signature; bh=JlRM3rCUPaDSbEmeJCKwpeV0esy7S6JTSYavzUNBpRM=; b=Ee35Qrp3zoEJe2BnmT9Jb5oIcU9WOjt1hSlkyoxNHt5lQcGGOHFfEdR5c3GYwtE9R8 zqS0AZE3wZ7bFotiPF6VU3mWiEfNXoq4F3O+f7g+vwBOigqXJlVEPW7hFSNoJ00AskZQ SGlKMhfBsUr7yD8xw918b8xqxju6x3NiiV7Iy+LmAepVzKabIARDRdRMEAXB3DVFRwss oCHrJxm5UgqpCkW3O0XwAVK/T8w4fG401LY+JnMaEclytKi2MGDUNyGf4WhUNlfBpGbn qIPbvT5V5Dxyy4IvkKIADfJ8gMYRGS8P0cgcYcek5ZyssOowsAKr+xEBSIYzC+GS5xTj GzCw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@siddh.me header.s=zmail header.b=ObSev0hn; 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 y1-20020a655b41000000b004629ce15656si15284460pgr.196.2022.12.20.12.40.09; Tue, 20 Dec 2022 12:40:19 -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=ObSev0hn; 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 S234368AbiLTUVH (ORCPT + 69 others); Tue, 20 Dec 2022 15:21:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234273AbiLTUUc (ORCPT ); Tue, 20 Dec 2022 15:20:32 -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 0D877E60 for ; Tue, 20 Dec 2022 12:19:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671567417; cv=none; d=zohomail.in; s=zohoarc; b=O2fp4AM28cnbKodTzMrLVyXE0wr/t8Ys7yBBf4qImAw228dgshvX1rn6+8uxvWW1ezHSQJWN8cmwXHMG7W1Q5cKwjxANbVy3Ia0U0eff+D6I6HUTy5cWrZP8JZEg/gqLjRREk5JvwT55tlfHD4a/wLfb1lErrCpUi84IaY5Tiho= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.in; s=zohoarc; t=1671567417; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:MIME-Version:Message-ID:Subject:To; bh=JlRM3rCUPaDSbEmeJCKwpeV0esy7S6JTSYavzUNBpRM=; b=Hj+rTSLHEjJPUEqjm2I26BNxLnIqMU1LQqHKC4DgnAkPTlLz258PC1MsfZJ6h+u+NFTYTnFlYIAIG4HpnBrOSznxTYobo3TpK/nwVlB1FvEE/1IVcItYihuocByl4EHNfP10JVU+eDSNOwfknVXKnvVV69vBWNFsuA9pV2RDP3k= 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=1671567417; s=zmail; d=siddh.me; i=code@siddh.me; h=From:From:To:To:Cc:Cc:Message-ID:Subject:Subject:Date:Date:MIME-Version:Content-Transfer-Encoding:Content-Type:Message-Id:Reply-To; bh=JlRM3rCUPaDSbEmeJCKwpeV0esy7S6JTSYavzUNBpRM=; b=ObSev0hn26mww8d1Jxy2qHMLYMKH+RGdBoOFLOcbEzevFP0ohDKPTESX0wt/gfIL 3b6yhzF1ErgYCsGmdJkDyb185J1e6/p5NnmdxKGs2KmKAIqSXc6Z826DQMhoLmS2bNW thiHfEkG0bsDwLs6KFSpf2q2GEKN3o0eNgbmbPrs= Received: from kampyooter.. (110.226.31.37 [110.226.31.37]) by mx.zoho.in with SMTPS id 16715674172169.971315320491499; Wed, 21 Dec 2022 01:46:57 +0530 (IST) From: Siddh Raman Pant To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter Cc: dri-devel , linux-kernel Message-ID: Subject: [PATCH 00/10] drm: Remove usage of deprecated DRM_* macros Date: Wed, 21 Dec 2022 01:46:35 +0530 X-Mailer: git-send-email 2.35.1 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 This patchset aims to remove usages of deprecated DRM_* macros from the files residing in drivers/gpu/drm root. In process, I found out that NULL as first argument of drm_dbg_* wasn't working, but it was listed as the alternative in deprecation comment, so I fixed that before removing usages of DRM_DEBUG_* macros. This patchset should be applied in order as changes might be dependent. Please review and let me know if any errors are there, and hopefully this gets accepted. Siddh Raman Pant (10): drm: Remove usage of deprecated DRM_INFO drm: Remove usage of deprecated DRM_NOTE drm: Remove usage of deprecated DRM_ERROR drm/print: Fix support for NULL as first argument of drm_dbg_* drm: Remove usage of deprecated DRM_DEBUG drm: Remove usage of deprecated DRM_DEBUG_DRIVER drm: Remove usage of deprecated DRM_DEBUG_KMS drm: Remove usage of deprecated DRM_DEBUG_PRIME drm/drm_blend: Remove usage of deprecated DRM_DEBUG_ATOMIC drm/drm_lease: Remove usage of deprecated DRM_DEBUG_LEASE drivers/gpu/drm/drm_agpsupport.c | 4 +- drivers/gpu/drm/drm_blend.c | 13 ++- drivers/gpu/drm/drm_bridge.c | 8 +- drivers/gpu/drm/drm_bufs.c | 122 ++++++++++++------------ drivers/gpu/drm/drm_client_modeset.c | 118 +++++++++++++---------- drivers/gpu/drm/drm_color_mgmt.c | 4 +- drivers/gpu/drm/drm_connector.c | 28 +++--- drivers/gpu/drm/drm_context.c | 18 ++-- drivers/gpu/drm/drm_crtc.c | 36 ++++--- drivers/gpu/drm/drm_crtc_helper.c | 62 ++++++------ drivers/gpu/drm/drm_debugfs_crc.c | 8 +- drivers/gpu/drm/drm_displayid.c | 6 +- drivers/gpu/drm/drm_dma.c | 10 +- drivers/gpu/drm/drm_drv.c | 28 +++--- drivers/gpu/drm/drm_edid.c | 17 ++-- drivers/gpu/drm/drm_file.c | 18 ++-- drivers/gpu/drm/drm_flip_work.c | 2 +- drivers/gpu/drm/drm_framebuffer.c | 3 +- drivers/gpu/drm/drm_gem.c | 7 +- drivers/gpu/drm/drm_gem_dma_helper.c | 6 +- drivers/gpu/drm/drm_gem_shmem_helper.c | 6 +- drivers/gpu/drm/drm_hashtab.c | 10 +- drivers/gpu/drm/drm_ioc32.c | 13 +-- drivers/gpu/drm/drm_ioctl.c | 24 ++--- drivers/gpu/drm/drm_irq.c | 4 +- drivers/gpu/drm/drm_kms_helper_common.c | 2 +- drivers/gpu/drm/drm_lease.c | 68 ++++++------- drivers/gpu/drm/drm_legacy_misc.c | 4 +- drivers/gpu/drm/drm_lock.c | 36 +++---- drivers/gpu/drm/drm_mipi_dbi.c | 19 ++-- drivers/gpu/drm/drm_mm.c | 8 +- drivers/gpu/drm/drm_mode_config.c | 2 +- drivers/gpu/drm/drm_mode_object.c | 6 +- drivers/gpu/drm/drm_modes.c | 10 +- drivers/gpu/drm/drm_modeset_helper.c | 2 +- drivers/gpu/drm/drm_pci.c | 14 +-- drivers/gpu/drm/drm_plane.c | 46 ++++----- drivers/gpu/drm/drm_probe_helper.c | 39 ++++---- drivers/gpu/drm/drm_rect.c | 4 +- drivers/gpu/drm/drm_scatter.c | 19 ++-- drivers/gpu/drm/drm_syncobj.c | 2 +- drivers/gpu/drm/drm_sysfs.c | 22 ++--- drivers/gpu/drm/drm_vm.c | 45 +++++---- include/drm/drm_print.h | 91 ++++++++++++++---- 44 files changed, 549 insertions(+), 465 deletions(-) --=20 2.35.1