Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3254863pxu; Sat, 19 Dec 2020 18:40:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJyLJbnFJU5kz1D4MW+sWfzuOGsjBGnDX3fR6GpdrUki37j6puUDSgUiGoX8uG5/7H+LbV+f X-Received: by 2002:a50:fc9a:: with SMTP id f26mr10698427edq.255.1608432015299; Sat, 19 Dec 2020 18:40:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608432015; cv=none; d=google.com; s=arc-20160816; b=DQYOYGJm3LDzwdQuD2BT02rq99E2x0jXjKBeHJ9X50t2UrEK78ym5dLtCsKlnjLbea gYOUKxplFY7C5IkEb6Xfj44Ck9DDydDqWpuqAmtXIFHdk8sU2X1mDcDQ7Tyz2FjwxX1+ DHqZTve1M6R/4hAZXFFs0iPOi6Fx7NlW88CJZHgogX3y+EWdKamB3sUsD66Dfqj9ErjV 28tOPVNTq0TrIeJW3NUJEdKmhDVzbd4BKF9KwBbbkcUqo1Kod4IMC4BmCFp+Qu41ZKXS 07UX0xgbSpxSwkIhwsUZQZu9hJVIAXEgw6ObHwEgC2y5E0Om0HHTn2inayg7+8DVocmr sA6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=9nJLRAIniOG1X26Gd+GDYiAxey4Iy+vZRBIniJ2QiM8=; b=c3zFflcZcUMdwn8E7+W0KvD6Ia9N2gePrQRa/kKEPIs46CqqBzyAO8xRVuVEe1GeMV 8gbFORK62kO2yk1k+MRO24hL1r6EC0Ei2KetJes9i1Hc5fSHIbB1iUEDGwBvjXMLV0pD ChqavVVN0NNMWgW56MP2qUM12XXJI7RScrOPPcBdORyXQ8pR/JQ7Uop72IKi3VxdLPrT nYJB8Qz4Nc9qxVhQRVvPScnsw0FskMWUChTqS6ERKY0MLRHUIplDX8JcWTIKBTDMBMe2 jPseuXdQmPjMf+yXlidFfwxu93jNutaaR+IsIU/e4w0w1PJb7yUobPzpcrwE6eS3gBBj wb4Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i2si8548141edv.606.2020.12.19.18.39.52; Sat, 19 Dec 2020 18:40:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726996AbgLTCh5 (ORCPT + 99 others); Sat, 19 Dec 2020 21:37:57 -0500 Received: from mail.kernel.org ([198.145.29.99]:48822 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726923AbgLTCh4 (ORCPT ); Sat, 19 Dec 2020 21:37:56 -0500 From: Chun-Kuang Hu Authentication-Results: mail.kernel.org; dkim=permerror (bad message/signature format) To: Matthias Brugger , Philipp Zabel , David Airlie , Daniel Vetter Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, CK Hu , Chun-Kuang Hu Subject: [PATCH 2/5] drm/mediatek: Rename file mtk_drm_ddp to mtk_mutex Date: Sun, 20 Dec 2020 10:36:52 +0800 Message-Id: <20201220023655.30795-3-chunkuang.hu@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201220023655.30795-1-chunkuang.hu@kernel.org> References: <20201220023655.30795-1-chunkuang.hu@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: CK Hu After mmsys routing function is moved out of mtk_drm_ddp.c, mtk_drm_ddp.c has only mtk mutex function, so rename it to match the function in it. Signed-off-by: CK Hu Signed-off-by: Chun-Kuang Hu --- drivers/gpu/drm/mediatek/Makefile | 4 ++-- drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 2 +- drivers/gpu/drm/mediatek/{mtk_drm_ddp.c => mtk_mutex.c} | 0 drivers/gpu/drm/mediatek/{mtk_drm_ddp.h => mtk_mutex.h} | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) rename drivers/gpu/drm/mediatek/{mtk_drm_ddp.c => mtk_mutex.c} (100%) rename drivers/gpu/drm/mediatek/{mtk_drm_ddp.h => mtk_mutex.h} (92%) diff --git a/drivers/gpu/drm/mediatek/Makefile b/drivers/gpu/drm/mediatek/Makefile index a892edec5563..09979c4c340a 100644 --- a/drivers/gpu/drm/mediatek/Makefile +++ b/drivers/gpu/drm/mediatek/Makefile @@ -4,13 +4,13 @@ mediatek-drm-y := mtk_disp_color.o \ mtk_disp_ovl.o \ mtk_disp_rdma.o \ mtk_drm_crtc.o \ - mtk_drm_ddp.o \ mtk_drm_ddp_comp.o \ mtk_drm_drv.o \ mtk_drm_gem.o \ mtk_drm_plane.o \ mtk_dsi.o \ - mtk_dpi.o + mtk_dpi.o \ + mtk_mutex.o obj-$(CONFIG_DRM_MEDIATEK) += mediatek-drm.o diff --git a/drivers/gpu/drm/mediatek/mtk_drm_crtc.c b/drivers/gpu/drm/mediatek/mtk_drm_crtc.c index bdd37eadecd5..1e827de1427d 100644 --- a/drivers/gpu/drm/mediatek/mtk_drm_crtc.c +++ b/drivers/gpu/drm/mediatek/mtk_drm_crtc.c @@ -19,10 +19,10 @@ #include "mtk_drm_drv.h" #include "mtk_drm_crtc.h" -#include "mtk_drm_ddp.h" #include "mtk_drm_ddp_comp.h" #include "mtk_drm_gem.h" #include "mtk_drm_plane.h" +#include "mtk_mutex.h" /* * struct mtk_drm_crtc - MediaTek specific crtc structure. diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_mutex.c similarity index 100% rename from drivers/gpu/drm/mediatek/mtk_drm_ddp.c rename to drivers/gpu/drm/mediatek/mtk_mutex.c diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.h b/drivers/gpu/drm/mediatek/mtk_mutex.h similarity index 92% rename from drivers/gpu/drm/mediatek/mtk_drm_ddp.h rename to drivers/gpu/drm/mediatek/mtk_mutex.h index a1ee21d15334..3abcc20e88fb 100644 --- a/drivers/gpu/drm/mediatek/mtk_drm_ddp.h +++ b/drivers/gpu/drm/mediatek/mtk_mutex.h @@ -3,8 +3,8 @@ * Copyright (c) 2015 MediaTek Inc. */ -#ifndef MTK_DRM_DDP_H -#define MTK_DRM_DDP_H +#ifndef MTK_MUTEX_H +#define MTK_MUTEX_H struct regmap; struct device; @@ -23,4 +23,4 @@ void mtk_disp_mutex_put(struct mtk_disp_mutex *mutex); void mtk_disp_mutex_acquire(struct mtk_disp_mutex *mutex); void mtk_disp_mutex_release(struct mtk_disp_mutex *mutex); -#endif /* MTK_DRM_DDP_H */ +#endif /* MTK_MUTEX_H */ -- 2.17.1