Skip to content

freedreno/drm: fallback to default BO allocation if heap alloc fails

Dmitry Baryshkov requested to merge lumag/mesa:fdo-heap-fix into main

freedreno/drm: fallback to default BO allocation if heap alloc fails

Allow fd_bo_heap_alloc() to return NULL if the heap is exausted (or fragmented) instead of segfaulting. Then handle the error properly in bo_new().

Merge request reports