Re: [PATCH] drm/mediatek: Drop dependency on ARM

From: CK Hu (胡俊光)
Date: Tue Oct 29 2024 - 23:30:55 EST


Hi, Chen-yu:

On Tue, 2024-10-29 at 19:13 +0800, Chen-Yu Tsai wrote:
> External email : Please do not click links or open attachments until you have verified the sender or the content.
>
>
> The recent attempt to make the MediaTek DRM driver build for non-ARM
> compile tests made the driver unbuildable for arm64 platforms. Since
> this is used on both ARM and arm64 platforms, just drop the dependency
> on ARM.

Reviewed-by: CK Hu <ck.hu@xxxxxxxxxxxx>

I find this days ago, but I don't know there is someone who apply it.
Let this patch go through drm-misc tree which already has the bug patch.

Regards,
CK


>
> Fixes: d2db0b8fd70b ("drm/mediatek: Allow build with COMPILE_TEST=y")
> Signed-off-by: Chen-Yu Tsai <wenst@xxxxxxxxxxxx>
> ---
> It looks like the culprit commit was merged through the drm-misc tree.
> So please merge this on top ASAP.
>
> drivers/gpu/drm/mediatek/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/mediatek/Kconfig b/drivers/gpu/drm/mediatek/Kconfig
> index 2e0e7c4079b6..f496e6cfdfe0 100644
> --- a/drivers/gpu/drm/mediatek/Kconfig
> +++ b/drivers/gpu/drm/mediatek/Kconfig
> @@ -2,7 +2,7 @@
> config DRM_MEDIATEK
> tristate "DRM Support for Mediatek SoCs"
> depends on DRM
> - depends on (ARCH_MEDIATEK && ARM) || COMPILE_TEST
> + depends on ARCH_MEDIATEK || COMPILE_TEST
> depends on COMMON_CLK
> depends on HAVE_ARM_SMCCC || COMPILE_TEST
> depends on OF
> --
> 2.47.0.163.g1226f6d8fa-goog
>