asahi: Make BO import path failures more robust
authorAsahi Lina <lina@asahilina.net>
Wed, 29 Mar 2023 09:48:53 +0000 (18:48 +0900)
committerMarge Bot <emma+marge@anholt.net>
Fri, 7 Apr 2023 03:23:04 +0000 (03:23 +0000)
commit883ba4b1616082f05df1f62bbb4f49e237f0931b
tree12150d0508c34e3ae5fdc84c94de4fb9a1086e47
parentfcf594d00b1e06f6d86c5a31dac4beba3f548b34
asahi: Make BO import path failures more robust

These operations can fail for complex reasons through no fault of mesa,
so we should have proper runtime checks for them even in release builds.

Signed-off-by: Asahi Lina <lina@asahilina.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22353>
src/asahi/lib/agx_device.c