diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2012-06-13 14:26:33 +0200 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-06-13 14:34:22 +0100 |
commit | 6f75b8da6a468188dd0c00015395424598b3f502 (patch) | |
tree | 1505ded67dff41eab4da111c4efb9e48edfeb340 /src/sna/sna_video_overlay.c | |
parent | 70cf637ca47c9e67758e09c7e1d10eef51db1f98 (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_video_overlay.c')
-rw-r--r-- | src/sna/sna_video_overlay.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/sna_video_overlay.c b/src/sna/sna_video_overlay.c index 61b02b2d..612711f9 100644 --- a/src/sna/sna_video_overlay.c +++ b/src/sna/sna_video_overlay.c @@ -111,6 +111,7 @@ static Bool sna_has_overlay(struct sna *sna) int has_overlay = 0; int ret; + VG_CLEAR(gp); gp.param = I915_PARAM_HAS_OVERLAY; gp.value = &has_overlay; ret = drmIoctl(sna->kgem.fd, DRM_IOCTL_I915_GETPARAM, &gp); |