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.

DM365 vertical lines 720p problem



I'm using custom board with DaVinci DM365 and newest PSP included in TI DVSDK DM365-EVM 4.02.00.06. I modified original kernel source in order to send image to digital outputs when 720P-60 is selected (HDMI controller is receiving digital 720P YCC16 data and sending image to TV). System works correctly, but sometimes strange thing happens only after hard reset (power off/on) even though frame buffer is still working (writing to it and reading it from console) image is not displayed on TV screen - instead, strange looking vertical lines appear (regularly repeated 10 times) (please note the  attached image where only part of the screen is shown). I can use fbset to change vertical lines image size and even change format to RGB (vertical lines colors are changed) but nothing can be done to display another image when writing to frame buffer. When system works and soft reset is performed (reboot from console) problem has never occurred so far. 

What might also be important is that OSD and VENC register dumps are completely the same in both cases: when everything is ok and when strange vertical lines appear.

Also, when system is "stuck" VPFE driver behaves strange because no capture is performed even though cmos sensor MT9P031 sends data and sync signals. What happens when FB problem is present is that v4l2 ioctl VIDIOC_DQBUF blocks waiting for captured frame. Hence, for example, encodedecode demo stalls since capture thread output is actually input for video thread and display thread waits for decoded video as output from video thread (ARM CPU usage is 0% as shown by control thread).