diff options
author | Ian Romanick <[email protected]> | 2012-09-11 11:07:25 +0300 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2013-11-07 17:40:25 -0800 |
commit | e8dac9632d35b5902b6565e64b22846ba6198b5b (patch) | |
tree | 68f977aa5049070fea000822654d0ddca483bd46 /src/mesa/drivers/dri/i965/brw_context.h | |
parent | 8f2c93ff75c7fac6f9c7d6c8eb3dc8293c8aaf92 (diff) |
i965: Propagate the GPU reset notifiction strategy down into the driver
If the application requests reset notifiction, connect up the reset
status query method and set gl_context::ResetStrategy.
v2: Update based on kernel interface / libdrm changes.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h index 9bc6f56590b..66c74f73cfa 100644 --- a/src/mesa/drivers/dri/i965/brw_context.h +++ b/src/mesa/drivers/dri/i965/brw_context.h @@ -1019,6 +1019,14 @@ struct brw_context drm_intel_context *hw_ctx; + /** + * Number of resets observed in the system at context creation. + * + * This is tracked in the context so that we can determine that another + * reset has occured. + */ + uint32_t reset_count; + struct intel_batchbuffer batch; bool no_batch_wrap; |