[PATCH v2 11/14] drm/mediatek: Rename files "mtk_drm_plane.c" to "mtk_plane.c"

CK Hu (胡俊光) ck.hu at mediatek.com
Tue Mar 19 19:04:03 PDT 2024


Hi, Shawn:

On Tue, 2024-03-19 at 15:02 +0800, Shawn Sung wrote:
> From: Hsiao Chien Sung <shawn.sung at mediatek.corp-partner.google.com>
> 
> Rename files mtk_drm_plane.c to mtk_plane.c and
> modify the Makefile accordingly.
> 
> Signed-off-by: Hsiao Chien Sung <
> shawn.sung at mediatek.corp-partner.google.com>
> ---
>  drivers/gpu/drm/mediatek/Makefile                         | 4 ++--
>  drivers/gpu/drm/mediatek/{mtk_drm_plane.c => mtk_plane.c} | 2 +-
>  2 files changed, 3 insertions(+), 3 deletions(-)
>  rename drivers/gpu/drm/mediatek/{mtk_drm_plane.c => mtk_plane.c}
> (99%)
> 
> diff --git a/drivers/gpu/drm/mediatek/Makefile
> b/drivers/gpu/drm/mediatek/Makefile
> index bdb71738e1f31..a47fbec7b9ce1 100644
> --- a/drivers/gpu/drm/mediatek/Makefile
> +++ b/drivers/gpu/drm/mediatek/Makefile
> @@ -12,12 +12,12 @@ mediatek-drm-y := mtk_crtc.o \
>  		  mtk_disp_rdma.o \
>  		  mtk_drm_drv.o \
>  		  mtk_drm_gem.o \
> -		  mtk_drm_plane.o \
>  		  mtk_dsi.o \
>  		  mtk_dpi.o \
>  		  mtk_ethdr.o \
>  		  mtk_mdp_rdma.o \
> -		  mtk_padding.o
> +		  mtk_padding.o \
> +		  mtk_plane.o
>  
>  obj-$(CONFIG_DRM_MEDIATEK) += mediatek-drm.o
>  
> diff --git a/drivers/gpu/drm/mediatek/mtk_drm_plane.c
> b/drivers/gpu/drm/mediatek/mtk_plane.c
> similarity index 99%
> rename from drivers/gpu/drm/mediatek/mtk_drm_plane.c
> rename to drivers/gpu/drm/mediatek/mtk_plane.c
> index 95a4328a9b0b6..4625deb21d406 100644
> --- a/drivers/gpu/drm/mediatek/mtk_drm_plane.c
> +++ b/drivers/gpu/drm/mediatek/mtk_plane.c
> @@ -16,7 +16,7 @@
>  #include "mtk_crtc.h"
>  #include "mtk_ddp_comp.h"
>  #include "mtk_drm_drv.h"
> -#include "mtk_drm_gem.h"
> +#include "mtk_gem.h"

This should be another patch. After removing this,

Reviewed-by: CK Hu <ck.hu at mediatek.com>


>  #include "mtk_plane.h"
>  
>  static const u64 modifiers[] = {


More information about the Linux-mediatek mailing list