提交 5e0cca98 编写于 作者: J Jani Nikula

drm/i915: make intel_guc_reg.h self-contained

Add the minimal includes/declarations to make the header self-contained,
and ensure it stays that way.

v2: also include i915_reg.h (Michal)
Reviewed-by: NChris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: NJani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190626144020.2155-11-jani.nikula@intel.com
上级 72629d11
......@@ -21,6 +21,7 @@ header_test := \
intel_drv.h \
intel_guc_ct.h \
intel_guc_fwif.h \
intel_guc_reg.h \
intel_pm.h \
intel_runtime_pm.h \
intel_sideband.h \
......
......@@ -24,6 +24,11 @@
#ifndef _INTEL_GUC_REG_H_
#define _INTEL_GUC_REG_H_
#include <linux/compiler.h>
#include <linux/types.h>
#include "i915_reg.h"
/* Definitions of GuC H/W registers, bits, etc */
#define GUC_STATUS _MMIO(0xc000)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册