From 7b349f32babd206a4cffcdc6b056e05c2a2f1ec9 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 13 Oct 2016 22:44:08 +0100 Subject: igt/gem_ctx_param: Tidy error messages Avoid macro expansion inside the asserts so that the error messages are readable. Signed-off-by: Chris Wilson --- lib/ioctl_wrappers.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/ioctl_wrappers.h') diff --git a/lib/ioctl_wrappers.h b/lib/ioctl_wrappers.h index 0d42ba95..115011c9 100644 --- a/lib/ioctl_wrappers.h +++ b/lib/ioctl_wrappers.h @@ -126,6 +126,7 @@ void gem_context_require_param(int fd, uint64_t param); void gem_context_get_param(int fd, struct local_i915_gem_context_param *p); void gem_context_set_param(int fd, struct local_i915_gem_context_param *p); int __gem_context_set_param(int fd, struct local_i915_gem_context_param *p); +int __gem_context_get_param(int fd, struct local_i915_gem_context_param *p); #define LOCAL_I915_GEM_USERPTR 0x33 #define LOCAL_IOCTL_I915_GEM_USERPTR DRM_IOWR (DRM_COMMAND_BASE + LOCAL_I915_GEM_USERPTR, struct local_i915_gem_userptr) -- cgit v1.2.3