AnsweredAssumed Answered

How to implement color key with IMX7 sabre board?

Question asked by Mariusz Piotrowski on Jan 15, 2018
Latest reply on Jan 16, 2018 by Mariusz Piotrowski

How to implement color key with IMX7 sabre board?

Mentioned platform is lacking with IPU and graphic hardware acceleration (2D and 3D)

 

I was trying to do NXP test build in

example of PXP by running:

 

"root@imx7dsabresd:/unit_tests/Display# ./pxp_test.out -I "-h -v -l 10 -t 100"

 

---- Running < ./pxp_test.out > alloc_contig_range: [ac140, ac16b) PFNs busy
test ----

 

pxp_test.c:260 requested chan handle 0
pxp_test.c:360 opening this fb_dev - /dev/fb0
pxp_test.c:360 opening this fb_dev - /dev/fb1
pxp_test.c:360 opening this fb_dev - /dev/fb2
pxp_test.c:363 Unable to open /dev/fb2

 

----  Test < ./pxp_test.out > ended  ----"

it is failing and it is expecting "mxc_epdc_fb" if frame buffer id is different then I would failed,

Unfortunately I don't have EPDC interface connected,

 

I was able to modified /imx-test-5.9/test/pxp_lib_test/pxp_test.c file but it faild in two places:

 

ret = ioctl(fd_fb, FBIOPUT_VSCREENINFO, &var); // this could be omitted
retval = ioctl(fd_fb, MXCFB_SEND_UPDATE, &upd_data); // always failed

 

Any advice how to implement color keying with IMX7D sabre board ?

Outcomes