OSDN Git Service
Let the dequeue buffer not busy wait
BZ:99992
UI thread and Surfaceflinger Thread are in the same process. They have race to map the
same buffer. and may cause Dequeue buffer failed.
Then UI thread will busy wait for dequeue buffer condition for ever, system will always
black screen.
This Patch don't let UI thread busy wait, and free all buffer to let system can recover.
Category: aosp improvement
Domain: <Graphics.UI>
Origin: internal
Upstream-Candiate:yes
Change-Id: Ia8e8be40ca229b52e7003d49970986f18e89fded
Orig-Change-Id: I4db21deacf56e1abeadb43841ce1a0350b19d66f
Signed-off-by: Shi Yang <yang.a.shi@intel.com>
Signed-off-by: yifeix.xue <yifeix.xue@intel.com>
Signed-off-by: binchen1 <bin.chen@intel.com>