Can't apply gamma correction to /dev/fb2

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

Can't apply gamma correction to /dev/fb2

1,055 次查看
mirkoardinghi1
Contributor IV

I need to change the GAMMA value (with the ioctl MXCFB_SET_GAMMA) to framebuffer /dev/fb2

I developed a simple program with whom I can successfully change the gamma value to /dev/fb0 but when I try with /dev/fb2 I obtain the following error:

Ioctl MXCFB_SET_GAMMA fail!

I'm using a imx6duallite with linux yocto (krogoth version)

Any help?

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

798 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Mirko

for gamma correction examples one can look at

ipu-examples release notes - v0.1 

also one can try unblank fb2 like

echo 0 > /sys/class/graphics/fb2/blank

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励

798 次查看
mirkoardinghi1
Contributor IV

Hi Igor,

I tested the ipu-examples but the problem remains. In this test (in mx6/framebuffer/example1/) has been tested only the gamma for /dev/fb0, if I change /dev/fb0 with /dev/fb2 I obtain the same failure:

Ioctl MXCFB_SET_GAMMA fail!

Thanks in advance.

Mirko

 

0 项奖励