aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt2013-12-29 00:06:51 -0600
committerKenneth Graunke2014-01-20 12:58:06 -0600
commit734de7093db296912da0027e4fa1094f60787c11 (patch)
tree81548f2353d24b0a90cd5da7f4dedcfbc7d2be08 /Makefile.am
parentcb4bc8ead63cb213a26bcc8d14b2b44d9fb967da (diff)
downloadexternal-libgbm-734de7093db296912da0027e4fa1094f60787c11.tar.gz
external-libgbm-734de7093db296912da0027e4fa1094f60787c11.tar.xz
external-libgbm-734de7093db296912da0027e4fa1094f60787c11.zip
drm: Initialize or valgrind-clear modesetting ioctl arguments.
Fixes valgrind complaints in the modesetting driver. I tried to follow each ioctl's pattern for whether it was initializing just the in values, or both in and out values. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index f7260368..826c30d0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -59,6 +59,8 @@ libdrm_la_LDFLAGS = -version-number 2:4:0 -no-undefined
59libdrm_la_LIBADD = @CLOCK_LIB@ 59libdrm_la_LIBADD = @CLOCK_LIB@
60 60
61libdrm_la_CPPFLAGS = -I$(top_srcdir)/include/drm 61libdrm_la_CPPFLAGS = -I$(top_srcdir)/include/drm
62AM_CFLAGS = \
63 $(VALGRIND_CFLAGS)
62 64
63libdrm_la_SOURCES = \ 65libdrm_la_SOURCES = \
64 xf86drm.c \ 66 xf86drm.c \