From e0e3a063ae3680ad1848dcf16d54f51c8d1f459a Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Thu, 18 Feb 2016 14:25:43 +0100 Subject: lib: Expose is_i915_device Lib and test code can use this function to avoid i915-specific behavior when running on other drivers. Signed-off-by: Tomeu Vizoso Reviewed-by: Daniel Stone Acked-by: Daniel Vetter --- lib/drmtest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/drmtest.c') diff --git a/lib/drmtest.c b/lib/drmtest.c index a0669dd5..1d350e72 100644 --- a/lib/drmtest.c +++ b/lib/drmtest.c @@ -90,7 +90,7 @@ static int __get_drm_device_name(int fd, char *name) return -1; } -static bool is_i915_device(int fd) +bool is_i915_device(int fd) { int ret; char name[5] = ""; -- cgit v1.2.3