Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm/vc4: Fix OOPSes from trying to cache a partially constructed BO.
If a CMA allocation failed, the partially constructed BO would be unreferenced through the normal path, and we might choose to put it in the BO cache. If we then reused it before it expired from the cache, the kernel would OOPS. Signed-off-by: Eric Anholt <[email protected]> Fixes: c826a6e ("drm/vc4: Add a BO cache.")
- Loading branch information