summaryrefslogtreecommitdiff
path: root/lib/igt_aux.c
diff options
context:
space:
mode:
authorMichał Winiarski <michal.winiarski@intel.com>2017-10-18 10:02:12 +0200
committerArkadiusz Hiler <arkadiusz.hiler@intel.com>2017-10-19 09:57:58 +0300
commite2ee529bb96320da0968ae52d318883106f3fa55 (patch)
treee9ccb16ce24b72027f8a9abce82b887abc417b83 /lib/igt_aux.c
parentd4a4fbec0c079c7bec7fa6a2c756eea02314799e (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.c')
-rw-r--r--lib/igt_aux.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/igt_aux.c b/lib/igt_aux.c
index c1082143..ee53559c 100644
--- a/lib/igt_aux.c
+++ b/lib/igt_aux.c
@@ -1493,24 +1493,6 @@ igt_show_stat(proc_t *info, int *state, const char *fn)
++*state;
}
-void gem_show_submission_method(int fd)
-{
- const unsigned flags = gem_submission_method(fd);
-
- if (flags & GEM_SUBMISSION_GUC) {
- igt_info("Using GuC submission\n");
- return;
- }
-
- if (flags & GEM_SUBMISSION_EXECLISTS) {
- igt_info("Using Execlists submission\n");
- return;
- }
-
- igt_info("Using Legacy submission%s\n",
- flags & GEM_SUBMISSION_SEMAPHORES ? ", with semaphores" : "");
-}
-
static void
__igt_lsof_fds(proc_t *proc_info, int *state, char *proc_path, const char *dir)
{