All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@intel.com>
To: intel-gvt-dev@lists.freedesktop.org
Cc: jani.nikula@intel.com, intel-gfx@lists.freedesktop.org
Subject: [Intel-gfx] [PATCH 7/8] drm/i915/gvt: make scheduler.h self-contained
Date: Tue,  8 Dec 2020 12:29:13 +0200	[thread overview]
Message-ID: <3949d345330155c6223ed947215b54c1285a0db5.1607422863.git.jani.nikula@intel.com> (raw)
In-Reply-To: <cover.1607422863.git.jani.nikula@intel.com>

Add necessary #includes and forward declarations to make the header
compile on its own.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/i915/Makefile        | 3 +--
 drivers/gpu/drm/i915/gvt/scheduler.h | 5 +++++
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/Makefile b/drivers/gpu/drm/i915/Makefile
index b0045a3faf0e..38c6d8257b0b 100644
--- a/drivers/gpu/drm/i915/Makefile
+++ b/drivers/gpu/drm/i915/Makefile
@@ -284,8 +284,7 @@ obj-$(CONFIG_DRM_I915_GVT_KVMGT) += gvt/kvmgt.o
 # exclude some broken headers from the test coverage
 no-header-test := \
 	display/intel_vbt_defs.h \
-	gvt/mpt.h \
-	gvt/scheduler.h
+	gvt/mpt.h
 
 extra-$(CONFIG_DRM_I915_WERROR) += \
 	$(patsubst %.h,%.hdrtest, $(filter-out $(no-header-test), \
diff --git a/drivers/gpu/drm/i915/gvt/scheduler.h b/drivers/gpu/drm/i915/gvt/scheduler.h
index 64e7a0b791c3..7c86984a842f 100644
--- a/drivers/gpu/drm/i915/gvt/scheduler.h
+++ b/drivers/gpu/drm/i915/gvt/scheduler.h
@@ -36,6 +36,11 @@
 #ifndef _GVT_SCHEDULER_H_
 #define _GVT_SCHEDULER_H_
 
+#include "gt/intel_engine_types.h"
+
+#include "execlist.h"
+#include "interrupt.h"
+
 struct intel_gvt_workload_scheduler {
 	struct intel_vgpu *current_vgpu;
 	struct intel_vgpu *next_vgpu;
-- 
2.20.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  parent reply	other threads:[~2020-12-08 10:29 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-08 10:29 [Intel-gfx] [PATCH 0/8] drm/i915/gvt: make headers self-contained Jani Nikula
2020-12-08 10:29 ` [Intel-gfx] [PATCH 1/8] drm/i915/gvt: make execlist.h self-contained Jani Nikula
2020-12-08 10:29 ` [Intel-gfx] [PATCH 2/8] drm/i915/gvt: make fb_decoder.h self-contained Jani Nikula
2020-12-08 10:29 ` [Intel-gfx] [PATCH 3/8] drm/i915/gvt: make gtt.h self-contained Jani Nikula
2020-12-08 10:29 ` [Intel-gfx] [PATCH 4/8] drm/i915/gvt: make interrupt.h self-contained Jani Nikula
2020-12-08 10:29 ` [Intel-gfx] [PATCH 5/8] drm/i915/gvt: make mmio_context.h self-contained Jani Nikula
2020-12-08 10:29 ` [Intel-gfx] [PATCH 6/8] drm/i915/gvt: make gvt.h self-contained Jani Nikula
2020-12-08 10:29 ` Jani Nikula [this message]
2020-12-08 10:29 ` [Intel-gfx] [PATCH 8/8] drm/i915/gvt: make mpt.h self-contained Jani Nikula
2020-12-08 12:27 ` [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/gvt: make headers self-contained Patchwork
2020-12-08 14:28 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
2020-12-09  7:36 ` [Intel-gfx] [PATCH 0/8] " Zhenyu Wang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3949d345330155c6223ed947215b54c1285a0db5.1607422863.git.jani.nikula@intel.com \
    --to=jani.nikula@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-gvt-dev@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.