aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2019-06-26 17:40:16 +0300
committerJani Nikula <jani.nikula@intel.com>2019-06-27 10:50:42 +0300
commit72629d11d56c44ddaae273dd513319a1fb5c03bd (patch)
tree434a217a79e34c600aa3bcdfed12926dd91c5b8f
parentdrm/i915: make intel_guc_ct.h self-contained (diff)
downloadlinux-dev-72629d11d56c44ddaae273dd513319a1fb5c03bd.tar.xz
linux-dev-72629d11d56c44ddaae273dd513319a1fb5c03bd.zip
drm/i915: make intel_guc_fwif.h self-contained
Add the minimal includes/declarations to make the header self-contained, and ensure it stays that way. Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190626144020.2155-10-jani.nikula@intel.com
-rw-r--r--drivers/gpu/drm/i915/Makefile.header-test1
-rw-r--r--drivers/gpu/drm/i915/intel_guc_fwif.h4
2 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/Makefile.header-test b/drivers/gpu/drm/i915/Makefile.header-test
index b296be256913..583fe76f2cdb 100644
--- a/drivers/gpu/drm/i915/Makefile.header-test
+++ b/drivers/gpu/drm/i915/Makefile.header-test
@@ -20,6 +20,7 @@ header_test := \
intel_csr.h \
intel_drv.h \
intel_guc_ct.h \
+ intel_guc_fwif.h \
intel_pm.h \
intel_runtime_pm.h \
intel_sideband.h \
diff --git a/drivers/gpu/drm/i915/intel_guc_fwif.h b/drivers/gpu/drm/i915/intel_guc_fwif.h
index f55f3bc8524d..92bd7ffb5b10 100644
--- a/drivers/gpu/drm/i915/intel_guc_fwif.h
+++ b/drivers/gpu/drm/i915/intel_guc_fwif.h
@@ -23,6 +23,10 @@
#ifndef _INTEL_GUC_FWIF_H
#define _INTEL_GUC_FWIF_H
+#include <linux/bits.h>
+#include <linux/compiler.h>
+#include <linux/types.h>
+
#define GUC_CLIENT_PRIORITY_KMD_HIGH 0
#define GUC_CLIENT_PRIORITY_HIGH 1
#define GUC_CLIENT_PRIORITY_KMD_NORMAL 2