[PATCH] i915: fix DRM_I915_GVT_KVMGT dependencies
Arnd Bergmann
arnd at arndb.de
Thu Oct 17 05:11:37 UTC 2024
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.
Arnd
More information about the dri-devel
mailing list