Commit 9e92a6d1 authored by Jani Nikula's avatar Jani Nikula

drm/i915/gvt: remove unused to_gvt() and reduce includes

gvt.h has no need to include i915_drv.h once the unused to_gvt() has
been removed.
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
Reviewed-by: default avatarZhenyu Wang <zhenyuw@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230926121904.499888-1-jani.nikula@intel.com
parent 2b8b2948
......@@ -39,7 +39,7 @@
#include <asm/kvm_page_track.h>
#include "i915_drv.h"
#include "gt/intel_gt.h"
#include "intel_gvt.h"
#include "debug.h"
......@@ -368,11 +368,6 @@ struct intel_gvt {
struct dentry *debugfs_root;
};
static inline struct intel_gvt *to_gvt(struct drm_i915_private *i915)
{
return i915->gvt;
}
enum {
/* Scheduling trigger by timer */
INTEL_GVT_REQUEST_SCHED = 0,
......
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