[libcamera-devel,RFC,0/2] ipu3: Translate IPA protocol to new mojo interface
mbox series

Message ID 20210208234733.2637061-1-niklas.soderlund@ragnatech.se
Headers show
Series
  • ipu3: Translate IPA protocol to new mojo interface
Related show

Message

Niklas Söderlund Feb. 8, 2021, 11:47 p.m. UTC
Hi Paul,

This is based on-top of your ipc7 branch and it enables me to run the 
IPU3 IPA on CrOS Soraka. The first patch is a compile fix found with 
gcc7 while the last patch is the real meat.

Feel free to pick and choose what you wish and squash it into your 
existing patches. I really like the new mojo interface, nice work!

Niklas Söderlund (2):
  libcamera: IPCPipeUnixSocket: Check that insertion succeeds
  ipu3: Translate IPA protocol to new mojo interface

 include/libcamera/ipa/ipu3.h          | 23 -------
 include/libcamera/ipa/ipu3.mojom      | 43 ++++++++++++
 include/libcamera/ipa/meson.build     |  1 +
 src/ipa/ipu3/ipu3.cpp                 | 74 ++++++++-------------
 src/ipa/ipu3/meson.build              |  6 +-
 src/libcamera/ipc_pipe_unixsocket.cpp |  5 ++
 src/libcamera/pipeline/ipu3/ipu3.cpp  | 96 +++++++++++----------------
 7 files changed, 118 insertions(+), 130 deletions(-)
 delete mode 100644 include/libcamera/ipa/ipu3.h
 create mode 100644 include/libcamera/ipa/ipu3.mojom

Comments

Paul Elder Feb. 11, 2021, 4:14 a.m. UTC | #1
Hi Niklas,

Thank for for the work.

On Tue, Feb 09, 2021 at 12:47:31AM +0100, Niklas Söderlund wrote:
> Hi Paul,
> 
> This is based on-top of your ipc7 branch and it enables me to run the 
> IPU3 IPA on CrOS Soraka. The first patch is a compile fix found with 
> gcc7 while the last patch is the real meat.
> 
> Feel free to pick and choose what you wish and squash it into your 
> existing patches. I really like the new mojo interface, nice work!

Looks good!

For both patches:

Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>

I'll pull the first one into my series as-is, and the second one there
are a couple small changes that I'll apply and then pull into my series
as well.


Thanks,

Paul

> Niklas Söderlund (2):
>   libcamera: IPCPipeUnixSocket: Check that insertion succeeds
>   ipu3: Translate IPA protocol to new mojo interface
> 
>  include/libcamera/ipa/ipu3.h          | 23 -------
>  include/libcamera/ipa/ipu3.mojom      | 43 ++++++++++++
>  include/libcamera/ipa/meson.build     |  1 +
>  src/ipa/ipu3/ipu3.cpp                 | 74 ++++++++-------------
>  src/ipa/ipu3/meson.build              |  6 +-
>  src/libcamera/ipc_pipe_unixsocket.cpp |  5 ++
>  src/libcamera/pipeline/ipu3/ipu3.cpp  | 96 +++++++++++----------------
>  7 files changed, 118 insertions(+), 130 deletions(-)
>  delete mode 100644 include/libcamera/ipa/ipu3.h
>  create mode 100644 include/libcamera/ipa/ipu3.mojom
> 
> -- 
> 2.30.0
>