Gamma Setting imx6 on lcd and ldb

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

Gamma Setting imx6 on lcd and ldb

652 Views
ycardaillac
Contributor III

Hi all,

I'm working on an imx6 dual, with two screen one is using ldb and the other lcd.

For some reason I can't set gamma to the lcd screen. I'm using framebuffer_ex1 which works fine with ldb.

Is there something I'm missing? Graphical stack is not so easy on imxs so may be there's something I don't understand.

I've tried to make it work on sumo and dunfell bsps but the result is the same, when trying to set gamma with lcd I'm having "Wrong gamma seting!\n" which means that the ioctl failed for some reason.

I can share my device tree is that might help.

Best regards,

Yann

Labels (4)
0 Kudos
Reply
3 Replies

613 Views
brian14
NXP TechSupport
NXP TechSupport

Hi @ycardaillac,

It seems there is a problem with the configuration of the LCD display, it could help if you could provide us with your device tree.

Please share and then we can follow with this case.

Thank you and have a great day.

0 Kudos
Reply

609 Views
ycardaillac
Contributor III

Hello,

Thanks for the reply here's my configuration :

https://pastebin.com/E8ZJkyE9

it is included in another devicetree doing so :

/dts-v1/;

#include "imx6q.dtsi"
#include "imx6-custom.dtsi"

/ {
	model = "...";
	compatible = "...", "fsl,imx6q";
};

 

Best regards,

 Yann

0 Kudos
Reply

599 Views
brian14
NXP TechSupport
NXP TechSupport

Hi @ycardaillac,

Thank you for your reply.

It appears that the device tree is correctly configured for the LCD screen.
We could try the following steps described in this link: Gamma correction on i.MX6 - NXP Community.
At this link, you will find how to correctly configure the gamma property on iMX6.
Please try these steps and let me know if it works.

Have a great day.

Best regards, Brian.

0 Kudos
Reply