This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Using VPSS sysfs to Tie hdmi with hdcomp



Hi, All

I am using DVRRDK 3.0. on DVRRDK.

I have run decode-display demo and show same contents on HDMI and VGA.

In /dvr_rdk/demos/mcfw_api_demos/mcfw_demo/demo_vdec_vdis.c , do some modify for tie hdmi and vga :

//Vdis_tiedVencInit(VDIS_DEV_HDCOMP, VDIS_DEV_DVO2, &vdisParams);
Vdis_tiedVencInit(VDIS_DEV_HDCOMP, VDIS_DEV_HDMI, &vdisParams);

It's work to show same contents on HDMI and VGA!

At this time, I read VPSS sysfs configuration :

cat /sys/devices/platform/vpss/system/tiedvencs

tiedvencs value is zero. why?  Does it should be 3 for hdmi tied with hdcomp?

By the way, I want to show same contents (eg. QT application using /dev/fb0) on hdmi and vga display after system bootup.

How could I do?  I have did below when boot:

echo 0 > /sys/devices/platform/vpss/display0/enabled

echo 0 > /sys/devices/platform/vpss/display3/enabled

echo 3 > /sys/devices/platform/vpss/system/tiedvencs

echo 2:hdmi,hdcomp > /sys/devices/platform/vpss/graphics0/nodes

./QT_application

But it's not works! Only hdmi display OK but vga fails.

Am I missing something?

Thanks!

Steven