intel: Silence valgrind warning for getparam ioctl argument.

It was concerned that the 4 pad bytes on LP64 were uninitialized.
This commit is contained in:
Eric Anholt
2012-02-16 11:30:49 -08:00
parent 5a7942c2f1
commit f33d100fa7

View File

@@ -361,6 +361,7 @@ intel_get_param(__DRIscreen *psp, int param, int *value)
int ret;
struct drm_i915_getparam gp;
memset(&gp, 0, sizeof(gp));
gp.param = param;
gp.value = value;