asahi: Set cfg.levels for linear framebuffers
authorAsahi Lina <lina@asahilina.net>
Tue, 8 Nov 2022 15:35:00 +0000 (10:35 -0500)
committerMarge Bot <emma+marge@anholt.net>
Thu, 17 Nov 2022 02:47:10 +0000 (02:47 +0000)
commit2aac18d7e4f959299a6790395100797800ce980c
tree6b9ea19afbf22fec85d753e3c529a89a634d3f05
parenta5b891880086cc7f4ce6831056615e246b0d6be4
asahi: Set cfg.levels for linear framebuffers

Otherwise we will crash in GenXML, which does not specify a default here.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19606>
src/gallium/drivers/asahi/agx_state.c