[libcamera-devel] [IPU3-IPA][PATCH] ipu3: Use updated buffer.h header

Laurent Pinchart laurent.pinchart at ideasonboard.com
Thu Jul 15 13:37:23 CEST 2021


Hi Kieran,

Thank you for the patch.

On Thu, Jul 15, 2021 at 12:28:45PM +0100, Kieran Bingham wrote:
> In libcamera commit 6a31a8d8e274 ("libcamera: buffer: Rename buffer.h to
> framebuffer.h"), the public header buffer.h was renamed.
> 
> Update the usage accordingly.
> 
> Signed-off-by: Kieran Bingham <kieran.bingham at ideasonboard.com>

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

> ---
>  include/libcamera-helpers/mapped_buffer.h | 2 +-
>  ipu3.cpp                                  | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/include/libcamera-helpers/mapped_buffer.h b/include/libcamera-helpers/mapped_buffer.h
> index b34a70c5f2c5..6cfc57217d75 100644
> --- a/include/libcamera-helpers/mapped_buffer.h
> +++ b/include/libcamera-helpers/mapped_buffer.h
> @@ -13,7 +13,7 @@
>  #include <libcamera/base/class.h>
>  #include <libcamera/base/span.h>
>  
> -#include <libcamera/buffer.h>
> +#include <libcamera/framebuffer.h>
>  
>  namespace libcamera {
>  
> diff --git a/ipu3.cpp b/ipu3.cpp
> index e0e87a8d70ec..651e0bb5efc1 100644
> --- a/ipu3.cpp
> +++ b/ipu3.cpp
> @@ -11,8 +11,8 @@
>  #include <linux/intel-ipu3.h>
>  #include <linux/v4l2-controls.h>
>  
> -#include <libcamera/buffer.h>
>  #include <libcamera/control_ids.h>
> +#include <libcamera/framebuffer.h>
>  #include <libcamera/ipa/ipa_interface.h>
>  #include <libcamera/ipa/ipa_module_info.h>
>  #include <libcamera/ipa/ipu3_ipa_interface.h>

-- 
Regards,

Laurent Pinchart


More information about the libcamera-devel mailing list