Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
INTERNAL: Iris: Fix to release BO immediately if not busy
Currently the iris driver is adding the buffer objects to zombie list without checking if it is busy or not. It checks for it after 1 second which adds delay to buffer release. This fix checks if the bo is busy or not before adding it to zombie list. Without this fix, the applications expecting immediate buffer release would fail. The fix is identified while debugging below cts tests: android.graphics.cts.BitmapTest#testDrawingHardwareBitmapNotLeaking android.graphics.cts.BitmapTest#testHardwareBitmapNotLeaking Tracked-On: OAM-105862 Signed-off-by: Sai Teja Pottumuttu <[email protected]>
- Loading branch information