diff options
author | Michał Winiarski <michal.winiarski@intel.com> | 2017-10-18 10:02:12 +0200 |
---|---|---|
committer | Arkadiusz Hiler <arkadiusz.hiler@intel.com> | 2017-10-19 09:57:58 +0300 |
commit | e2ee529bb96320da0968ae52d318883106f3fa55 (patch) | |
tree | e9ccb16ce24b72027f8a9abce82b887abc417b83 /lib/igt_aux.h | |
parent | d4a4fbec0c079c7bec7fa6a2c756eea02314799e (diff) |
lib/i915: Move submission related helpers to lib/i915/gem_submission
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 <michal.winiarski@intel.com>
Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/igt_aux.h')
-rw-r--r-- | lib/igt_aux.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 <stddef.h> #include <sys/time.h> +#include <i915/gem_submission.h> + 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); |