Looking at mesa code I get this: struct intel_region *region = irb ? irb->region : NULL; brw_add_validated_bo(brw, region->buffer);
--eric