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.

How to I draw two or more video frame buffer on the same drm/kms plane component without flicker

Dear Sir,

I got my AM572x EVM from TI website running Processor SDK 2.0,

I tried to draw two video frame on the same plane id by calling drmModeSetPlane(...) twice.

But there is flicker on the display output. Following is example code. How could I fix this problem ?

for example :

drmModeSetCrtc();

while(1) {

drmModeSetPlane(plane1, fb);

drmModeSetPlane(plane1, fb2);

}