From patchwork Fri Mar 22 09:12:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?U2hhd24gU3VuZyAo5a6L5a2d6KyZKQ==?= X-Patchwork-Id: 13599814 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 429A1C54E71 for ; Fri, 22 Mar 2024 09:13:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=uOTTiyXAK0i7ldXfQoa96I76gqkGQdDhFXeHHrAITYA=; b=EtVEsO78Qf+1sI RcUPrSSrM4FNcGRLM/kPO73ZubBllrBTTmHod5/qVuFjxp9iljexPhDkdzGllwa3t83ZYoBmbvq1R XvSnl8lc4Vtvpaa/vcPc7PpfKnLwDh9RNVz1/uHCe94qNNikqgWp4b/+GYEoYU+7OiibyUZZCC5GP rB1dHl2sauM0qFifqsuMFFQCv35nqaD8KFWTEQS59FKtsJU8cNao9PN1bz8uoYnFFafcG5yC+9c2L sY9i5i/oSRszP/UxklXG5VaM6T3S+t6muf2Rvfcv6FHfQw9gHQzdH8r4ThXrmt1IqfYus4k+753ff EGzAX6yfscoAc0QKX+fg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rnaxG-00000006Ut1-0BUs; Fri, 22 Mar 2024 09:12:50 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rnaxA-00000006Unx-0lWO; Fri, 22 Mar 2024 09:12:45 +0000 X-UUID: 5315306ce82c11eeacdb61a41848c7d2-20240322 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=D90IpDuiRkZ2VElRCOSMl6WQG52MAQH00jESrYAeQLQ=; b=a5QMxR3Olhbb/PDdfEBe5ifvDTCnjqnwD/pPBq6wZ0iVJno8ETGShSZQVZ1f9br9Rd1SJdpNCs7No92PyswixDCZLvaY+hS7Cfiaiqe8Vn75NpY8QwQhilS0ynJdPN42OVx5OAqJVI/fwNXogZXx2JUpE44GDu61e2PKddmFIVY=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.37,REQID:6e0e83f0-a39b-42d2-9bc2-aeefec949480,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:6f543d0,CLOUDID:201bcf81-4f93-4875-95e7-8c66ea833d57,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,RT:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0,LES:1, SPR:NO,DKR:0,DKP:0,BRR:0,BRE:0 X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR X-UUID: 5315306ce82c11eeacdb61a41848c7d2-20240322 Received: from mtkmbs11n1.mediatek.inc [(172.21.101.185)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1525872191; Fri, 22 Mar 2024 02:12:36 -0700 Received: from mtkmbs13n2.mediatek.inc (172.21.101.108) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Fri, 22 Mar 2024 17:12:33 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs13n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Fri, 22 Mar 2024 17:12:33 +0800 From: Shawn Sung To: Chun-Kuang Hu , AngeloGioacchino Del Regno CC: Philipp Zabel , David Airlie , Daniel Vetter , Matthias Brugger , Sumit Semwal , =?utf-8?q?Christian_K=C3=B6nig?= , , , , , , , Hsiao Chien Sung Subject: [PATCH v5 00/14] Rename mtk_drm_* to mtk_* Date: Fri, 22 Mar 2024 17:12:18 +0800 Message-ID: <20240322091232.26387-1-shawn.sung@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 X-TM-AS-Product-Ver: SMEX-14.0.0.3152-9.1.1006-23728.005 X-TM-AS-Result: No-10--16.176100-8.000000 X-TMASE-MatchedRID: llTo18AJfvE/5uXNh96gfjl/LoO+pjoA1cuIRwt/4Mjb6Y+fnTZUL80U /azwU24yYfroVIh1m0C4hZmY35M3T0FKjjgcgwapaK+MsTwM+1mH7D1bP/FcOjRCaZSKE/Os4+n 0olV+QL9dLrRNHKRnTPYqYU8vzTMop11fUZKoS3wD2WXLXdz+AXcF/0kiqyh4WEBoeOCrJbXnU/ zlxreh3uLzNWBegCW2wgn7iDBesS28QIu4z6HhEH7cGd19dSFd X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--16.176100-8.000000 X-TMASE-Version: SMEX-14.0.0.3152-9.1.1006-23728.005 X-TM-SNTS-SMTP: 8A0A66182036D317C5888BA94D5703FDE618A200F98EA02E9DCEEF6437B83D4F2000:8 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240322_021244_284233_CCBB1D1F X-CRM114-Status: GOOD ( 10.11 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Hsiao Chien Sung Rename some unnecessary "mtk_drm_*" to "mtk_*" to: - Lower the matches when searching the native drm_* codes - Reduce the code size Changes in v5: - Fix typo in the commit message Changes in v4: - Fix patch error Changes in v3: - Fix typo and patch error Changes in v2: - Sort header files alphabetically - Seperate patches for renaming .c files to avoid conflicts This series is based on c958e86e9cc1b of mediatek-drm-next. Hsiao Chien Sung (14): drm/mediatek: Rename "mtk_drm_crtc" to "mtk_crtc" drm/mediatek: Rename "mtk_drm_ddp_comp" to "mtk_ddp_comp" drm/mediatek: Rename "mtk_drm_plane" to "mtk_plane" drm/mediatek: Rename "mtk_drm_gem" to "mtk_gem" drm/mediatek: Rename "mtk_drm_hdmi" to "mtk_hdmi" drm/mediatek: Rename files "mtk_drm_crtc.h" to "mtk_crtc.h" drm/mediatek: Rename files "mtk_drm_crtc.c" to "mtk_crtc.c" drm/mediatek: Rename files "mtk_drm_ddp_comp.h" to "mtk_ddp_comp.h" drm/mediatek: Rename files "mtk_drm_ddp_comp.c" to "mtk_ddp_comp.c" drm/mediatek: Rename files "mtk_drm_plane.h" to "mtk_plane.h" drm/mediatek: Rename files "mtk_drm_plane.c" to "mtk_plane.c" drm/mediatek: Rename files "mtk_drm_gem.h" to "mtk_gem.h" drm/mediatek: Rename files "mtk_drm_gem.c" to "mtk_gem.c" drm/mediatek: Rename mtk_ddp_comp functions drivers/gpu/drm/mediatek/Makefile | 12 +- .../mediatek/{mtk_drm_crtc.c => mtk_crtc.c} | 210 +++++++++--------- drivers/gpu/drm/mediatek/mtk_crtc.h | 28 +++ .../{mtk_drm_ddp_comp.c => mtk_ddp_comp.c} | 51 +++-- .../{mtk_drm_ddp_comp.h => mtk_ddp_comp.h} | 9 +- drivers/gpu/drm/mediatek/mtk_disp_aal.c | 4 +- drivers/gpu/drm/mediatek/mtk_disp_ccorr.c | 4 +- drivers/gpu/drm/mediatek/mtk_disp_color.c | 4 +- drivers/gpu/drm/mediatek/mtk_disp_drv.h | 2 +- drivers/gpu/drm/mediatek/mtk_disp_gamma.c | 4 +- drivers/gpu/drm/mediatek/mtk_disp_merge.c | 2 +- drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 4 +- .../gpu/drm/mediatek/mtk_disp_ovl_adaptor.c | 4 +- drivers/gpu/drm/mediatek/mtk_disp_rdma.c | 4 +- drivers/gpu/drm/mediatek/mtk_dpi.c | 4 +- drivers/gpu/drm/mediatek/mtk_drm_crtc.h | 30 --- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 32 +-- drivers/gpu/drm/mediatek/mtk_drm_drv.h | 4 +- drivers/gpu/drm/mediatek/mtk_dsi.c | 6 +- drivers/gpu/drm/mediatek/mtk_ethdr.c | 4 +- .../drm/mediatek/{mtk_drm_gem.c => mtk_gem.c} | 65 +++--- .../drm/mediatek/{mtk_drm_gem.h => mtk_gem.h} | 23 +- drivers/gpu/drm/mediatek/mtk_hdmi.c | 14 +- drivers/gpu/drm/mediatek/mtk_padding.c | 4 +- .../mediatek/{mtk_drm_plane.c => mtk_plane.c} | 26 +-- .../mediatek/{mtk_drm_plane.h => mtk_plane.h} | 4 +- 26 files changed, 275 insertions(+), 283 deletions(-) rename drivers/gpu/drm/mediatek/{mtk_drm_crtc.c => mtk_crtc.c} (82%) create mode 100644 drivers/gpu/drm/mediatek/mtk_crtc.h rename drivers/gpu/drm/mediatek/{mtk_drm_ddp_comp.c => mtk_ddp_comp.c} (94%) rename drivers/gpu/drm/mediatek/{mtk_drm_ddp_comp.h => mtk_ddp_comp.h} (98%) delete mode 100644 drivers/gpu/drm/mediatek/mtk_drm_crtc.h rename drivers/gpu/drm/mediatek/{mtk_drm_gem.c => mtk_gem.c} (76%) rename drivers/gpu/drm/mediatek/{mtk_drm_gem.h => mtk_gem.h} (62%) rename drivers/gpu/drm/mediatek/{mtk_drm_plane.c => mtk_plane.c} (94%) rename drivers/gpu/drm/mediatek/{mtk_drm_plane.h => mtk_plane.h} (95%) --- 2.18.0