[PATCH] i915: fix DRM_I915_GVT_KVMGT dependencies
Rodrigo Vivi
rodrigo.vivi at intel.com
Thu Oct 17 16:54:08 UTC 2024
On Thu, Oct 17, 2024 at 05:11:37AM +0000, Arnd Bergmann wrote:
> On Thu, Oct 17, 2024, at 00:26, Sean Christopherson wrote:
> > On Tue, Oct 15, 2024, Arnd Bergmann wrote:
> >> diff --git a/drivers/gpu/drm/i915/Kconfig b/drivers/gpu/drm/i915/Kconfig
> >> index 46301c06d18a..985cb78d8256 100644
> >> --- a/drivers/gpu/drm/i915/Kconfig
> >> +++ b/drivers/gpu/drm/i915/Kconfig
> >> @@ -118,9 +118,8 @@ config DRM_I915_USERPTR
> >> config DRM_I915_GVT_KVMGT
> >> tristate "Enable KVM host support Intel GVT-g graphics virtualization"
> >> depends on DRM_I915
> >> - depends on X86
> >> + depends on KVM_X86
> >
> > Can GVT-g even work on non-Intel CPUs? I.e. would it make sense to take a
> > dependency on KVM_INTEL?
> >
>
> Yes, I think that should work, but I'm not sure if it needs a dependency
> on both KVM_INTEL and KVM_X86 in that case, to handle the link-time
> dependency in all configurations.
not sure as well, but let's take the safest approach. pushed this patch.
Thanks
>
> Arnd
More information about the Intel-gfx
mailing list