* [Buildroot] [PATCH 1/1] package/freescale-imx/imx-vpu-hantro: fix patch fuzz
@ 2024-07-06 15:40 Dario Binacchi
2024-07-08 20:24 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Dario Binacchi @ 2024-07-06 15:40 UTC (permalink / raw)
To: buildroot; +Cc: Refik Tuzakli, Dario Binacchi, Gary Bisson
Commit 8f88a644ed7d6 ("support/scripts/apply-patches.sh: set the maximum
fuzz factor to 0") reduced the fuzz factor.
Due to this change, imx-vpu-hantro fails to build with output:
Applying 0001-Fix-ion.h-header-inclusion-to-be-standard.patch using patch:
patching file Makefile_G1G2
patching file Makefile_H1
patching file decoder_sw/software/linux/dwl/dwl_linux.c
Hunk #1 FAILED at 50.
1 out of 1 hunk FAILED -- saving rejects to file decoder_sw/software/linux/dwl/dwl_linux.c.rej
patching file h1_encoder/software/linux_reference/ewl/ewl_x280_common.c
Hunk #1 FAILED at 52.
1 out of 1 hunk FAILED -- saving rejects to file h1_encoder/software/linux_reference/ewl/ewl_x280_common.c.rej
This commit refreshes the package patch on the current package version.
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
...001-Fix-ion.h-header-inclusion-to-be-standard.patch | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/package/freescale-imx/imx-vpu-hantro/0001-Fix-ion.h-header-inclusion-to-be-standard.patch b/package/freescale-imx/imx-vpu-hantro/0001-Fix-ion.h-header-inclusion-to-be-standard.patch
index 7a89dd99e024..cdde7d9ff3e3 100644
--- a/package/freescale-imx/imx-vpu-hantro/0001-Fix-ion.h-header-inclusion-to-be-standard.patch
+++ b/package/freescale-imx/imx-vpu-hantro/0001-Fix-ion.h-header-inclusion-to-be-standard.patch
@@ -9,6 +9,8 @@ https://elixir.bootlin.com/linux/v4.17/source/drivers/staging/android/uapi/ion.h
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
+[Dario: make the patch to be applied with fuzz factor 0]
+Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
Makefile_G1G2 | 4 ++--
Makefile_H1 | 4 ++--
@@ -51,20 +53,20 @@ index 7d5e33b..c0e5727 100755
--- a/decoder_sw/software/linux/dwl/dwl_linux.c
+++ b/decoder_sw/software/linux/dwl/dwl_linux.c
@@ -50,7 +50,7 @@
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 11, 0)
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 11, 0) || defined(ENABLE_DMABUF_HEAP)
#include <linux/dma-heap.h>
#else
-#include <linux/ion.h>
+#include <ion.h>
#endif
#ifdef ANDROID
- #include <linux/mxc_ion.h>
+ #if !defined(ENABLE_DMABUF_HEAP)
diff --git a/h1_encoder/software/linux_reference/ewl/ewl_x280_common.c b/h1_encoder/software/linux_reference/ewl/ewl_x280_common.c
index 312e4cc..70630c3 100755
--- a/h1_encoder/software/linux_reference/ewl/ewl_x280_common.c
+++ b/h1_encoder/software/linux_reference/ewl/ewl_x280_common.c
-@@ -52,7 +52,7 @@
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 11, 0)
+@@ -51,7 +51,7 @@
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 11, 0) || defined(ENABLE_DMABUF_HEAP)
#include <linux/dma-heap.h>
#else
-#include <linux/ion.h>
--
2.43.0
_______________________________________________
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/freescale-imx/imx-vpu-hantro: fix patch fuzz
2024-07-06 15:40 [Buildroot] [PATCH 1/1] package/freescale-imx/imx-vpu-hantro: fix patch fuzz Dario Binacchi
@ 2024-07-08 20:24 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-07-08 20:24 UTC (permalink / raw)
To: Dario Binacchi; +Cc: Refik Tuzakli, Gary Bisson, buildroot
On Sat, 6 Jul 2024 17:40:05 +0200
Dario Binacchi <dario.binacchi@amarulasolutions.com> wrote:
> Commit 8f88a644ed7d6 ("support/scripts/apply-patches.sh: set the maximum
> fuzz factor to 0") reduced the fuzz factor.
>
> Due to this change, imx-vpu-hantro fails to build with output:
>
> Applying 0001-Fix-ion.h-header-inclusion-to-be-standard.patch using patch:
> patching file Makefile_G1G2
> patching file Makefile_H1
> patching file decoder_sw/software/linux/dwl/dwl_linux.c
> Hunk #1 FAILED at 50.
> 1 out of 1 hunk FAILED -- saving rejects to file decoder_sw/software/linux/dwl/dwl_linux.c.rej
> patching file h1_encoder/software/linux_reference/ewl/ewl_x280_common.c
> Hunk #1 FAILED at 52.
> 1 out of 1 hunk FAILED -- saving rejects to file h1_encoder/software/linux_reference/ewl/ewl_x280_common.c.rej
>
> This commit refreshes the package patch on the current package version.
>
> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
> ---
> ...001-Fix-ion.h-header-inclusion-to-be-standard.patch | 10 ++++++----
> 1 file changed, 6 insertions(+), 4 deletions(-)
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:[~2024-07-08 20:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-06 15:40 [Buildroot] [PATCH 1/1] package/freescale-imx/imx-vpu-hantro: fix patch fuzz Dario Binacchi
2024-07-08 20:24 ` 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