I.MX8 DSI pixel format

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

I.MX8 DSI pixel format

1,883 Views
wenFT
Contributor I

I am using I.MX8 MINI, I'm developing a new DSI device based on linux4.14 and refer to driver drivers/gpu/drm/panel/panel-raydium-rm67191.c  and set the dsi->format as  MIPI_DSI_FMT_RGB888. Now it can display, but colors are wrong,  rgb display as bgr,  could you guide me how to set it?  the following are the feedback of fbset

root@imx8mmevk:~# fbset

mode "1080x1920"
geometry 1080 1920 1080 1920 32
timings 0 0 0 0 0 0 0
accel true
rgba 8/16,8/8,8/0,0/0
endmode

Labels (1)
0 Kudos
Reply
3 Replies

1,818 Views
joanxie
NXP TechSupport
NXP TechSupport

change output mode to your resolution at "/etc/xdg/weston/weston.ini", then restart weston

"systemctl restart weston"

 

 

 

0 Kudos
Reply

1,869 Views
joanxie
NXP TechSupport
NXP TechSupport

try to change this under westion at "/etc/xdg/weston/weston.ini"

0 Kudos
Reply

1,862 Views
wenFT
Contributor I

@joanxie 

 Thanks for your reply. I tied to set the different value of gbm-format of "/etc/xdg/weston/weston.ini", but failed. 

Except the colors enter the system, the colors of boot logo are also display as bgr.

0 Kudos
Reply