Switching framebuffer data lines for IMX8MM

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

Switching framebuffer data lines for IMX8MM

1,293 Views
rajvikamdar
Contributor III

Hi Team

 

I am trying to use 2 MIPI DSI LCD connected IMX8MM processor.

 

I am using a switcher in between to toggle the display between the two. As of now I am able to blank and unblank both the screens. But I want that both the LCDs remain active at the same time. Like the framebuffer data lines be allocated to each of the LCDs.

 

How can I modify the FB driver to allocate data lines to each of the LCDs individually? Can you help me with the same?

0 Kudos
7 Replies

1,285 Views
joanxie
NXP TechSupport
NXP TechSupport

what switcher do you use? did you connect switcher to the mipi dsi? i.mx8 series don't support framebuffer driver anymore

0 Kudos

1,278 Views
rajvikamdar
Contributor III

Hi @joanxie 

 

We are using mipi dsi switcher FSA641-D from ON semiconductor. 

I am not getting how can I switch writing on fb0 from the driver or userspace.

So that the same image can be displayed on LCD after continuous switching between the two LCDs.

MiPI switch works on chip select line, of CS =0 then LCD A will be selected and CS=1

0 Kudos

1,271 Views
joanxie
NXP TechSupport
NXP TechSupport

i.mx8mm only one input buffer up to 1080p, I think you can use duplicates screens, but refer to your document, it seems that you want to use seperate display, I don't think imx8mm could support it,

0 Kudos

1,268 Views
rajvikamdar
Contributor III

@joanxie 

 

Can you tell me how can I use duplicate screens?

And which part of the driver code executes writing DSI from userspace fb0?

 

0 Kudos

1,249 Views
joanxie
NXP TechSupport
NXP TechSupport

I don't have such sample code, for imx8mm, don't use frame buffer driver anymore, you can refer to the mipi dsi driver as below:

https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/gpu/drm/imx/sec_mipi_dsim-imx.c?h=...

 

0 Kudos

1,212 Views
rajvikamdar
Contributor III

Hi @joanxie 

 

Can we by any means switch the input buffer? When the image writes on the buffer, we want to switch at that point of time?

Is that possible?

0 Kudos

1,176 Views
joanxie
NXP TechSupport
NXP TechSupport

I mean that maybe the third party bridge can support duplicates screens, for imx8mm, only one display controller which couldn't support two displays

 

0 Kudos