summaryrefslogtreecommitdiff
path: root/src/sna/sna_driver.c
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2012-06-13 14:26:33 +0200
committerChris Wilson <chris@chris-wilson.co.uk>2012-06-13 14:34:22 +0100
commit6f75b8da6a468188dd0c00015395424598b3f502 (patch)
tree1505ded67dff41eab4da111c4efb9e48edfeb340 /src/sna/sna_driver.c
parent70cf637ca47c9e67758e09c7e1d10eef51db1f98 (diff)
sna: Valgrind updates
Add some mising initialization for unknown ioctl Signed-off-by: Zdenek Kabelac <zkabelac@redhat.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_driver.c')
-rw-r--r--src/sna/sna_driver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sna/sna_driver.c b/src/sna/sna_driver.c
index e5852051..2fa6adc4 100644
--- a/src/sna/sna_driver.c
+++ b/src/sna/sna_driver.c
@@ -335,6 +335,8 @@ static int sna_open_drm_master(ScrnInfoPtr scrn)
}
val = FALSE;
+
+ VG_CLEAR(gp);
gp.param = I915_PARAM_HAS_BLT;
gp.value = &val;
if (drmIoctl(fd, DRM_IOCTL_I915_GETPARAM, &gp)) {