mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 17:13:52 +02:00
drm/i915/gvt: include sched_policy.h only where needed
Not everything needs sched_policy.h. Drop it from gvt.h, and include where needed. Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com> Link: https://patch.msgid.link/2807f82cf571ed6e736242bdfad786efcad50f02.1767180318.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
parent
1bc99cdc1d
commit
0eccf37660
|
|
@ -54,7 +54,6 @@
|
|||
#include "mmio_context.h"
|
||||
#include "page_track.h"
|
||||
#include "reg.h"
|
||||
#include "sched_policy.h"
|
||||
#include "scheduler.h"
|
||||
|
||||
#define GVT_MAX_VGPU 8
|
||||
|
|
|
|||
|
|
@ -69,6 +69,7 @@
|
|||
#include "i915_pvinfo.h"
|
||||
#include "i915_reg.h"
|
||||
#include "intel_mchbar_regs.h"
|
||||
#include "sched_policy.h"
|
||||
|
||||
/* XXX FIXME i915 has changed PP_XXX definition */
|
||||
#define PCH_PP_STATUS _MMIO(0xc7200)
|
||||
|
|
|
|||
|
|
@ -52,6 +52,7 @@
|
|||
#include "gvt.h"
|
||||
#include "i915_drv.h"
|
||||
#include "intel_gvt.h"
|
||||
#include "sched_policy.h"
|
||||
|
||||
MODULE_IMPORT_NS("DMA_BUF");
|
||||
MODULE_IMPORT_NS("I915_GVT");
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@
|
|||
|
||||
#include "gvt.h"
|
||||
#include "i915_drv.h"
|
||||
#include "sched_policy.h"
|
||||
|
||||
static bool vgpu_has_pending_workload(struct intel_vgpu *vgpu)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -49,6 +49,7 @@
|
|||
#include "i915_drv.h"
|
||||
#include "i915_gem_gtt.h"
|
||||
#include "i915_perf_oa_regs.h"
|
||||
#include "sched_policy.h"
|
||||
|
||||
#define RING_CTX_OFF(x) \
|
||||
offsetof(struct execlist_ring_context, x)
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@
|
|||
#include "gvt.h"
|
||||
#include "i915_drv.h"
|
||||
#include "i915_pvinfo.h"
|
||||
#include "sched_policy.h"
|
||||
|
||||
void populate_pvinfo_page(struct intel_vgpu *vgpu)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user