From e2ee529bb96320da0968ae52d318883106f3fa55 Mon Sep 17 00:00:00 2001 From: Michał Winiarski Date: Wed, 18 Oct 2017 10:02:12 +0200 Subject: lib/i915: Move submission related helpers to lib/i915/gem_submission MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since I accidentally broke the build for some, by putting the pretty printer for submission inside ifdef HAVE_PROCPS, it's time to move the whole thing into lib/i915 while fixing this mistake. Let's also rename the pretty printer and add a doc to it as well as the section. Fixes: f6dfe556659f ("lib: Extract helpers for determining submission method") Signed-off-by: Michał Winiarski Cc: Arkadiusz Hiler Cc: Chris Wilson Reviewed-by: Chris Wilson --- lib/igt_aux.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/igt_aux.h') diff --git a/lib/igt_aux.h b/lib/igt_aux.h index e4a48eba..0bd226be 100644 --- a/lib/igt_aux.h +++ b/lib/igt_aux.h @@ -33,6 +33,8 @@ #include #include +#include + extern drm_intel_bo **trash_bos; extern int num_trash_bos; @@ -280,8 +282,6 @@ void igt_unlock_mem(void); ret_; \ }) -void gem_show_submission_method(int fd); - struct igt_mean; void igt_start_siglatency(int sig); /* 0 => SIGRTMIN (default) */ double igt_stop_siglatency(struct igt_mean *result); -- cgit v1.2.3