All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/intel-mediadriver: fix build without X11
@ 2022-12-11 20:44 Bernd Kuhls
  2022-12-11 21:23 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2022-12-11 20:44 UTC (permalink / raw
  To: buildroot; +Cc: Louis-Paul Cordier

Fixes:
http://autobuild.buildroot.net/results/52c/52c8f5352b16ced4e85286950f95e1b57c564fa5/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 .../0001-dont-include-va-dricommon-h.patch    | 36 +++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 package/intel-mediadriver/0001-dont-include-va-dricommon-h.patch

diff --git a/package/intel-mediadriver/0001-dont-include-va-dricommon-h.patch b/package/intel-mediadriver/0001-dont-include-va-dricommon-h.patch
new file mode 100644
index 0000000000..9d512f9c0b
--- /dev/null
+++ b/package/intel-mediadriver/0001-dont-include-va-dricommon-h.patch
@@ -0,0 +1,36 @@
+From e0d2caafcd5e583a01f7792eaec5d1f2d540bdf1 Mon Sep 17 00:00:00 2001
+From: Rudi Heitbaum <rudi@heitbaum.com>
+Date: Fri, 18 Nov 2022 22:44:52 +1100
+Subject: [PATCH] [Media Common] [VP] dont include va_dricommon.h
+
+<va/va_dricommon.h> is not in non-X11 libva 2.16.0
+The header "media_libva_putsurface_linux.h" is included
+
+Downloaded from upstream commit
+https://github.com/intel/media-driver/commit/e0d2caafcd5e583a01f7792eaec5d1f2d540bdf1
+
+Signed-off-by: Rudi Heitbaum <rudi@heitbaum.com>
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+---
+ media_softlet/linux/common/vp/ddi/ddi_vp_functions.cpp | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/media_softlet/linux/common/vp/ddi/ddi_vp_functions.cpp b/media_softlet/linux/common/vp/ddi/ddi_vp_functions.cpp
+index 8695d6c86..6719c07b3 100644
+--- a/media_softlet/linux/common/vp/ddi/ddi_vp_functions.cpp
++++ b/media_softlet/linux/common/vp/ddi/ddi_vp_functions.cpp
+@@ -23,7 +23,6 @@
+ //! \file     ddi_vp_functions.cpp
+ //! \brief    ddi vp functions implementaion.
+ //!
+-#include <va/va_dricommon.h>
+ #include "ddi_vp_functions.h"
+ #include "media_libva_util_next.h"
+ #include "media_libva_common_next.h"
+@@ -4700,4 +4699,4 @@ VAStatus DdiVpFunctions::PutSurfaceLinuxHW(
+ 
+     return VA_STATUS_SUCCESS;
+ }
+-#endif // !defined(ANDROID) && defined(X11_FOUND)
+\ No newline at end of file
++#endif // !defined(ANDROID) && defined(X11_FOUND)
-- 
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: fix build without X11
  2022-12-11 20:44 [Buildroot] [PATCH 1/1] package/intel-mediadriver: fix build without X11 Bernd Kuhls
@ 2022-12-11 21:23 ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-12-11 21:23 UTC (permalink / raw
  To: Bernd Kuhls; +Cc: Louis-Paul Cordier, buildroot

On Sun, 11 Dec 2022 21:44:55 +0100
Bernd Kuhls <bernd.kuhls@t-online.de> wrote:

> Fixes:
> http://autobuild.buildroot.net/results/52c/52c8f5352b16ced4e85286950f95e1b57c564fa5/
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
>  .../0001-dont-include-va-dricommon-h.patch    | 36 +++++++++++++++++++
>  1 file changed, 36 insertions(+)
>  create mode 100644 package/intel-mediadriver/0001-dont-include-va-dricommon-h.patch

Applied to master, thanks.

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-12-11 21:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-11 20:44 [Buildroot] [PATCH 1/1] package/intel-mediadriver: fix build without X11 Bernd Kuhls
2022-12-11 21:23 ` Thomas Petazzoni via buildroot

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.