Skip to content

freedreno/drm: Fix potential bo cache vs export crash

Rob Clark requested to merge robclark/mesa:fd/bo-cache-export into main

Keep the list head valid (empty) after allocation from bo cache. Avoids a potential later crash in lookup_bo in the following sequence:

  1. alloc, bo cache hit
  2. export
  3. re-import

Closes: #6988 (closed) Signed-off-by: Rob Clark robdclark@chromium.org

Merge request reports

Loading