Skip to content

i915g: Check for the scanout-layout conditions before setting level info.

Emma Anholt requested to merge anholt/mesa:i915g-scanout into main

Fixes leaks (release) or assertion failures (debug) on allocating small scanout resources, when falling through to the non-scanout-specific layout code, which became more common as of ad50b47a ("gbm: assume USE_SCANOUT in create_with_modifiers").

Cc: mesa-stable

Merge request reports

Loading