[v2,1/5] update-kernel-headers: Add linux/udmabuf.h to headers to sync
diff mbox series

Message ID 20240530171600.259495-2-hdegoede@redhat.com
State Accepted
Headers show
Series
  • libcamera: dma_buffer_allocator: Add support for using udmabuf to alloc dma-buffers
Related show

Commit Message

Hans de Goede May 30, 2024, 5:15 p.m. UTC
linux/udmabuf.h will be used by upcoming DmaBufAllocator changes
and it is not available on some older kernels.

Add it to the headers to sync.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 utils/update-kernel-headers.sh | 1 +
 1 file changed, 1 insertion(+)

Comments

Kieran Bingham May 30, 2024, 9:43 p.m. UTC | #1
Quoting Hans de Goede (2024-05-30 18:15:56)
> linux/udmabuf.h will be used by upcoming DmaBufAllocator changes
> and it is not available on some older kernels.
> 
> Add it to the headers to sync.
> 
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>


Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>

> ---
>  utils/update-kernel-headers.sh | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/utils/update-kernel-headers.sh b/utils/update-kernel-headers.sh
> index 590986d2..8405be0a 100755
> --- a/utils/update-kernel-headers.sh
> +++ b/utils/update-kernel-headers.sh
> @@ -52,6 +52,7 @@ headers="
>         linux/media-bus-format.h
>         linux/media.h
>         linux/rkisp1-config.h
> +       linux/udmabuf.h
>         linux/v4l2-common.h
>         linux/v4l2-controls.h
>         linux/v4l2-mediabus.h
> -- 
> 2.45.1
>
Laurent Pinchart June 1, 2024, 1:41 p.m. UTC | #2
Hi Hans,

Thank you for the patch.

On Thu, May 30, 2024 at 07:15:56PM +0200, Hans de Goede wrote:
> linux/udmabuf.h will be used by upcoming DmaBufAllocator changes
> and it is not available on some older kernels.
> 
> Add it to the headers to sync.
> 
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> ---
>  utils/update-kernel-headers.sh | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/utils/update-kernel-headers.sh b/utils/update-kernel-headers.sh
> index 590986d2..8405be0a 100755
> --- a/utils/update-kernel-headers.sh
> +++ b/utils/update-kernel-headers.sh
> @@ -52,6 +52,7 @@ headers="
>  	linux/media-bus-format.h
>  	linux/media.h
>  	linux/rkisp1-config.h
> +	linux/udmabuf.h
>  	linux/v4l2-common.h
>  	linux/v4l2-controls.h
>  	linux/v4l2-mediabus.h

Patch
diff mbox series

diff --git a/utils/update-kernel-headers.sh b/utils/update-kernel-headers.sh
index 590986d2..8405be0a 100755
--- a/utils/update-kernel-headers.sh
+++ b/utils/update-kernel-headers.sh
@@ -52,6 +52,7 @@  headers="
 	linux/media-bus-format.h
 	linux/media.h
 	linux/rkisp1-config.h
+	linux/udmabuf.h
 	linux/v4l2-common.h
 	linux/v4l2-controls.h
 	linux/v4l2-mediabus.h