projects
/
platform
/
upstream
/
intel-gpu-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09196af
)
pipe_crc: Make collect_crc() ensure the CRC looks somewhat valid
author
Damien Lespiau
<damien.lespiau@intel.com>
Mon, 7 Jul 2014 14:17:56 +0000
(15:17 +0100)
committer
Damien Lespiau
<damien.lespiau@intel.com>
Mon, 7 Jul 2014 16:59:52 +0000
(17:59 +0100)
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
lib/igt_debugfs.c
patch
|
blob
|
history
diff --git
a/lib/igt_debugfs.c
b/lib/igt_debugfs.c
index
5c4bbc5
..
d4a6cf6
100644
(file)
--- a/
lib/igt_debugfs.c
+++ b/
lib/igt_debugfs.c
@@
-527,6
+527,8
@@
void igt_pipe_crc_collect_crc(igt_pipe_crc_t *pipe_crc, igt_crc_t *out_crc)
igt_pipe_crc_start(pipe_crc);
read_one_crc(pipe_crc, out_crc);
igt_pipe_crc_stop(pipe_crc);
+
+ igt_assert(!igt_crc_is_null(out_crc));
}
/*