[Intel-gfx] [PATCH] drm/i915: Disable semaphore on vGPU for now

Zhenyu Wang zhenyuw at linux.intel.com
Thu Mar 28 02:26:26 UTC 2019


On 2019.03.27 09:15:36 +0000, Chris Wilson wrote:
> Quoting Zhenyu Wang (2019-03-27 09:06:36)
> > This is to disable semaphore usage when on vGPU for now. Unfortunately
> > GVT-g hasn't fully enabled semaphore usage yet, so current guest with
> > semaphore use would cause vGPU failure.
> > 
> > Although current semaphore failure with vGPU can be simply resolved by
> > allowing cmd parser to accept MI_SEMAPHORE_WAIT command with address
> > audit, we're checking general usage of semaphore and how we should
> > handle it properly for virtualization in consider of function and
> > security concern. So we decide to request to disable it for now in
> > guest driver. Once GVT could support it, we would add new compat bit
> > to turn it on.
> 
> MI_WAIT_SEMAPHORE are used by Vulkan (anvil) as well for VkEvents.

For batch buffer usage, current GVT won't scan on non-privileged buffer
so that's still accepted. We need to consider all use case of semaphore anyway.

thanks

-- 
Open Source Technology Center, Intel ltd.

$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20190328/85b70318/attachment.sig>


More information about the Intel-gfx mailing list