summaryrefslogtreecommitdiff
path: root/lib/drmtest.h
diff options
context:
space:
mode:
authorOscar Mateo <oscar.mateo@intel.com>2013-11-12 11:50:42 +0000
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-11-12 12:05:55 +0100
commit5032e7bbdd342ac111ab2c57bf82b3dd4d26f208 (patch)
tree19b9398d91faaa1d0d6420417f7446f74d0c12e7 /lib/drmtest.h
parentdce0d99a91b4be26c4cd07e7030615fdc46bf2c7 (diff)
build: Fix assorted compilation warnings
As these files are compiled for every test, the warnings cluttered the Android build completely. v2: As suggested by Daniel Vetter, drop some of the fixes and fix the compilation flags instead. Signed-off-by: Oscar Mateo <oscar.mateo@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib/drmtest.h')
-rw-r--r--lib/drmtest.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/drmtest.h b/lib/drmtest.h
index ce9d18dd..5295a7b0 100644
--- a/lib/drmtest.h
+++ b/lib/drmtest.h
@@ -54,8 +54,8 @@ int drm_open_any_render(void);
void gem_quiescent_gpu(int fd);
/* ioctl wrappers and similar stuff for bare metal testing */
-void gem_set_tiling(int fd, uint32_t handle, int tiling, int stride);
-int __gem_set_tiling(int fd, uint32_t handle, int tiling, int stride);
+void gem_set_tiling(int fd, uint32_t handle, uint32_t tiling, uint32_t stride);
+int __gem_set_tiling(int fd, uint32_t handle, uint32_t tiling, uint32_t stride);
bool gem_has_enable_ring(int fd,int param);
bool gem_has_bsd(int fd);
bool gem_has_blt(int fd);