mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] drm/mediatek: Drop dependency on ARM
@ 2024-10-29 11:13 Chen-Yu Tsai
  2024-10-30  3:30 ` CK Hu (胡俊光)
  2024-11-01  7:33 ` Chen-Yu Tsai
  0 siblings, 2 replies; 8+ messages in thread
From: Chen-Yu Tsai @ 2024-10-29 11:13 UTC (permalink / raw)
  To: Chun-Kuang Hu, Philipp Zabel, David Airlie, Simona Vetter,
	Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann
  Cc: Chen-Yu Tsai, dri-devel, linux-mediatek, linux-kernel,
	Ville Syrjälä

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.

Fixes: d2db0b8fd70b ("drm/mediatek: Allow build with COMPILE_TEST=y")
Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
---
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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] drm/mediatek: Drop dependency on ARM
  2024-10-29 11:13 [PATCH] drm/mediatek: Drop dependency on ARM Chen-Yu Tsai
@ 2024-10-30  3:30 ` CK Hu (胡俊光)
  2024-10-30  8:25   ` mripard
  2024-11-01  7:33 ` Chen-Yu Tsai
  1 sibling, 1 reply; 8+ messages in thread
From: CK Hu (胡俊光) @ 2024-10-30  3:30 UTC (permalink / raw)
  To: wenst, chunkuang.hu, tzimmermann, simona, mripard, p.zabel,
	maarten.lankhorst, airlied
  Cc: dri-devel, linux-kernel, linux-mediatek, ville.syrjala

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@mediatek.com>

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@chromium.org>
> ---
> 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
> 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] drm/mediatek: Drop dependency on ARM
  2024-10-30  3:30 ` CK Hu (胡俊光)
@ 2024-10-30  8:25   ` mripard
  2024-10-30  8:48     ` CK Hu (胡俊光)
  0 siblings, 1 reply; 8+ messages in thread
From: mripard @ 2024-10-30  8:25 UTC (permalink / raw)
  To: CK Hu (胡俊光)
  Cc: wenst, chunkuang.hu, tzimmermann, simona, p.zabel,
	maarten.lankhorst, airlied, dri-devel, linux-kernel,
	linux-mediatek, ville.syrjala

[-- Attachment #1: Type: text/plain, Size: 877 bytes --]

On Wed, Oct 30, 2024 at 03:30:34AM +0000, CK Hu (胡俊光) wrote:
> 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@mediatek.com>
> 
> 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.

If you are ok with this patch, why didn't you apply it yourself?

I think that's very much the expectation, so it's probably took a while to merge.

Maxime

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 273 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] drm/mediatek: Drop dependency on ARM
  2024-10-30  8:25   ` mripard
@ 2024-10-30  8:48     ` CK Hu (胡俊光)
  2024-10-30  8:52       ` Chen-Yu Tsai
  0 siblings, 1 reply; 8+ messages in thread
From: CK Hu (胡俊光) @ 2024-10-30  8:48 UTC (permalink / raw)
  To: mripard
  Cc: linux-kernel, linux-mediatek, wenst, chunkuang.hu, tzimmermann,
	simona, ville.syrjala, p.zabel, dri-devel, maarten.lankhorst,
	airlied

On Wed, 2024-10-30 at 09:25 +0100, mripard@kernel.org wrote:
> On Wed, Oct 30, 2024 at 03:30:34AM +0000, CK Hu (胡俊光) wrote:
> > 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@mediatek.com>
> > 
> > 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.
> 
> If you are ok with this patch, why didn't you apply it yourself?
> 
> I think that's very much the expectation, so it's probably took a while to merge.

That's ok for me to apply it if drm-misc has no plan to apply it.

Regards,
CK

> 
> Maxime

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] drm/mediatek: Drop dependency on ARM
  2024-10-30  8:48     ` CK Hu (胡俊光)
@ 2024-10-30  8:52       ` Chen-Yu Tsai
  2024-10-31  9:30         ` mripard
  0 siblings, 1 reply; 8+ messages in thread
From: Chen-Yu Tsai @ 2024-10-30  8:52 UTC (permalink / raw)
  To: CK Hu (胡俊光)
  Cc: mripard, linux-kernel, linux-mediatek, chunkuang.hu, tzimmermann,
	simona, ville.syrjala, p.zabel, dri-devel, maarten.lankhorst,
	airlied

On Wed, Oct 30, 2024 at 4:48 PM CK Hu (胡俊光) <ck.hu@mediatek.com> wrote:
>
> On Wed, 2024-10-30 at 09:25 +0100, mripard@kernel.org wrote:
> > On Wed, Oct 30, 2024 at 03:30:34AM +0000, CK Hu (胡俊光) wrote:
> > > 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@mediatek.com>
> > >
> > > 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.
> >
> > If you are ok with this patch, why didn't you apply it yourself?
> >
> > I think that's very much the expectation, so it's probably took a while to merge.
>
> That's ok for me to apply it if drm-misc has no plan to apply it.

I'm confused. The culprit patch is already in drm-misc. So this one has
to go in drm-misc as well.

I can try to apply it to drm-misc myself, or have a colleague assist with
that. I'll let it sit for another day in case anyone has something to say
about it.


ChenYu

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] drm/mediatek: Drop dependency on ARM
  2024-10-30  8:52       ` Chen-Yu Tsai
@ 2024-10-31  9:30         ` mripard
  2024-10-31  9:34           ` Chen-Yu Tsai
  0 siblings, 1 reply; 8+ messages in thread
From: mripard @ 2024-10-31  9:30 UTC (permalink / raw)
  To: Chen-Yu Tsai
  Cc: CK Hu (胡俊光),
	linux-kernel, linux-mediatek, chunkuang.hu, tzimmermann, simona,
	ville.syrjala, p.zabel, dri-devel, maarten.lankhorst, airlied

[-- Attachment #1: Type: text/plain, Size: 1675 bytes --]

On Wed, Oct 30, 2024 at 04:52:17PM +0800, Chen-Yu Tsai wrote:
> On Wed, Oct 30, 2024 at 4:48 PM CK Hu (胡俊光) <ck.hu@mediatek.com> wrote:
> >
> > On Wed, 2024-10-30 at 09:25 +0100, mripard@kernel.org wrote:
> > > On Wed, Oct 30, 2024 at 03:30:34AM +0000, CK Hu (胡俊光) wrote:
> > > > 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@mediatek.com>
> > > >
> > > > 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.
> > >
> > > If you are ok with this patch, why didn't you apply it yourself?
> > >
> > > I think that's very much the expectation, so it's probably took a while to merge.
> >
> > That's ok for me to apply it if drm-misc has no plan to apply it.
> 
> I'm confused. The culprit patch is already in drm-misc. So this one has
> to go in drm-misc as well.
> 
> I can try to apply it to drm-misc myself, or have a colleague assist with
> that. I'll let it sit for another day in case anyone has something to say
> about it.

Sorry, I was under the assumption that CK had drm-misc commit rights? It
should go through drm-misc indeed.

Maxime

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 273 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] drm/mediatek: Drop dependency on ARM
  2024-10-31  9:30         ` mripard
@ 2024-10-31  9:34           ` Chen-Yu Tsai
  0 siblings, 0 replies; 8+ messages in thread
From: Chen-Yu Tsai @ 2024-10-31  9:34 UTC (permalink / raw)
  To: mripard
  Cc: CK Hu (胡俊光),
	linux-kernel, linux-mediatek, chunkuang.hu, tzimmermann, simona,
	ville.syrjala, p.zabel, dri-devel, maarten.lankhorst, airlied

On Thu, Oct 31, 2024 at 5:30 PM mripard@kernel.org <mripard@kernel.org> wrote:
>
> On Wed, Oct 30, 2024 at 04:52:17PM +0800, Chen-Yu Tsai wrote:
> > On Wed, Oct 30, 2024 at 4:48 PM CK Hu (胡俊光) <ck.hu@mediatek.com> wrote:
> > >
> > > On Wed, 2024-10-30 at 09:25 +0100, mripard@kernel.org wrote:
> > > > On Wed, Oct 30, 2024 at 03:30:34AM +0000, CK Hu (胡俊光) wrote:
> > > > > 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@mediatek.com>
> > > > >
> > > > > 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.
> > > >
> > > > If you are ok with this patch, why didn't you apply it yourself?
> > > >
> > > > I think that's very much the expectation, so it's probably took a while to merge.
> > >
> > > That's ok for me to apply it if drm-misc has no plan to apply it.
> >
> > I'm confused. The culprit patch is already in drm-misc. So this one has
> > to go in drm-misc as well.
> >
> > I can try to apply it to drm-misc myself, or have a colleague assist with
> > that. I'll let it sit for another day in case anyone has something to say
> > about it.
>
> Sorry, I was under the assumption that CK had drm-misc commit rights? It
> should go through drm-misc indeed.

CK has always maintained a separate tree on git.kernel.org, so I don't know
if drm-misc commit rights were ever granted?

ChenYu

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] drm/mediatek: Drop dependency on ARM
  2024-10-29 11:13 [PATCH] drm/mediatek: Drop dependency on ARM Chen-Yu Tsai
  2024-10-30  3:30 ` CK Hu (胡俊光)
@ 2024-11-01  7:33 ` Chen-Yu Tsai
  1 sibling, 0 replies; 8+ messages in thread
From: Chen-Yu Tsai @ 2024-11-01  7:33 UTC (permalink / raw)
  To: Chun-Kuang Hu, Philipp Zabel, David Airlie, Simona Vetter,
	Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann,
	Chen-Yu Tsai
  Cc: dri-devel, linux-mediatek, linux-kernel, Ville Syrjälä


On Tue, 29 Oct 2024 19:13:07 +0800, Chen-Yu Tsai wrote:
> 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.
> 
> 

Applied, thanks!

[1/1] drm/mediatek: Drop dependency on ARM
      commit: 89115aeecf38bfee3c5e79561b5c34a256e1a06a

Best regards,
-- 
Chen-Yu Tsai <wenst@chromium.org>


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-11-01  7:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-29 11:13 [PATCH] drm/mediatek: Drop dependency on ARM Chen-Yu Tsai
2024-10-30  3:30 ` CK Hu (胡俊光)
2024-10-30  8:25   ` mripard
2024-10-30  8:48     ` CK Hu (胡俊光)
2024-10-30  8:52       ` Chen-Yu Tsai
2024-10-31  9:30         ` mripard
2024-10-31  9:34           ` Chen-Yu Tsai
2024-11-01  7:33 ` Chen-Yu Tsai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®