Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp982696lqp; Fri, 22 Mar 2024 01:46:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXSGc+u4c7c8eISO0MhDnCIh9k+isy+iDquzi8Yj/zDOfmoFBWOaZE4IgTSBxRlfQvItntjZwdpItQG1mNz5wAmuZDWaRHsns2j/CGzeA== X-Google-Smtp-Source: AGHT+IEH4umDAOOwaB6HbGSQ96ScMJQGuYR9Uv4oFNU6ehio4ml9C3jkTI3SpXi/arEPRjC/wHQs X-Received: by 2002:a17:906:470f:b0:a46:6808:2cee with SMTP id y15-20020a170906470f00b00a4668082ceemr1093901ejq.66.1711097209822; Fri, 22 Mar 2024 01:46:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711097209; cv=pass; d=google.com; s=arc-20160816; b=uRYcmcAp7l/Tdx+Ju5QmGKo7wW88hZdIFPxZy40yzFrBaVCkxzHwdUWAHtdu0+69lh yBlviqFaRMJNSyb/c1nW+EjqrJcuKtmYTg+Za+q0XVppb9T+vninko7srOinneDJ3xw0 TLX82kArHREv73zS/0wYGhuOxnzbODj2aGx8qiwH/bymVu6G9O05hfvXR/T7KSsKM2BW oZ8G1/cEj8h9A24y9R/1qXSsAh36MIOogOVit+g+u/cpOGuE0ik31zNrLvKT1kc0phMc b+ukqGkjv0MEBpZ+SXBk4N63aTmU8cJy2Dqu3bXBNU7HLWxayws3tqf8qA7Gv9NtqxD6 gv5A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=3AB0NjkAiiBebf7bl+8ewpoXxo6VcL6ErYGR4u62cKM=; fh=NaNr814oe1+L6KwGykhXPC9pSIGFrkcOd8HjbgpyKrg=; b=DXrNDGFpiBeyhdVRqHhJLuiB0N8rEscpTIyVcFSbWumvDQGLGGnTD8RuYFDrlNw2Ic so0X3CyvGzpOuUGnCx4CimKuQBr3Aoqy04ApdsF690/jDChConHyTXZ2tXUBGsNh7qV9 YoMmgoRAsUVVxcUzVjo+gd65v3ByosE8RsxtkUAg4agID6MbIpFwDxlVw0HqUH1fQs3p NbohZuCyEqBRVQfrd11VAqs+Q5+LziS0sGSpV6NQkUDDyFxX8nVLFS7YCqf5SN4I9wmV 8eQDJWtcUFc4UrIffzYq+PB//7mQGWON/Y2SfUPnGX7+IssH7T8UzFDakgrKlVzjBo2R evEg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="jy/XB7tw"; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-111153-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111153-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id p26-20020a1709060dda00b00a46d7825339si723505eji.400.2024.03.22.01.46.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 01:46:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-111153-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="jy/XB7tw"; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-111153-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111153-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 8CD6F1F21468 for ; Fri, 22 Mar 2024 08:46:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8AE5E18EC3; Fri, 22 Mar 2024 08:46:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="jy/XB7tw" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (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 E30AD1863B; Fri, 22 Mar 2024 08:46:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711097198; cv=none; b=alzHD9Ju2BxKtNL+SYuJqghSfWMHajz/MKt+eUx88JJ7odycK9LQ02Ecs7M8NrG/Oej4VnCk0ntvnQdANjb3vAaF+7iud4zt0Dsrs/VkvG1+RW9nM5QDFjCG9Ar0r4hgzVgjnJBEKWxdHK0MCywVdBeXOPTwwQ6+c2EY3cl5EHs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711097198; c=relaxed/simple; bh=Gs2UAC9Hy8VFwByHDlNC06xdCiz4QDNtsopwA8NrO4Q=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=m9kCMFeSsRap/E2BTik+yORpXjXnPf/GG1jrT/EyBX68r36ifuOtZQpxOGYRRsgEBIsqH1R9ZPDmpgvCR0SHkbJWHijBt7sw2DXxJwk1dLSKdlPhv85XTkdf7opwG36Pc4l/ovTYdk8kcatFGwUkEpXVoQ06NmOZQfqpImkopZU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=jy/XB7tw; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1711097194; bh=Gs2UAC9Hy8VFwByHDlNC06xdCiz4QDNtsopwA8NrO4Q=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=jy/XB7tw0FGS5tI0FcWpWhUzIrqIIeYInUM84WS16IpPsOCwNS4R96cgPgJzhUVRP Eepi17JezOVmbuiLp8Fo5BbSCnDCvXiKAqbunTeSngJxLdItvJYUkrYmITlEBD7ps3 F4jlmQq41YUwav4f/MtGeRjSei/PyzDY7n7ADwI3IfGRczolHLEROndp7Qx5y2QuBp S6cPVl1uX0msVhBDSiIuDoagk225ecXPhX9509482xD1yeNasazvucrvYRIr56j6vl IWi9vY7VIbrrTD2Ws0ro9toDee2MVS91LpJ+Eu3ofSM7Q8jIyqwIiRTfC84vANaswp Vqx4X6Y/NL5cA== Received: from [100.113.186.2] (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madrid.collaboradmins.com (Postfix) with ESMTPSA id E90AF37809D1; Fri, 22 Mar 2024 08:46:33 +0000 (UTC) Message-ID: Date: Fri, 22 Mar 2024 09:46:33 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 03/14] drm/mediatek: Rename "mtk_drm_plane" to "mtk_plane" To: Shawn Sung , Chun-Kuang Hu Cc: Philipp Zabel , David Airlie , Daniel Vetter , Matthias Brugger , Sumit Semwal , =?UTF-8?Q?Christian_K=C3=B6nig?= , dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, linaro-mm-sig@lists.linaro.org, Hsiao Chien Sung References: <20240322012808.26234-1-shawn.sung@mediatek.com> <20240322012808.26234-4-shawn.sung@mediatek.com> From: AngeloGioacchino Del Regno Content-Language: en-US In-Reply-To: <20240322012808.26234-4-shawn.sung@mediatek.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Il 22/03/24 02:27, Shawn Sung ha scritto: > From: Hsiao Chien Sung > > Rename all "mtk_drm_plane" to "mtk_plane": > - To align the naming rule > - To reduce the code size > > Reviewed-by: AngeloGiaocchino Del Regno Shawn - please - can you fix my typo'ed name also here and on all of the patches of this series? Thanks. > Reviewed-by: CK Hu > Signed-off-by: Hsiao Chien Sung > --- > drivers/gpu/drm/mediatek/mtk_drm_plane.c | 6 +++--- > drivers/gpu/drm/mediatek/mtk_drm_plane.h | 4 ++-- > 2 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/drivers/gpu/drm/mediatek/mtk_drm_plane.c b/drivers/gpu/drm/mediatek/mtk_drm_plane.c > index cbdb70677d305..43137c46fc148 100644 > --- a/drivers/gpu/drm/mediatek/mtk_drm_plane.c > +++ b/drivers/gpu/drm/mediatek/mtk_drm_plane.c > @@ -93,8 +93,8 @@ static bool mtk_plane_format_mod_supported(struct drm_plane *plane, > return true; > } > > -static void mtk_drm_plane_destroy_state(struct drm_plane *plane, > - struct drm_plane_state *state) > +static void mtk_plane_destroy_state(struct drm_plane *plane, > + struct drm_plane_state *state) > { > __drm_atomic_helper_plane_destroy_state(state); > kfree(to_mtk_plane_state(state)); > @@ -241,7 +241,7 @@ static const struct drm_plane_funcs mtk_plane_funcs = { > .destroy = drm_plane_cleanup, > .reset = mtk_plane_reset, > .atomic_duplicate_state = mtk_plane_duplicate_state, > - .atomic_destroy_state = mtk_drm_plane_destroy_state, > + .atomic_destroy_state = mtk_plane_destroy_state, > .format_mod_supported = mtk_plane_format_mod_supported, > }; > > diff --git a/drivers/gpu/drm/mediatek/mtk_drm_plane.h b/drivers/gpu/drm/mediatek/mtk_drm_plane.h > index 99aff7da0831d..231bb7aac9473 100644 > --- a/drivers/gpu/drm/mediatek/mtk_drm_plane.h > +++ b/drivers/gpu/drm/mediatek/mtk_drm_plane.h > @@ -4,8 +4,8 @@ > * Author: CK Hu > */ > > -#ifndef _MTK_DRM_PLANE_H_ > -#define _MTK_DRM_PLANE_H_ > +#ifndef _MTK_PLANE_H_ > +#define _MTK_PLANE_H_ > > #include > #include