diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-09-10 11:48:40 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-09-10 11:58:11 +0100 |
commit | 224af800f695b50ba5a65b5a2b9ca1e7a88d4e1a (patch) | |
tree | 7bfe81cc2979e22006e46ce4a0e5bcfefa68c40e /src/sna/brw/brw_eu.c | |
parent | 0d1df4762ffd7babb95a5f48f77487a6c7db83fe (diff) |
sna: Emit assertions with FatalError
The intention is to be able to capture the assertion in the Xorg.0.log
(journald equivalent). At the moment, it is emitted to stderr which is
difficult to capture and defeats the goal of only asking the reporter to
upload one log file.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/brw/brw_eu.c')
-rw-r--r-- | src/sna/brw/brw_eu.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sna/brw/brw_eu.c b/src/sna/brw/brw_eu.c index 9bd8ba5d..c5705f56 100644 --- a/src/sna/brw/brw_eu.c +++ b/src/sna/brw/brw_eu.c @@ -29,6 +29,10 @@ * Keith Whitwell <keith@tungstengraphics.com> */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "brw_eu.h" #include <string.h> |