diff options
author | Kenneth Graunke <[email protected]> | 2019-05-29 14:48:41 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-05-29 16:35:02 -0700 |
commit | 0f1b68ebeeee196ced42d8ac66d231338b507bad (patch) | |
tree | 73ae7cd98caf49471b61a958db2ec422fffa44b5 /src/gallium/drivers | |
parent | e459d6d6dff1317a43b3f98d41e4b8bde39d1858 (diff) |
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.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/iris/iris_context.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_context.c b/src/gallium/drivers/iris/iris_context.c index 9ffab8d20ee..8eb80163f97 100644 --- a/src/gallium/drivers/iris/iris_context.c +++ b/src/gallium/drivers/iris/iris_context.c @@ -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 |