Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp1267387lqt; Tue, 19 Mar 2024 19:47:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUBJ4CvWE1Ns937hTE2jxW0BVgPxbmPpsPKWFanG/q+kQn5LMR1uJ7XU10argK0N0L8gJsGoQIsh7+v0xjfG+KW5DAKCe5OPcvyCOXE7Q== X-Google-Smtp-Source: AGHT+IFKP1E9Yd3LR4EBKrVAgHJCHqbb/XIzZkSDmsJpXb3JbJR1FcFfAADO8KgTSZX0xbq18bFU X-Received: by 2002:a05:6830:108d:b0:6e5:25ee:ddfd with SMTP id y13-20020a056830108d00b006e525eeddfdmr863908oto.11.1710902849925; Tue, 19 Mar 2024 19:47:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710902849; cv=pass; d=google.com; s=arc-20160816; b=rOa6sOQ9sMOl1M5aV7uoMLnIxpEwDY/lGtwkhSOloXwbNtFG+iiH+REJEZVZidV779 P0l2zmhWzki+dIcsIQQZaMhhU1TXVbJxhZvm3Jsu5KpG/YAp3te9xFX/hKdy9xvBT1Iu mpyzZRj50x//qXgHV7UqZ3sqdfT/8B+LJXWNjADLljPfp4JYoKn99ySfVz+dJsHAXcZ6 UFcMhPdUmEXfPYl1b+q7Qj4h0hC9dUmQXXHXUTar6nISbKBckHQW72OzO3VlBd5AZunZ uzIdqpoPpAGmGVXMI7S60Fd5frEVL0Yvt3IsjU2LzkK4ZPdJqB6P0oi4nHjGZQtxxItw rrLA== 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=Scb2HnK5ZMEl+COqC3BuaOpCke6DqWPQ3i75E1QLM7U=; fh=mgixLepzNGkyB3AoEmVNXq5zUZJ17gVX1HIqk5a+Lr0=; b=hAoo7f2WyNrCk9+bKAiRT8JSxClWvGeGSmK5g0b51R5arjF4CI8qt4OWN9rNz2wGDS xcr7rZO5jFO728d95WpKp4L1xJvFkFZi/gtQrwIIG0vuWbEloEuhClFjzJrzBV/OESPn dU6lJk8Gwkabbc+ZCIP/yVf5dMH6NlmTVImxIkAp0z1IVFsKE19T3ibNQgUXA1EL3k9L dKvPDasI/M8+M/uOp1HbUS7+nFOWtlRfRjiZTOIrneLRemFHRb67uyTjThUr84PMmukA rzqF0Cd9gTbW24ugsuS73VTLRpchtec79uKEYXtIMs3kMjMSX4deOcaZ6A/6VaPRTJId Gj7g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=kPKXXjix; 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-108383-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108383-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id bq34-20020a05620a46a200b0078876dfcbc4si8873312qkb.546.2024.03.19.19.47.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 19:47:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-108383-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=kPKXXjix; 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-108383-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108383-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 6A4641C22CBE for ; Wed, 20 Mar 2024 02:47:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 02A9740BEB; Wed, 20 Mar 2024 02:42:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="kPKXXjix" Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) (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 63D6D36B01; Wed, 20 Mar 2024 02:42:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=60.244.123.138 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710902558; cv=none; b=mxBqAUPeWSQFNFdWtakCvQMAy+8nzLaJdN7eui/LT1ApXxw4xBUyg+XbLpFb/+9Ujl+ZrGRNgzJVxX+5ggT775qughxGSiy0Aw955K4K8sQ9WhTNfLmGxpxkiFCVRfEJroIF8LlczBuhp8NvNnfrSXv4oOKOwFpBPYJiEqmq0T8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710902558; c=relaxed/simple; bh=8aKyu/xfuhJl3nf8ZePyKdRk9quLP/aix2QhOf7quqg=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=s/97/ebzlLssFlezEgq3IyHALxBEqm26EL8ubXYYUu+qw7VwcU9DWuelBotvlvtdRaLkX0bsLCNQ+1NSQfgAeF6PKKKSPWNL4wJMhhCZxnq/+yWWewp2gjxevOWDrwV01CgBxS9KknGsYBgolus5iLuPjTAKJeBOnGBMjRxURXY= 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=kPKXXjix; arc=none smtp.client-ip=60.244.123.138 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: 7bec5e54e66311eeb8927bc1f75efef4-20240320 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=Scb2HnK5ZMEl+COqC3BuaOpCke6DqWPQ3i75E1QLM7U=; b=kPKXXjixLGP5ZhIsJLGtWwn58WHcWFuodoTLaqKZ13xUmSQ1ctUIeiIfDOPvDEueiQwudxoBuUMVar+kWlllwLBHBxTUj9NdB6IXY/7OfUR9dSd3s8QZBW7qVvcg432K+v6x4WfX5ab3z0p8DF325v6ZcY+SnHCRwbPTdYt6dIk=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.37,REQID:2422dc09-9994-4daa-9e9c-9aa970af24e0,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:844e1800-c26b-4159-a099-3b9d0558e447,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: 7bec5e54e66311eeb8927bc1f75efef4-20240320 Received: from mtkmbs11n1.mediatek.inc [(172.21.101.185)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1741217019; Wed, 20 Mar 2024 10:42:25 +0800 Received: from mtkmbs13n2.mediatek.inc (172.21.101.108) by mtkmbs11n2.mediatek.inc (172.21.101.187) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Wed, 20 Mar 2024 10:42:24 +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; Wed, 20 Mar 2024 10:42:24 +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 v3 00/14] Rename mtk_drm_* to mtk_* Date: Wed, 20 Mar 2024 10:42:08 +0800 Message-ID: <20240320024222.14234-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-MTK: N From: Hsiao Chien Sung Rename some unnecessary "mtk_drm_*" to "mtk_*" because: - Lower the matches when searching the native drm_* codes - Reduce the code 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} | 213 +++++++++--------- 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(+), 286 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