[Intel-gfx] [PATCH v5] vfio/pci: Add support for opregion v2.1+

2021-03-25 Thread Fred Gao
size. Since opregion v2.0 with physical host VBT address would not be practically available for end user and guest can not directly access host physical address, so it is not supported. Cc: Zhenyu Wang Signed-off-by: Swee Yee Fonn Signed-off-by: Fred Gao --- drivers/vfio/pci/vfio_pci_igd.c | 53

[Intel-gfx] [PATCH v2] vfio/pci: Add support for opregion v2.0+

2021-01-17 Thread Fred Gao
VBT region size. Cc: Zhenyu Wang Signed-off-by: Swee Yee Fonn Signed-off-by: Fred Gao --- drivers/vfio/pci/vfio_pci_igd.c | 59 + 1 file changed, 59 insertions(+) diff --git a/drivers/vfio/pci/vfio_pci_igd.c b/drivers/vfio/pci/vfio_pci_igd.c index 53d97f459252

[Intel-gfx] [PATCH v1] vfio/pci: Add support for opregion v2.0+

2020-12-02 Thread Fred Gao
x27;s relative offset. Cc: Zhenyu Wang Signed-off-by: Swee Yee Fonn Signed-off-by: Fred Gao --- drivers/vfio/pci/vfio_pci_igd.c | 44 + 1 file changed, 44 insertions(+) diff --git a/drivers/vfio/pci/vfio_pci_igd.c b/drivers/vfio/pci/vfio_pci_igd.c index 53d97f4

[Intel-gfx] [PATCH v3] vfio/pci: Add support for opregion v2.1+

2021-02-08 Thread Fred Gao
VBT region size. since opregion v2.0 with physical host VBT address should not be practically available for end user, it is not supported. Cc: Zhenyu Wang Signed-off-by: Swee Yee Fonn Signed-off-by: Fred Gao --- drivers/vfio/pci/vfio_pci_igd.c | 49 + 1 file

[Intel-gfx] [PATCH v4] vfio/pci: Add support for opregion v2.1+

2021-03-01 Thread Fred Gao
VBT region size. since opregion v2.0 with physical host VBT address should not be practically available for end user, it is not supported. Cc: Zhenyu Wang Signed-off-by: Swee Yee Fonn Signed-off-by: Fred Gao --- drivers/vfio/pci/vfio_pci_igd.c | 49 + 1 file

[Intel-gfx] [PATCH v3] vfio/pci: Bypass IGD init in case of -ENODEV

2020-11-02 Thread Fred Gao
VFIO, but we still allow other normal device resource access. Cc: Zhenyu Wang Cc: Xiong Zhang Cc: Hang Yuan Cc: Stuart Summers Signed-off-by: Fred Gao --- drivers/vfio/pci/vfio_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/vfio/pci/vfio_pci.c b/drivers/vfi

[Intel-gfx] [PATCH v1] vfio/pci: Refine Intel IGD OpRegion support

2020-07-09 Thread Fred Gao
Bypass the IGD initialization for Intel's dgfx devices with own expansion ROM and the host/LPC bridge config space are no longer accessed. Cc: Zhenyu Wang Cc: Xiong Zhang Cc: Hang Yuan Cc: Stuart Summers Signed-off-by: Lucas De Marchi Signed-off-by: Fred Gao --- drivers/vfio/pci/vfio_

[Intel-gfx] [PATCH v2] vfio/pci: Refine Intel IGD OpRegion support

2020-09-29 Thread Fred Gao
mmers Signed-off-by: Lucas De Marchi Signed-off-by: Fred Gao --- drivers/vfio/pci/vfio_pci.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/vfio/pci/vfio_pci.c b/drivers/vfio/pci/vfio_pci.c index f634c81998bb..9258ccfadb79 100644 --- a/drivers/vfio/pci/vfio_

[Intel-gfx] [PATCH] drm/i915/gvt: Fix the vblank timer close issue after shutdown VMs in reverse

2017-07-12 Thread fred gao
have_enabled_pipe is always false since all the VM2 pipes are disabled, so the vblank timer will be canceled and TDR happens in Windows VM1 guest due to the vsync timeout. In this patch the vblank timer will be never canceled once one pipe is enabled. Cc: Wang, Hongbo Signed-off-by: fred gao

[Intel-gfx] [PATCH] drm/i915/gvt: Fix the vblank timer close issue after shutdown VMs in reverse

2017-07-13 Thread fred gao
have_enabled_pipe is always false since all the VM2 pipes are disabled, so the vblank timer will be canceled and TDR happens in Windows VM1 guest due to the vsync timeout. In this patch the vblank timer will be never canceled once one pipe is enabled. Cc: Wang, Hongbo Signed-off-by: fred gao