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 4/8] drm/i915/gvt: make interrupt.h self-contained
Date: Tue,  8 Dec 2020 12:29:10 +0200	[thread overview]
Message-ID: <3a1060d0e9b951d76815745f466efc17a7c85741.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/interrupt.h | 5 ++++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/Makefile b/drivers/gpu/drm/i915/Makefile
index 33fdcd81e352..082c0629f290 100644
--- a/drivers/gpu/drm/i915/Makefile
+++ b/drivers/gpu/drm/i915/Makefile
@@ -285,7 +285,6 @@ obj-$(CONFIG_DRM_I915_GVT_KVMGT) += gvt/kvmgt.o
 no-header-test := \
 	display/intel_vbt_defs.h \
 	gvt/gvt.h \
-	gvt/interrupt.h \
 	gvt/mmio_context.h \
 	gvt/mpt.h \
 	gvt/scheduler.h
diff --git a/drivers/gpu/drm/i915/gvt/interrupt.h b/drivers/gpu/drm/i915/gvt/interrupt.h
index fcd663811d37..287cd142629e 100644
--- a/drivers/gpu/drm/i915/gvt/interrupt.h
+++ b/drivers/gpu/drm/i915/gvt/interrupt.h
@@ -32,7 +32,10 @@
 #ifndef _GVT_INTERRUPT_H_
 #define _GVT_INTERRUPT_H_
 
-#include <linux/types.h>
+#include <linux/hrtimer.h>
+#include <linux/kernel.h>
+
+#include "i915_reg.h"
 
 enum intel_gvt_event_type {
 	RCS_MI_USER_INTERRUPT = 0,
-- 
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 ` Jani Nikula [this message]
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 ` [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=3a1060d0e9b951d76815745f466efc17a7c85741.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.