All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/appletbdrm: Make appletbdrm depend on X86
@ 2025-04-10 18:20 Aditya Garg
  2025-04-10 18:21 ` Alyssa Rosenzweig
  2025-04-29 13:53 ` Alyssa Rosenzweig
  0 siblings, 2 replies; 7+ messages in thread
From: Aditya Garg @ 2025-04-10 18:20 UTC (permalink / raw)
  To: alyssa@rosenzweig.io, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Jacek Lawrynowicz,
	Maciej Falkowski, Lizhi Hou, Aun-Ali Zaidi
  Cc: dri-devel@lists.freedesktop.org, Linux Kernel Mailing List

From: Aditya Garg <gargaditya08@live.com>

The appletbdrm driver is exclusively for Touch Bars on x86 Intel Macs.
The M1 Macs have a separate driver. So, lets avoid compiling it for
other architectures.

Signed-off-by: Aditya Garg <gargaditya08@live.com>
---
 drivers/gpu/drm/tiny/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/tiny/Kconfig b/drivers/gpu/drm/tiny/Kconfig
index 95c1457d7..d66681d0e 100644
--- a/drivers/gpu/drm/tiny/Kconfig
+++ b/drivers/gpu/drm/tiny/Kconfig
@@ -3,6 +3,7 @@
 config DRM_APPLETBDRM
 	tristate "DRM support for Apple Touch Bars"
 	depends on DRM && USB && MMU
+	depends on X86 || COMPILE_TEST
 	select DRM_GEM_SHMEM_HELPER
 	select DRM_KMS_HELPER
 	help
-- 
2.49.0


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

* Re: [PATCH] drm/appletbdrm: Make appletbdrm depend on X86
  2025-04-10 18:20 [PATCH] drm/appletbdrm: Make appletbdrm depend on X86 Aditya Garg
@ 2025-04-10 18:21 ` Alyssa Rosenzweig
  2025-04-29 13:53 ` Alyssa Rosenzweig
  1 sibling, 0 replies; 7+ messages in thread
From: Alyssa Rosenzweig @ 2025-04-10 18:21 UTC (permalink / raw)
  To: Aditya Garg
  Cc: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie,
	Simona Vetter, Jacek Lawrynowicz, Maciej Falkowski, Lizhi Hou,
	Aun-Ali Zaidi, dri-devel@lists.freedesktop.org,
	Linux Kernel Mailing List

Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>

Le Thu , Apr 10, 2025 at 11:50:01PM +0530, Aditya Garg a écrit :
> From: Aditya Garg <gargaditya08@live.com>
> 
> The appletbdrm driver is exclusively for Touch Bars on x86 Intel Macs.
> The M1 Macs have a separate driver. So, lets avoid compiling it for
> other architectures.
> 
> Signed-off-by: Aditya Garg <gargaditya08@live.com>
> ---
>  drivers/gpu/drm/tiny/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/tiny/Kconfig b/drivers/gpu/drm/tiny/Kconfig
> index 95c1457d7..d66681d0e 100644
> --- a/drivers/gpu/drm/tiny/Kconfig
> +++ b/drivers/gpu/drm/tiny/Kconfig
> @@ -3,6 +3,7 @@
>  config DRM_APPLETBDRM
>  	tristate "DRM support for Apple Touch Bars"
>  	depends on DRM && USB && MMU
> +	depends on X86 || COMPILE_TEST
>  	select DRM_GEM_SHMEM_HELPER
>  	select DRM_KMS_HELPER
>  	help
> -- 
> 2.49.0
> 

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

* Re: [PATCH] drm/appletbdrm: Make appletbdrm depend on X86
  2025-04-10 18:20 [PATCH] drm/appletbdrm: Make appletbdrm depend on X86 Aditya Garg
  2025-04-10 18:21 ` Alyssa Rosenzweig
@ 2025-04-29 13:53 ` Alyssa Rosenzweig
  1 sibling, 0 replies; 7+ messages in thread
From: Alyssa Rosenzweig @ 2025-04-29 13:53 UTC (permalink / raw)
  To: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie,
	Simona Vetter, Jacek Lawrynowicz, Maciej Falkowski, Lizhi Hou,
	Aun-Ali Zaidi, Aditya Garg
  Cc: dri-devel, Linux Kernel Mailing List


On Thu, 10 Apr 2025 23:50:01 +0530, Aditya Garg wrote:
> The appletbdrm driver is exclusively for Touch Bars on x86 Intel Macs.
> The M1 Macs have a separate driver. So, lets avoid compiling it for
> other architectures.
> 
> 

Applied, thanks!

[1/1] drm/appletbdrm: Make appletbdrm depend on X86
      commit: de5fbbe1531f645c8b56098be8d1faf31e46f7f0

Best regards,
-- 
Alyssa Rosenzweig <alyssa@rosenzweig.io>


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

* [PATCH] drm/appletbdrm: Make appletbdrm depend on X86
@ 2025-06-18  5:57 Aditya Garg
  2025-06-18  6:05 ` Greg Kroah-Hartman
  2025-06-19  9:04 ` Sasha Levin
  0 siblings, 2 replies; 7+ messages in thread
From: Aditya Garg @ 2025-06-18  5:57 UTC (permalink / raw)
  To: Greg Kroah-Hartman, alyssa@rosenzweig.io; +Cc: stable

commit de5fbbe1531f645c8b56098be8d1faf31e46f7f0 upstream

The appletbdrm driver is exclusively for Touch Bars on x86 Intel Macs.
The M1 Macs have a separate driver. So, lets avoid compiling it for
other architectures.

Signed-off-by: Aditya Garg <gargaditya08@live.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Link: https://lore.kernel.org/r/PN3PR01MB95970778982F28E4A3751392B8B72@PN3PR01MB9597.INDPRD01.PROD.OUTLOOK.COM
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
---
Sending this since https://lore.kernel.org/stable/20250617152509.019353397@linuxfoundation.org/
was also backported to 6.15

 drivers/gpu/drm/tiny/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/tiny/Kconfig b/drivers/gpu/drm/tiny/Kconfig
index 95c1457d7..d66681d0e 100644
--- a/drivers/gpu/drm/tiny/Kconfig
+++ b/drivers/gpu/drm/tiny/Kconfig
@@ -3,6 +3,7 @@
 config DRM_APPLETBDRM
 	tristate "DRM support for Apple Touch Bars"
 	depends on DRM && USB && MMU
+	depends on X86 || COMPILE_TEST
 	select DRM_GEM_SHMEM_HELPER
 	select DRM_KMS_HELPER
 	help
-- 
2.49.0

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

* Re: [PATCH] drm/appletbdrm: Make appletbdrm depend on X86
  2025-06-18  5:57 Aditya Garg
@ 2025-06-18  6:05 ` Greg Kroah-Hartman
  2025-06-18  6:08   ` Aditya Garg
  2025-06-19  9:04 ` Sasha Levin
  1 sibling, 1 reply; 7+ messages in thread
From: Greg Kroah-Hartman @ 2025-06-18  6:05 UTC (permalink / raw)
  To: Aditya Garg; +Cc: alyssa@rosenzweig.io, stable

On Wed, Jun 18, 2025 at 11:27:36AM +0530, Aditya Garg wrote:
> commit de5fbbe1531f645c8b56098be8d1faf31e46f7f0 upstream
> 
> The appletbdrm driver is exclusively for Touch Bars on x86 Intel Macs.
> The M1 Macs have a separate driver. So, lets avoid compiling it for
> other architectures.
> 
> Signed-off-by: Aditya Garg <gargaditya08@live.com>
> Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
> Link: https://lore.kernel.org/r/PN3PR01MB95970778982F28E4A3751392B8B72@PN3PR01MB9597.INDPRD01.PROD.OUTLOOK.COM
> Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
> ---
> Sending this since https://lore.kernel.org/stable/20250617152509.019353397@linuxfoundation.org/
> was also backported to 6.15

What stable tree(s) is this for?

thanks,

greg k-h

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

* Re: [PATCH] drm/appletbdrm: Make appletbdrm depend on X86
  2025-06-18  6:05 ` Greg Kroah-Hartman
@ 2025-06-18  6:08   ` Aditya Garg
  0 siblings, 0 replies; 7+ messages in thread
From: Aditya Garg @ 2025-06-18  6:08 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: alyssa@rosenzweig.io, stable



On 18-06-2025 11:35 am, Greg Kroah-Hartman wrote:
> On Wed, Jun 18, 2025 at 11:27:36AM +0530, Aditya Garg wrote:
>> commit de5fbbe1531f645c8b56098be8d1faf31e46f7f0 upstream
>>
>> The appletbdrm driver is exclusively for Touch Bars on x86 Intel Macs.
>> The M1 Macs have a separate driver. So, lets avoid compiling it for
>> other architectures.
>>
>> Signed-off-by: Aditya Garg <gargaditya08@live.com>
>> Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
>> Link: https://lore.kernel.org/r/PN3PR01MB95970778982F28E4A3751392B8B72@PN3PR01MB9597.INDPRD01.PROD.OUTLOOK.COM
>> Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
>> ---
>> Sending this since https://lore.kernel.org/stable/20250617152509.019353397@linuxfoundation.org/
>> was also backported to 6.15
> 
> What stable tree(s) is this for?

Just 6.15

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

* Re: [PATCH] drm/appletbdrm: Make appletbdrm depend on X86
  2025-06-18  5:57 Aditya Garg
  2025-06-18  6:05 ` Greg Kroah-Hartman
@ 2025-06-19  9:04 ` Sasha Levin
  1 sibling, 0 replies; 7+ messages in thread
From: Sasha Levin @ 2025-06-19  9:04 UTC (permalink / raw)
  To: stable; +Cc: Aditya Garg, Sasha Levin

[ Sasha's backport helper bot ]

Hi,

✅ All tests passed successfully. No issues detected.
No action required from the submitter.

The upstream commit SHA1 provided is correct: de5fbbe1531f645c8b56098be8d1faf31e46f7f0

Note: The patch differs from the upstream commit:
---
1:  de5fbbe1531f6 ! 1:  4d7bd53570467 drm/appletbdrm: Make appletbdrm depend on X86
    @@ Metadata
      ## Commit message ##
         drm/appletbdrm: Make appletbdrm depend on X86
     
    +    commit de5fbbe1531f645c8b56098be8d1faf31e46f7f0 upstream
    +
         The appletbdrm driver is exclusively for Touch Bars on x86 Intel Macs.
         The M1 Macs have a separate driver. So, lets avoid compiling it for
         other architectures.
---

Results of testing on various branches:

| Branch                    | Patch Apply | Build Test |
|---------------------------|-------------|------------|
| stable/linux-6.15.y       |  Success    |  Success   |
| stable/linux-6.12.y       |  Success    |  Success   |
| stable/linux-6.6.y        |  Success    |  Success   |
| stable/linux-6.1.y        |  Success    |  Success   |
| stable/linux-5.15.y       |  Success    |  Success   |
| stable/linux-5.10.y       |  Success    |  Success   |
| stable/linux-5.4.y        |  Success    |  Success   |

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

end of thread, other threads:[~2025-06-19  9:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-10 18:20 [PATCH] drm/appletbdrm: Make appletbdrm depend on X86 Aditya Garg
2025-04-10 18:21 ` Alyssa Rosenzweig
2025-04-29 13:53 ` Alyssa Rosenzweig
  -- strict thread matches above, loose matches on Subject: below --
2025-06-18  5:57 Aditya Garg
2025-06-18  6:05 ` Greg Kroah-Hartman
2025-06-18  6:08   ` Aditya Garg
2025-06-19  9:04 ` Sasha Levin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.