drm/virtio: add in/out fence support for explicit
synchronization")
Signed-off-by: Liu Qi
Signed-off-by: hexin
---
drivers/gpu/drm/virtio/virtgpu_ioctl.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/virtio/virtgpu_ioctl.c
b/drivers/gpu/drm/virtio/virtgpu_ioctl.
, with pci_try_reset_function(), which overwrites the
restored device state with the current state before applying it to the
device. Reinstate use of __pci_reset_function_locked() to return to
the desired behavior.
Fixes: 890ed578df82 ("vfio-pci: Use pci "try" reset interface")
Signed-off-b
Alex Williamson 于2019年8月20日周二 上午3:53写道:
>
> On Sat, 17 Aug 2019 19:51:03 +0800
> hexin wrote:
>
> > In vfio_pci_enable(), save the device's initial configuration information
> > and then restore the configuration in vfio_pci_disable(). However, the
> > execution
restored by pci_load_and_free_saved_state() will be
overwritten. The __pci_reset_function_locked() function can be used
to prevent the configuration space from being overwritten.
Fixes: 890ed578df82 ("vfio-pci: Use pci "try" reset interface")
Signed-off-by: hexin
Signed-off-by
restored by pci_load_and_free_saved_state() will be
overwritten. The __pci_reset_function_locked() function can be used
to prevent the configuration space from being overwritten.
Signed-off-by: hexin
Signed-off-by: Liu Qi
Signed-off-by: Zhang Yu
---
drivers/vfio/pci/vfio_pci.c | 10 --
1
5 matches
Mail list logo