Gamma Setting imx6 on lcd and ldb

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Gamma Setting imx6 on lcd and ldb

654 次查看
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

标签 (4)
0 项奖励
回复
3 回复数

615 次查看
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 项奖励
回复

611 次查看
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 项奖励
回复

601 次查看
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 项奖励
回复