iris: Hook up device reset callbacks
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 8 May 2019 05:26:22 +0000 (22:26 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 9 May 2019 23:49:07 +0000 (16:49 -0700)
commit343f41781c17a9db37f8872f1c4018cd58330417
tree9a17f7d5cd8720c34ec804454ad489a1f93d80ed
parentc5c12bdd004994abfe0f5723e2d285cc69706b1a
iris: Hook up device reset callbacks

This mechanism lets the driver inform the state tracker about GPU
resets, say for destroying a robust API context and reporting a "device
lost" error to the application, making it take action to deal with this.
src/gallium/drivers/iris/iris_batch.c
src/gallium/drivers/iris/iris_batch.h
src/gallium/drivers/iris/iris_context.c
src/gallium/drivers/iris/iris_context.h