aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_context.h
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2012-09-11 11:05:57 +0300
committerIan Romanick <[email protected]>2013-11-07 17:40:25 -0800
commit8f2c93ff75c7fac6f9c7d6c8eb3dc8293c8aaf92 (patch)
tree83d7eaae8ff46761bb9b5b478d653f4484a2bddd /src/mesa/drivers/dri/i965/brw_context.h
parent15c3bac3d00694245168586fee2d257920895a2f (diff)
i965: Add function to query the GPU reset status for a context
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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h
index 45225bcce1c..9bc6f56590b 100644
--- a/src/mesa/drivers/dri/i965/brw_context.h
+++ b/src/mesa/drivers/dri/i965/brw_context.h
@@ -1674,6 +1674,9 @@ gen7_emit_urb_state(struct brw_context *brw,
unsigned gs_size, unsigned gs_start);
+/* brw_reset.c */
+extern GLenum
+brw_get_graphics_reset_status(struct gl_context *ctx);
/*======================================================================
* Inline conversion functions. These are better-typed than the