ecore_drm2: Better handle flip failure round 2
authorDerek Foreman <derekf@osg.samsung.com>
Wed, 17 May 2017 22:31:13 +0000 (17:31 -0500)
committerDerek Foreman <derekf@osg.samsung.com>
Wed, 17 May 2017 22:31:13 +0000 (17:31 -0500)
commit12260dabb9db574be460e12e8e9c343de576f413
treec5ab12d08820ab1cca13057f4c12ac4aea0c3707
parent2c58d77ba909c9c14dc2d5d19180c67af4accbf3
ecore_drm2: Better handle flip failure round 2

If the buffer being flipped to is the one already on screen then
releasing it on flip failure will leave it on scanout with no
references.  The next time a buffer is queued it will be removed
from scanout and deleted.

Not good.

Fix T5462
src/lib/ecore_drm2/ecore_drm2_fb.c