asahi: crash on fault

now that we have soft fault we don't need this w/a to pass cts, and this will
help us with avoiding flakes in other places.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32434>
This commit is contained in:
Alyssa Rosenzweig 2024-11-28 13:46:55 -05:00 committed by Marge Bot
parent ecd94113ca
commit be8a24f3b2

View file

@ -289,14 +289,8 @@ agx_print_result(struct agx_device *dev, struct agx_context *ctx,
agx_debug_fault(dev, info->address);
}
/* Obscurely, we need to tolerate faults to pass the robustness parts of the
* CTS, so we can't assert that we don't fault. But it's helpful for any sort
* of debugging to crash on fault.
*/
if (dev->debug) {
assert(info->status == DRM_ASAHI_STATUS_COMPLETE ||
info->status == DRM_ASAHI_STATUS_KILLED);
}
assert(info->status == DRM_ASAHI_STATUS_COMPLETE ||
info->status == DRM_ASAHI_STATUS_KILLED);
}
static void