mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
venus: double the abort timeout to allow long shader compiles
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by: Ryan Neph <ryanneph@google.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17898>
This commit is contained in:
parent
ecd5509969
commit
f54aa49c14
1 changed files with 2 additions and 2 deletions
|
|
@ -19,7 +19,7 @@
|
|||
#include "venus-protocol/vn_protocol_driver_info.h"
|
||||
#include "vk_enum_to_str.h"
|
||||
|
||||
#define VN_RELAX_MIN_BASE_SLEEP_US (10)
|
||||
#define VN_RELAX_MIN_BASE_SLEEP_US (20)
|
||||
|
||||
static const struct debug_control vn_debug_options[] = {
|
||||
{ "init", VN_DEBUG_INIT },
|
||||
|
|
@ -131,7 +131,7 @@ vn_relax(uint32_t *iter, const char *reason)
|
|||
return;
|
||||
}
|
||||
|
||||
/* warn occasionally if we have slept at least 0.32ms for 8192 times (plus
|
||||
/* warn occasionally if we have slept at least 0.64ms for 8192 times (plus
|
||||
* another 8191 shorter sleeps)
|
||||
*/
|
||||
if (unlikely(*iter % (1 << warn_order) == 0)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue