All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle <arnout@mind.be>
To: Chris Dimich <chris.dimich@boundarydevices.com>, buildroot@buildroot.org
Cc: Refik Tuzakli <tuzakli.refik@gmail.com>,
	Samuel Martin <s.martin49@gmail.com>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
	Gary Bisson <bisson.gary@gmail.com>
Subject: Re: [Buildroot] [PATCH 03/12] package/freescale-imx/imx-vpu-hantro: bump version to 1.22.0
Date: Wed, 13 Oct 2021 21:03:55 +0200	[thread overview]
Message-ID: <896d8a73-ddaa-4152-e6e6-62a3a2d02ede@mind.be> (raw)
In-Reply-To: <20211006204135.2813745-3-chris.dimich@boundarydevices.com>



On 06/10/2021 22:41, Chris Dimich wrote:
> To match NXP 5.10.35-2.0.0 release.

  I've added a comment about the license.

> 
> Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
> ---
>   ...on.h-header-inclusion-to-be-standard.patch | 47 ++++++++++---------
>   .../imx-vpu-hantro/imx-vpu-hantro.hash        |  6 +--
>   .../imx-vpu-hantro/imx-vpu-hantro.mk          |  2 +-
>   3 files changed, 28 insertions(+), 27 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 f5a67cd514..43ccb1dfec 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
> @@ -1,13 +1,14 @@
> -From e776e7360f80da9ac03f81a5df27d8b7fabc7ac7 Mon Sep 17 00:00:00 2001
> -From: Gary Bisson <gary.bisson@boundarydevices.com>
> -Date: Thu, 26 Mar 2020 16:00:33 +0100
> -Subject: [PATCH] Fix ion.h header inclusion to be standard
> +From dfe8ef9123936d2c1d5da34f63f661849171d5ef Mon Sep 17 00:00:00 2001
> +From: Chris Dimich <chris.dimich@boundarydevices.com>

  You can't claim that you're the author of this patch if you just refresh it. 
Keep the original author.

> +Date: Sun, 3 Oct 2021 16:39:29 -0700
> +Subject: [PATCH 1/1] Fix ion.h header inclusion to be standard

  There shouldn't be a 1/1 (in particular, because there are two patches...). 
Use utils/check-package to verify your package before sending it.

  Applied to master with that fixed.

  Regards,
  Arnout

>   
>   NXP "solution" was to manually copy the header to include/linux.
>   Let's point the Makefile to the proper (mainline) location instead:
>   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>
>   ---
>    Makefile_G1G2                                             | 4 ++--
>    Makefile_H1                                               | 4 ++--
> @@ -16,7 +17,7 @@ Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
>    4 files changed, 6 insertions(+), 6 deletions(-)
>   
>   diff --git a/Makefile_G1G2 b/Makefile_G1G2
> -index 8280cce..4c9fc34 100755
> +index 8f83391..25884fa 100755
>   --- a/Makefile_G1G2
>   +++ b/Makefile_G1G2
>   @@ -10,8 +10,8 @@ INCLUDE_HEADERS = -I./decoder_sw -I$(SOURCE_ROOT)/source/inc -I$(SOURCE_ROOT)/so
> @@ -31,10 +32,10 @@ index 8280cce..4c9fc34 100755
>    CFLAGS += -DDEC_MODULE_PATH=\"/dev/mxc_hantro\" -DUSE_FAKE_RFC_TABLE -DFIFO_DATATYPE=void* -DNDEBUG -DDOWN_SCALER \
>               -DUSE_EXTERNAL_BUFFER -DUSE_FAST_EC -DUSE_VP9_EC -DGET_FREE_BUFFER_NON_BLOCK \
>   diff --git a/Makefile_H1 b/Makefile_H1
> -index 9ab62e1..8d366e3 100755
> +index 0979571..479940a 100755
>   --- a/Makefile_H1
>   +++ b/Makefile_H1
> -@@ -17,8 +17,8 @@ ENV += -DMEMALLOC_MODULE_PATH=\\\"/dev/ion\\\"
> +@@ -17,8 +17,8 @@ ENV = -DENC_MODULE_PATH=\\\"/dev/mxc_hantro_h1\\\"
>    #ENV += -DSDRAM_LM_BASE=0x00000000
>    ENV += -DEWL_NO_HW_TIMEOUT
>    ENV += -DUSE_ION
> @@ -43,34 +44,34 @@ index 9ab62e1..8d366e3 100755
>   +ENV += -I$(LINUX_KERNEL_ROOT)/include/uapi -I$(LINUX_KERNEL_ROOT)/include
>   +ENV += -I$(LINUX_KERNEL_ROOT)/drivers/staging/android/uapi
>    
> - LIBENCNAME = libcodec_enc
> - LIBSENC = -L./ -lhantro_h1 -lpthread
> + ifeq ($(CFG_SECURE_DATA_PATH), y)
> + ENV += -DCFG_SECURE_DATA_PATH
>   diff --git a/decoder_sw/software/linux/dwl/dwl_linux.c b/decoder_sw/software/linux/dwl/dwl_linux.c
> -index 9b057f0..43225f6 100755
> +index 7d5e33b..c0e5727 100755
>   --- a/decoder_sw/software/linux/dwl/dwl_linux.c
>   +++ b/decoder_sw/software/linux/dwl/dwl_linux.c
> -@@ -41,7 +41,7 @@
> - #include "dwl.h"
> - #include <linux/hantrodec.h>
> - #ifdef USE_ION
> +@@ -50,7 +50,7 @@
> + #if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 11, 0)
> + #include <linux/dma-heap.h>
> + #else
>   -#include <linux/ion.h>
>   +#include <ion.h>
> - #include <linux/dma-buf.h>
> - #include <linux/version.h>
> + #endif
>    #ifdef ANDROID
> + #include <linux/mxc_ion.h>
>   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 fef1307..20b6f95 100755
> +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
> -@@ -49,7 +49,7 @@
> -
> - #include "linux/hx280enc.h"
> - #ifdef USE_ION
> +@@ -52,7 +52,7 @@
> + #if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 11, 0)
> + #include <linux/dma-heap.h>
> + #else
>   -#include <linux/ion.h>
>   +#include <ion.h>
> + #endif
>    #include <linux/dma-buf.h>
>    #include <linux/version.h>
> - #ifdef ANDROID
>   --
> -2.25.1
> +2.31.1
>   
> diff --git a/package/freescale-imx/imx-vpu-hantro/imx-vpu-hantro.hash b/package/freescale-imx/imx-vpu-hantro/imx-vpu-hantro.hash
> index e9df63bfca..dd3b167e3e 100644
> --- a/package/freescale-imx/imx-vpu-hantro/imx-vpu-hantro.hash
> +++ b/package/freescale-imx/imx-vpu-hantro/imx-vpu-hantro.hash
> @@ -1,4 +1,4 @@
>   # Locally computed:
> -sha256  419725f0c09f5939c88cd234b729c3943cbd37e53db7352b02c8d6cc05b939b9  imx-vpu-hantro-1.21.0.bin
> -sha256  4f3cc2dcbe3b7369bd4a51df749f432b69d8189fc2bde88f9fadbec73c686683  COPYING
> -sha256  a07e8df685161553d7e0b78b8b93ebe9086d95bb8635abff0ed3247992181e85  EULA
> +sha256  03c61dfb268b31a0d25a4d1387cb3ad0261029ad5de801f72224602e2b37da00  imx-vpu-hantro-1.22.0.bin
> +sha256  ea58636bf34f589048fcd46e38497c47229fde8498df086ff5fb52f9ef8e15ee  COPYING
> +sha256  50099e283cfd307f84f159aeb1a6f462351320273dbcdb80d7f2c9db0494b71c  EULA
> diff --git a/package/freescale-imx/imx-vpu-hantro/imx-vpu-hantro.mk b/package/freescale-imx/imx-vpu-hantro/imx-vpu-hantro.mk
> index 0d075c49c0..360591b444 100644
> --- a/package/freescale-imx/imx-vpu-hantro/imx-vpu-hantro.mk
> +++ b/package/freescale-imx/imx-vpu-hantro/imx-vpu-hantro.mk
> @@ -4,7 +4,7 @@
>   #
>   ################################################################################
>   
> -IMX_VPU_HANTRO_VERSION = 1.21.0
> +IMX_VPU_HANTRO_VERSION = 1.22.0
>   IMX_VPU_HANTRO_SITE = $(FREESCALE_IMX_SITE)
>   IMX_VPU_HANTRO_SOURCE = imx-vpu-hantro-$(IMX_VPU_HANTRO_VERSION).bin
>   IMX_VPU_HANTRO_DEPENDENCIES = linux
> 
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2021-10-13 19:04 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-06 20:41 [Buildroot] [PATCH 01/12] package/freescale-imx/kernel-module-imx-gpu-viv: bump to version 6.4.3.p2.0 Chris Dimich
2021-10-06 20:41 ` [Buildroot] [PATCH 02/12] package/freescale-imx/imx-gpu-viv: " Chris Dimich
2021-10-13 18:58   ` Arnout Vandecappelle
2021-10-06 20:41 ` [Buildroot] [PATCH 03/12] package/freescale-imx/imx-vpu-hantro: bump version to 1.22.0 Chris Dimich
2021-10-13 19:03   ` Arnout Vandecappelle [this message]
2021-10-06 20:41 ` [Buildroot] [PATCH 04/12] package/freescale-imx/imx-gpu-g2d: bump version to 6.4.3.p2.0 Chris Dimich
2021-10-13 19:04   ` Arnout Vandecappelle
2021-10-06 20:41 ` [Buildroot] [PATCH 05/12] package/freescale-imx/firmware-imx: bump version to 8.12 Chris Dimich
2021-10-13 19:04   ` Arnout Vandecappelle
2021-10-06 20:41 ` [Buildroot] [PATCH 06/12] package/freescale-imx/imx-vpu-hantro-vc: add package Chris Dimich
2021-10-13 19:07   ` Arnout Vandecappelle
2021-10-13 19:16     ` Arnout Vandecappelle
2021-10-06 20:41 ` [Buildroot] [PATCH 07/12] package/freescale-imx/isp-vvcam-module: " Chris Dimich
2021-10-13 19:15   ` Arnout Vandecappelle
2021-10-06 20:41 ` [Buildroot] [PATCH 08/12] package/freescale-imx/isp-imx: " Chris Dimich
2021-10-13 19:37   ` Arnout Vandecappelle
2021-10-06 20:41 ` [Buildroot] [PATCH 09/12] package/freescale-imx/basler-camera: " Chris Dimich
2021-10-06 20:41 ` [Buildroot] [PATCH 10/12] configs/nitrogen*: update kernel to 5.10.x_2.0.0 Chris Dimich
2021-10-13 19:54   ` Arnout Vandecappelle
2021-10-06 20:41 ` [Buildroot] [PATCH 11/12] configs/nitrogen*: bump u-boot revision Chris Dimich
2021-10-13 19:54   ` Arnout Vandecappelle
2021-10-06 20:41 ` [Buildroot] [PATCH 12/12] configs/nitrogen8mp_defconfig: modify device trees Chris Dimich
2021-10-15 19:28   ` Arnout Vandecappelle
2021-10-13 18:57 ` [Buildroot] [PATCH 01/12] package/freescale-imx/kernel-module-imx-gpu-viv: bump to version 6.4.3.p2.0 Arnout Vandecappelle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=896d8a73-ddaa-4152-e6e6-62a3a2d02ede@mind.be \
    --to=arnout@mind.be \
    --cc=bisson.gary@gmail.com \
    --cc=buildroot@buildroot.org \
    --cc=chris.dimich@boundarydevices.com \
    --cc=s.martin49@gmail.com \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=tuzakli.refik@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.