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:
Jani Nikula 2025-12-31 13:26:08 +02:00
parent 1bc99cdc1d
commit 0eccf37660
6 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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)

View File

@ -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");

View File

@ -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)
{

View File

@ -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)

View File

@ -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)
{