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 6/8] drm/i915/gvt: make gvt.h self-contained
Date: Tue, 8 Dec 2020 12:29:12 +0200 [thread overview]
Message-ID: <dc4f4d498a39279d12096c1487a3c50d201e5e4f.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 | 1 -
drivers/gpu/drm/i915/gvt/gvt.h | 4 ++++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/Makefile b/drivers/gpu/drm/i915/Makefile
index f91b5fd13eff..b0045a3faf0e 100644
--- a/drivers/gpu/drm/i915/Makefile
+++ b/drivers/gpu/drm/i915/Makefile
@@ -284,7 +284,6 @@ 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/gvt.h \
gvt/mpt.h \
gvt/scheduler.h
diff --git a/drivers/gpu/drm/i915/gvt/gvt.h b/drivers/gpu/drm/i915/gvt/gvt.h
index cf3578e3f4dd..62a4807424bb 100644
--- a/drivers/gpu/drm/i915/gvt/gvt.h
+++ b/drivers/gpu/drm/i915/gvt/gvt.h
@@ -33,6 +33,10 @@
#ifndef _GVT_H_
#define _GVT_H_
+#include <uapi/linux/pci_regs.h>
+
+#include "i915_drv.h"
+
#include "debug.h"
#include "hypercall.h"
#include "mmio.h"
--
2.20.1
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2020-12-08 10:30 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 ` Jani Nikula [this message]
2020-12-08 10:29 ` [Intel-gfx] [PATCH 7/8] drm/i915/gvt: make scheduler.h self-contained Jani Nikula
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=dc4f4d498a39279d12096c1487a3c50d201e5e4f.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.