Commit f8daf641 authored by Jani Nikula's avatar Jani Nikula

drm/i915: make i915_pvinfo.h self-contained

Add the minimal includes/declarations to make the header self-contained,
and ensure it stays that way.
Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190626144020.2155-7-jani.nikula@intel.com
parent f807d31a
...@@ -12,6 +12,7 @@ header_test := \ ...@@ -12,6 +12,7 @@ header_test := \
i915_irq.h \ i915_irq.h \
i915_params.h \ i915_params.h \
i915_priolist_types.h \ i915_priolist_types.h \
i915_pvinfo.h \
i915_reg.h \ i915_reg.h \
i915_scheduler_types.h \ i915_scheduler_types.h \
i915_utils.h \ i915_utils.h \
......
...@@ -24,6 +24,8 @@ ...@@ -24,6 +24,8 @@
#ifndef _I915_PVINFO_H_ #ifndef _I915_PVINFO_H_
#define _I915_PVINFO_H_ #define _I915_PVINFO_H_
#include <linux/types.h>
/* The MMIO offset of the shared info between guest and host emulator */ /* The MMIO offset of the shared info between guest and host emulator */
#define VGT_PVINFO_PAGE 0x78000 #define VGT_PVINFO_PAGE 0x78000
#define VGT_PVINFO_SIZE 0x1000 #define VGT_PVINFO_SIZE 0x1000
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment