mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 21:30:09 +01:00
iris: Re-emit Surface State Base Address when context is lost.
When we hit a GPU hang, we failed to reset Surface State Base Address right away, and would keep hanging until we filled up the binder. Then we'd finally get it right after a lot of repeated stumbles. Update it right away so we hopefully hang fewer times before succeeding.
This commit is contained in:
parent
e459d6d6df
commit
0f1b68ebee
1 changed files with 1 additions and 0 deletions
|
|
@ -99,6 +99,7 @@ iris_lost_context_state(struct iris_batch *batch)
|
|||
|
||||
ice->state.dirty = ~0ull;
|
||||
memset(ice->state.last_grid, 0, sizeof(ice->state.last_grid));
|
||||
batch->last_surface_base_address = ~0ull;
|
||||
}
|
||||
|
||||
static enum pipe_reset_status
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue