Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/intel-mediadriver: add more options to disable Gen9/11/12 support
@ 2022-11-01 17:37 Bernd Kuhls
  2022-11-01 20:44 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2022-11-01 17:37 UTC (permalink / raw)
  To: buildroot; +Cc: Louis-Paul Cordier

Gen10 was disabled by default upstream as it was never shipped:
https://github.com/intel/media-driver/commit/0ad37351305be5c5e7c622833f9d7093fb2639cc

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/intel-mediadriver/Config.in            | 18 ++++++++++++++++++
 package/intel-mediadriver/intel-mediadriver.mk | 18 ++++++++++++++++++
 2 files changed, 36 insertions(+)

diff --git a/package/intel-mediadriver/Config.in b/package/intel-mediadriver/Config.in
index 79511a8808..880d8d3245 100644
--- a/package/intel-mediadriver/Config.in
+++ b/package/intel-mediadriver/Config.in
@@ -31,6 +31,24 @@ config BR2_PACKAGE_INTEL_MEDIADRIVER_GEN8
 	help
 	  Enable support for Gen8 GPUs (Coffee Lake)
 
+config BR2_PACKAGE_INTEL_MEDIADRIVER_GEN9
+	bool "Gen9 support"
+	default y
+	help
+	  Enable support for Gen9 GPUs
+
+config BR2_PACKAGE_INTEL_MEDIADRIVER_GEN11
+	bool "Gen11 support"
+	default y
+	help
+	  Enable support for Gen11 GPUs
+
+config BR2_PACKAGE_INTEL_MEDIADRIVER_GEN12
+	bool "Gen12 support"
+	default y
+	help
+	  Enable support for Gen12 GPUs
+
 endif # BR2_PACKAGE_INTEL_MEDIADRIVER
 
 comment "intel-mediadriver needs a toolchain w/ dynamic library, C++, NPTL"
diff --git a/package/intel-mediadriver/intel-mediadriver.mk b/package/intel-mediadriver/intel-mediadriver.mk
index 821c0920f4..17217a8644 100644
--- a/package/intel-mediadriver/intel-mediadriver.mk
+++ b/package/intel-mediadriver/intel-mediadriver.mk
@@ -42,6 +42,24 @@ else
 INTEL_MEDIADRIVER_CONF_OPTS += -DGEN8=OFF
 endif
 
+ifeq ($(BR2_PACKAGE_INTEL_MEDIADRIVER_GEN9),y)
+INTEL_MEDIADRIVER_CONF_OPTS += -DGEN9=ON
+else
+INTEL_MEDIADRIVER_CONF_OPTS += -DGEN9=OFF
+endif
+
+ifeq ($(BR2_PACKAGE_INTEL_MEDIADRIVER_GEN11),y)
+INTEL_MEDIADRIVER_CONF_OPTS += -DGEN11=ON
+else
+INTEL_MEDIADRIVER_CONF_OPTS += -DGEN11=OFF
+endif
+
+ifeq ($(BR2_PACKAGE_INTEL_MEDIADRIVER_GEN12),y)
+INTEL_MEDIADRIVER_CONF_OPTS += -DGEN12=ON
+else
+INTEL_MEDIADRIVER_CONF_OPTS += -DGEN12=OFF
+endif
+
 ifeq ($(BR2_PACKAGE_INTEL_MEDIADRIVER_NONFREE),y)
 INTEL_MEDIADRIVER_CONF_OPTS += \
 	-DBUILD_CMRTLIB=OFF \
-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/1] package/intel-mediadriver: add more options to disable Gen9/11/12 support
  2022-11-01 17:37 [Buildroot] [PATCH 1/1] package/intel-mediadriver: add more options to disable Gen9/11/12 support Bernd Kuhls
@ 2022-11-01 20:44 ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-11-01 20:44 UTC (permalink / raw)
  To: Bernd Kuhls; +Cc: Louis-Paul Cordier, buildroot

On Tue,  1 Nov 2022 18:37:02 +0100
Bernd Kuhls <bernd.kuhls@t-online.de> wrote:

> Gen10 was disabled by default upstream as it was never shipped:
> https://github.com/intel/media-driver/commit/0ad37351305be5c5e7c622833f9d7093fb2639cc
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
>  package/intel-mediadriver/Config.in            | 18 ++++++++++++++++++
>  package/intel-mediadriver/intel-mediadriver.mk | 18 ++++++++++++++++++
>  2 files changed, 36 insertions(+)

Thanks but this patch does not apply on master. I looked in patchwork
if there was another patch pending for intel-mediadriver, but I
couldn't find any. Could you rebase on master and resend?

Thanks a lot!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2022-11-01 20:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-01 17:37 [Buildroot] [PATCH 1/1] package/intel-mediadriver: add more options to disable Gen9/11/12 support Bernd Kuhls
2022-11-01 20:44 ` Thomas Petazzoni via buildroot

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