From patchwork Mon Feb 26 08:50:48 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: 13571663 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 031B0C5478C for ; Mon, 26 Feb 2024 08:52:05 +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=hjKGmmbyiAwerUk1S9QxIQZrtCldOzudBllOLL/HheI=; b=ZiBcPIpejqPcmg hqvQCm25Q8sEAzsE2/PLOuj4lk2HXzFzHurioebMulFCPgQtO7f3pIEtp2h61WPevpBeqTjPzqK2u 1FIczQoBw/ySPJEpzU1wlNLIvtkTYjwdvJw00jNzq+FFO5csLUuStl0ciZbIWhT1/VgSIMNygwps2 b8vIPKL8hp1/upbCW0PaIaGCsI/NYFv4zW949Mpxh3K/FYXgaNnUIbvXNI8lxMr5E0Z83/OKfrIwe mgyhp10GSvxcooS+niDmr6n/HAVtu6CG8u2Ja7V0/JABCPpAueYoYK7C4C6Bhj84IJsC6MxjYLm/r l+AOKO9A4hQ4sgRX148g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1reWiB-0000000H7vH-0M1f; Mon, 26 Feb 2024 08:51:47 +0000 Received: from mailgw01.mediatek.com ([216.200.240.184]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1reWi7-0000000H7ro-4Atx; Mon, 26 Feb 2024 08:51:45 +0000 X-UUID: 3fbd6ba8d48411eeb7b09fcafcf55fec-20240226 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=H0JQnIL6JDIB1FYuN6u1xpM61X9dGTNhtuPI4F7rVnE=; b=dtRd7VE9rw15/JgY3NC6ZMh0QTeK4Ywz/L2Ego2NYfgf/keCANf/9CG9MvKgqtz1Jn8EWrhqHCrGTZStlQ5SEqIBVwBNbCPf0mHCaQBSEiEKs2/sQc1mcH/kMgzO+FDact27cUoqogBjNYFdQ248gcS/pyvNJlJEhRCpNYAl0Ek=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.37,REQID:1dbf47cb-bf8d-4ec4-b0e5-e75e2c78bcd3,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:e057b98f-e2c0-40b0-a8fe-7c7e47299109,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: 3fbd6ba8d48411eeb7b09fcafcf55fec-20240226 Received: from mtkmbs11n2.mediatek.inc [(172.21.101.187)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1629085869; Mon, 26 Feb 2024 01:51:36 -0700 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) by mtkmbs11n1.mediatek.inc (172.21.101.185) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Mon, 26 Feb 2024 16:51:00 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs13n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Mon, 26 Feb 2024 16:51:00 +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 00/11] Rename mtk_drm_* to mtk_* Date: Mon, 26 Feb 2024 16:50:48 +0800 Message-ID: <20240226085059.26850-1-shawn.sung@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240226_005144_042919_E22AA68A X-CRM114-Status: UNSURE ( 7.49 ) X-CRM114-Notice: Please train this message. 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_*" because: - Lower the matches when searching the native drm_* codes - Reduce the code Hsiao Chien Sung (11): 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.*" to "mtk_crtc.*" drm/mediatek: Rename files "mtk_drm_ddp_comp.*" to "mtk_ddp_comp.*" drm/mediatek: Rename files "mtk_drm_plane.*" to "mtk_plane.*" drm/mediatek: Rename files "mtk_drm_gem.*" to "mtk_gem.*" drm/mediatek: Rename mtk_ddp_comp functions drm/mediatek: Rename "pending_needs_vblank" to "needs_vblank" drivers/gpu/drm/mediatek/Makefile | 8 +- .../mediatek/{mtk_drm_crtc.c => mtk_crtc.c} | 218 +++++++++--------- drivers/gpu/drm/mediatek/mtk_crtc.h | 30 +++ .../{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} | 19 +- 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, 277 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} (65%) 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