Received: by 2002:a05:7208:70d5:b0:7f:5597:fa5c with SMTP id q21csp895586rba; Thu, 21 Mar 2024 18:29:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXeYE1bqL72kTO8kuA8nkub4pYVz/2zWoS85pcyDycp86UAKCXB8Mf49/DAYqq0NU1znKdVjNlreVCoq5TGFKUkPPmic422cVsKJNRMwA== X-Google-Smtp-Source: AGHT+IHxM3Ru+GfL2txaaMjEdIDvm910cLmTpmFsFN8+RC5qmHikiCMfb+K0QCeaLg3FirDNlSA6 X-Received: by 2002:a17:90a:d14d:b0:29c:25e6:ce86 with SMTP id t13-20020a17090ad14d00b0029c25e6ce86mr974347pjw.32.1711070957490; Thu, 21 Mar 2024 18:29:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711070957; cv=pass; d=google.com; s=arc-20160816; b=Pjlh3RIgEJreoDE3yyfF62TEi6zxLFcuXLSoGMhiev1UVKcIqBlfIeQBenCUWYyHZG AQW1/2TAmGV2yW+2t8J6sB90uvW36aNtNm+AzHXmjhySQ5EXiL+2c4HKP9I13/39QvcE YBOZJ3e10oHBHg37PY1bdJQWpGHPlKCjFfiJEop3Y+I6stpIVINHaYsaAos8VQqKKEVR zRpMksS2UdLlVS6AwzsG/C4J9MQ7rdWaMOvjJbeZJwDMFJgHWrL/xXWNZwBSweCNKElQ B3Rc7Fhk5v9leZZfyPs2c7rWxdoHtk8bjTqFDLDW9tmUjgyhhE8UxB1t6z6mhtUVXYQS St4g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:subject:cc:to:from:dkim-signature; bh=YUf9Bpw3wICYiwqtGH7qoo2KJtiElIy8h+i2gA9rinE=; fh=mgixLepzNGkyB3AoEmVNXq5zUZJ17gVX1HIqk5a+Lr0=; b=m5G1ysiunvUCR5dRXUXnfGjMNPydpfRiHC1GrjzD5RstH1sJtGlLj5p02jh0kLVmMw vcupEFXYwuVzvtfzb4v4O7PE7e12PkVt+b6/+kjcMSXkH4DjAjIc0j1OeVJoc+u5a3/g fVVtm8xkUXorZU59uDYdot1nF6DgHF4yXKwDl/tT+s8VKbCmWCF4tf9q0PQ38b6SQHGV oZBu1G980kaKj06sRfFbBHxSVJCE5lpXo8BA/r5u0NjN3oHEhxTWLJwAotUFJLfPrwxs GirsFHMNQD9fnu27NLZSfnXe8wuYS/HFapL9STOBLxtnqHbshy5N9Sq5/5noWzhQW+73 Lo3Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=t5+q2IjU; arc=pass (i=1 spf=pass spfdomain=mediatek.com dkim=pass dkdomain=mediatek.com dmarc=pass fromdomain=mediatek.com); spf=pass (google.com: domain of linux-kernel+bounces-110843-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-110843-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id np4-20020a17090b4c4400b002a023821d9fsi2299327pjb.165.2024.03.21.18.29.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 18:29:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-110843-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=t5+q2IjU; arc=pass (i=1 spf=pass spfdomain=mediatek.com dkim=pass dkdomain=mediatek.com dmarc=pass fromdomain=mediatek.com); spf=pass (google.com: domain of linux-kernel+bounces-110843-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-110843-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 2D1DC284D83 for ; Fri, 22 Mar 2024 01:29:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 19D7ABE4B; Fri, 22 Mar 2024 01:28:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="t5+q2IjU" Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C649310E3; Fri, 22 Mar 2024 01:28:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.61.82.184 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711070906; cv=none; b=iNWv1pRKzk+6gSd/ae8xv4z3ViEtUAxT9bEMUleah2Mud4Sr9stEV76lqVo1RY3o7VOZdrd8CblBWKQaUbMQbcvPYsx/rbdqHXpXXi4Y1dlVrsF3Qc2swIhQvrR0B9oTiZprGcS9QWu0v0AN4+DYdUVzrvfuMlJVnN9vKU1/gGs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711070906; c=relaxed/simple; bh=IJmeGgt9F5k9KMmzXUbrKEUMW1uLxcfHHeeed64KspY=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=RD7YZanYFuivxWIvjbTC86XC2v9vqhJgQByhnwliGAhjiyXod0Ae01A1HDk9MJnRjojgDi4QQYm1cQB1mv+bEie51SlpJzsINMLtTLdMH2mUanR+F/qGTA0oCSSKwoiTw4JNROZ1VGEyP+dP/JviQbrxbuCe7IC8FL7q9By1MtQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mediatek.com; spf=pass smtp.mailfrom=mediatek.com; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b=t5+q2IjU; arc=none smtp.client-ip=210.61.82.184 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mediatek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mediatek.com X-UUID: 7225d100e7eb11ee935d6952f98a51a9-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=YUf9Bpw3wICYiwqtGH7qoo2KJtiElIy8h+i2gA9rinE=; b=t5+q2IjUSJE8FqhWQoJaYWa92SMxm9l87TKfTVm11No16kXGoEpjBOHN3om4e49exrpE3mu3MSrdKzPlACo7bUErIWyg1QTDj/ze5l5Edr1biyBQjd4aZy3wdHu5zCsIniUFbthuLGshcMC6jQfNp0+6UlSe0DLiJ8vwjAFRwbs=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.37,REQID:ddfb7232-90b9-4a55-b692-40400838bdd2,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:c9a6c981-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: 7225d100e7eb11ee935d6952f98a51a9-20240322 Received: from mtkmbs10n1.mediatek.inc [(172.21.101.34)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1576643871; Fri, 22 Mar 2024 09:28:11 +0800 Received: from mtkmbs11n2.mediatek.inc (172.21.101.187) by mtkmbs10n1.mediatek.inc (172.21.101.34) 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 09:28:09 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs11n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Fri, 22 Mar 2024 09:28:09 +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=20K=C3=B6nig?= , , , , , , , Hsiao Chien Sung Subject: [PATCH v4 00/14] Rename mtk_drm_* to mtk_* Date: Fri, 22 Mar 2024 09:27:54 +0800 Message-ID: <20240322012808.26234-1-shawn.sung@mediatek.com> X-Mailer: git-send-email 2.18.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-Product-Ver: SMEX-14.0.0.3152-9.1.1006-23728.005 X-TM-AS-Result: No-10--16.007000-8.000000 X-TMASE-MatchedRID: 90G6ca/P0SM/5uXNh96gfjl/LoO+pjoA1cuIRwt/4Mjb6Y+fnTZUL80U /azwU24yYfroVIh1m0C4hZmY35M3T0FKjjgcgwapaK+MsTwM+1mH7D1bP/FcOjRCaZSKE/OslSB IvH74wfKcja777HRNuk7WDVwHg5SjAM0/G7XUdeO6kMgL3jbYOhvSLX87MvP1T+JjZQGVgumjxY yRBa/qJcFwgTvxipFajoczmuoPCq2UTGVAhB5EbQ== X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--16.007000-8.000000 X-TMASE-Version: SMEX-14.0.0.3152-9.1.1006-23728.005 X-TM-SNTS-SMTP: 80A2B61020311C98EBCDB6CA4D8DA2170E11795AA2D541DEAB6167E5E95BD9352000:8 X-MTK: N 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 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