Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1195086rbb; Mon, 26 Feb 2024 01:32:12 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWz8q7KNuse4qfW3BIIJ/sRqCbeAK02jjVbT5jnawTbdmjd+6EjvQGJy3wfm5yw4PLxMjIVXssnsJq9rxVbPQx1zah58qrSBwTmNs6u2A== X-Google-Smtp-Source: AGHT+IHRA180PauNgw69fib89+ieP0b0Sdsp6eIhWpN3Y0iwHraJmc0CH2t6zoN2M5ifpwmeVTq8 X-Received: by 2002:a05:6808:aa9:b0:3c1:66ec:5aa with SMTP id r9-20020a0568080aa900b003c166ec05aamr7215805oij.22.1708939932359; Mon, 26 Feb 2024 01:32:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708939932; cv=pass; d=google.com; s=arc-20160816; b=yia7HlGx0c5GfeCU69MNxuc1Zunb+VZhta4djvVFLmp7jU9DVqoJ0HGJKPJ61+JsYw mOlzcVetVFHIDc9soYekKnTiHmlSe3zaDciEQJESM9qf7xzJatYDKTigA0osxA4o/bRj 1bH3qgjgHU/XQlXZEpLhquzHutq7xwG1YiZvW8OgKEJ2U3zwQwcZxp56Ks0iqSHNgF/9 OX2WZeQe1Xi9DrcCXJOgzcaFuzlsl3T2KQ/MxtUSa3HJnIItrLzf/bQASGTOTEMCza5C xq3zzFPRM53zXpPb/X+dcA+SpJIw1B8/mRcUgcm3Xv8ACjwJfOTpDBAj6Ae9e+lJX/YJ y6qw== 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=H0JQnIL6JDIB1FYuN6u1xpM61X9dGTNhtuPI4F7rVnE=; fh=mgixLepzNGkyB3AoEmVNXq5zUZJ17gVX1HIqk5a+Lr0=; b=ag3Y7XysW5u23CdqY02fZilaiQ/5V0Y9oumzidjoiwc6pFw7bZmX3KYgBQc3zx2+il kAjuljliCYiCCZsX56XcbBnWw/NqN5pWWcKg7nf1YjJDKOPR33z9B/DEwGogza97naz5 rKYy3Tz12mpszRiJ79tiTKvHsaqVNOAahkbDgW34I9Vl5waLIaHkj6tQNMnKC1gT8ZD1 dooPQZomyuhnap6I6Vkv+FOojcS16tvrzgwQNjM9nwCXRu/nvU1zMGwwLHHK1R0H3yB+ ryI3wrLQJYJTb1h46usKjhGCuzHRyOoN9HBJILljI+xapR/lLrRGGoMSxx4EsjqIOTIg x4Qw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=dtRd7VE9; 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-80971-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80971-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 p29-20020a635b1d000000b005d8bb422554si3384737pgb.195.2024.02.26.01.32.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 01:32:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80971-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=dtRd7VE9; 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-80971-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80971-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 365412829DF for ; Mon, 26 Feb 2024 09:32:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E095B60ED3; Mon, 26 Feb 2024 08:51:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="dtRd7VE9" 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 7FEB260263; Mon, 26 Feb 2024 08:51:13 +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=1708937476; cv=none; b=oH3gpQ2Vi6vWgPA+eEniBUw0D63KkYhkzT2ovLPTvuni/TqWblALOE3Z4vRp9rQitjtj1pPmus2QM8Qi6/6aAzrZN1QG21C/k7xw7UURoEyBkGTEB7H9yYbg9lOYjhrrLsnzxxv9dMjQt5prHGAlasnRRtmDrJK/X5POfgz/HSU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708937476; c=relaxed/simple; bh=POuh+0ljuU40eILrVMmcJRd8iAKsWRHkTX6VH2T5erE=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=V0xJ57gcfj+wyGRF8bGENOUoMDa2vjJijyCVt2QPY4gYYnZ5ICt6MaftYWPM9FPLPeBhiucqI+dhnOZaCErMCPjhhWx29tfrURxvBIXPoQrihAxcofdsR8i5Rj0nLZ3cT8y4gQPeXDaTKBbfYVOOGRTue7a4l57spqKJ85rlytg= 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=dtRd7VE9; 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: 2b01aa3ad48411eea528b71b88a53856-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:516e0f92-2dd6-44ff-9849-1a58ca06f89b,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:fc62d280-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: 2b01aa3ad48411eea528b71b88a53856-20240226 Received: from mtkmbs13n2.mediatek.inc [(172.21.101.108)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1875465088; Mon, 26 Feb 2024 16:51:01 +0800 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=20K=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 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 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