SurfaceFlinger surpass on AOSP to communicate with dedicated monitor output hardware

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SurfaceFlinger surpass on AOSP to communicate with dedicated monitor output hardware

498 Views
ofir
Contributor II

Hello,

On AOSP android build, using your imx8mm evk.

We have 2 part of the puzzle,

  1. An application that uses the native space to communicate with the kernel driver.
  2. A Kernel driver communicates with dedicated monitor/screen hardware using MIPI DSI.

We would like to surpass the SurfaceFlinger activity for the purpose and communicate directly between our 2 parts (the native code of our application and our kernel module).

Please advise how can we do it?

Labels (1)
0 Kudos
1 Reply

491 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

 

Thinking about how to realize that in just Linux, you can do all operations in JNI (like  in linux)

You can using open() to open the kernel module in native code.Then you can communicate module and native code.

 

BR

Zhiming

0 Kudos