mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-05 12:28:03 +02:00
intel: Quiet two more valgrind complaints with recent changes.
These are more cases where valgrind doesn't understand what gets read or written by our ioctls.
This commit is contained in:
parent
9d18ad254a
commit
5de5b7484a
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue