Can't apply gamma correction to /dev/fb2

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't apply gamma correction to /dev/fb2

397 Views
mirkoardinghi1
Contributor III

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?

Labels (3)
0 Kudos
2 Replies

140 Views
igorpadykov
NXP TechSupport
NXP TechSupport

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 Kudos

140 Views
mirkoardinghi1
Contributor III

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 Kudos