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.
TI folks,
We have developed a product based on the DM814x, using:
Recently, I have had need to start using fb2. I have set the node correctly to hdmi, and been able to change its size, virtual size, FB scaler setup, etc. It's working fine, and the plane order happens to be okay for me.
However, I noticed that when I try to set the plane order specifically, as taught to me by http://processors.wiki.ti.com/index.php/TI81XX_PSP_VPSS_Video_Driver_User_Guide , my value for fb2 is not reported back to me.
Example:
# cat /sys/devices/platform/vpss/graphics0/nodes
1:hdmi
# cat /sys/devices/platform/vpss/graphics1/nodes
1:hdmi
# cat /sys/devices/platform/vpss/graphics2/nodes
1:hdmi
# cat /sys/devices/platform/vpss/display0/order
1,0/1/3/0
# echo '1,0/1/3/2' > /sys/devices/platform/vpss/display0/order
# cat /sys/devices/platform/vpss/display0/order
1,0/1/3/0
Any idea why fb2 comes back as "0"?
Dan -
Margarita Gashova said:Hello,
You could check here:
e2e.ti.com/.../1152299
Margarita,
Daniel70334 said:So - I have two requests now:
1. Instead of giving me a third example, can you tell me how the "order" files is supposed to work?
2. Can you confirm whether or not there is a bug with processing the fb2 number?
I believe that I have solved item 2. There is a copy/paste error in TI's HDVPSS code, where you are incorrectly using a SHIFT instead of a MASK, forcing the fb2 number to zero. The code is in the HDVPSS overlay, so I am afraid that TI will not allow an actual patch on e2e. But, please look in compConfigureHDMI() in the file:
You will see that an additional CSL_VPS_COMP_HDMI_SETTINGS_G2_ORDER_SHIFT is being used instead of CSL_VPS_COMP_HDMI_SETTINGS_G2_ORDER_MASK.
Can you confirm?
Dan -