projects
/
profile
/
ivi
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d18ad2
)
intel: Quiet two more valgrind complaints with recent changes.
author
Eric Anholt
<eric@anholt.net>
Tue, 13 Mar 2012 23:49:53 +0000
(16:49 -0700)
committer
Eric Anholt
<eric@anholt.net>
Tue, 13 Mar 2012 23:49:53 +0000
(16:49 -0700)
These are more cases where valgrind doesn't understand what gets read
or written by our ioctls.
intel/intel_bufmgr_gem.c
patch
|
blob
|
history
diff --git
a/intel/intel_bufmgr_gem.c
b/intel/intel_bufmgr_gem.c
index
51b963f
..
3c91090
100644
(file)
--- a/
intel/intel_bufmgr_gem.c
+++ b/
intel/intel_bufmgr_gem.c
@@
-2647,6
+2647,7
@@
get_pci_device_id(drm_intel_bufmgr_gem *bufmgr_gem)
}
}
+ VG_CLEAR(devid);
VG_CLEAR(gp);
gp.param = I915_PARAM_CHIPSET_ID;
gp.value = &devid;
@@
-2790,6
+2791,7
@@
drm_intel_bufmgr_gem_init(int fd, int batch_size)
bufmgr_gem->gtt_size -= 256*1024*1024;
}
+ VG_CLEAR(gp);
gp.value = &tmp;
gp.param = I915_PARAM_HAS_EXECBUF2;