mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 22:10:10 +01:00
intel: Give an explanation why we are exiting for debugging.
This could happen in 3 different cases, and ERRNO can explain what happened. First case would be EIO (gpu hang), second EINVAL (something is wrong inside the batch), and we also discovered that sometimes it happens with ENOSPACE. All of those cases are different it it could be worth to at least know what happened. Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
This commit is contained in:
parent
ee41383ab3
commit
6862b54f4d
1 changed files with 1 additions and 0 deletions
|
|
@ -138,6 +138,7 @@ do_flush_locked(struct intel_context *intel)
|
|||
}
|
||||
|
||||
if (ret != 0) {
|
||||
fprintf(stderr, "intel_do_flush_locked failed: %s\n", strerr(ret));
|
||||
exit(1);
|
||||
}
|
||||
intel->vtbl.new_batch(intel);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue