lib/drmtest: extract gem_set_tiling

Way too much copy-pasting going on here.

Also fix a compiler warnings in gem_stress while fixup things up.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter
2012-01-10 14:59:58 +01:00
parent 1be3fd7eee
commit aa67b22e42
10 changed files with 39 additions and 149 deletions
+3
View File
@@ -35,3 +35,6 @@
int drm_open_any(void);
int drm_open_any_master(void);
void gem_set_tiling(int fd, uint32_t handle, int tiling, int stride);