This patch prevents division by zero htotal.
Signed-off-by: Tina Zhang
Cc: Adam Jackson
Cc: Dave Airlie
Cc: Daniel Vetter
---
drivers/gpu/drm/drm_modes.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/drm_modes.c b/drivers/gpu/drm/drm_modes.c
index
Guest framebuffer rotation feature support
Need to be handled like the PLANE_SURF in the series.
Tina Zhang (7):
drm/i915: Introduce meta framebuffer
drm/i915/gvt: Use meta fbs to stand for vGPU's planes
drm/i915: Introduce async plane update to i915
drm/i915: Extend async plane update
er is used by host i915 to describe the framebuffer
pinned to the GGTT space by guest OS.
Signed-off-by: Tina Zhang
Signed-off-by: Zhi Wang
Cc: Ville Syrjälä
Cc: Daniel Vetter
---
drivers/gpu/drm/i915/intel_drv.h| 15 +++
drivers/gpu/drm/i915/intel_sprite.c | 19 +
For each physical crtc, Gvt-g has a kernel thread to get the HW vblank
event on time and inject the interrupt event to the vGPUs which the
display planes of the crtc are assigned to.
Signed-off-by: Tina Zhang
Cc: Zhenyu Wang
Cc: Zhi Wang
---
drivers/gpu/drm/i915/gvt/display.c | 30
as much as possible.
Signed-off-by: Tina Zhang
Cc: Zhenyu Wang
Cc: Zhi Wang
---
drivers/gpu/drm/i915/gvt/display.c | 265 +
drivers/gpu/drm/i915/gvt/display.h | 18 +++
2 files changed, 283 insertions(+)
diff --git a/drivers/gpu/drm/i915/gvt/display.c
b
Extend async plane update idea to more planes.
Signed-off-by: Tina Zhang
Cc: Gustavo Padovan
Cc: Enric Balletbo i Serra
Cc: Helen Koike
Cc: Daniel Vetter
Cc: Ville Syrjälä
---
drivers/gpu/drm/i915/intel_atomic_plane.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/gpu/drm
GPU's pipe one
*/
cat plane_index_id //dump the id for plane 0 of pipe 1
Then userspace can use this id with the exsting KMS IOCTL, e.g.
drmModeSetPlane, to assign a physical plane to this virtual plane.
Signed-off-by: Tina Zhang
Cc: Zhenyu Wang
Cc: Zhi Wang
---
drivers
Use the vGPU direct plane flip framework do the guest direct page
flip.
Signed-off-by: Tina Zhang
Cc: Zhenyu Wang
Cc: Zhi Wang
---
drivers/gpu/drm/i915/gvt/handlers.c | 38 +
1 file changed, 38 insertions(+)
diff --git a/drivers/gpu/drm/i915/gvt/handlers.c
this series try to extend this idea to support other
planes.
Signed-off-by: Tina Zhang
Cc: Gustavo Padovan
Cc: Enric Balletbo i Serra
Cc: Helen Koike
Cc: Daniel Vetter
Cc: Ville Syrjälä
---
drivers/gpu/drm/i915/intel_atomic_plane.c | 69 +++
drivers/gpu/drm/i915
v1->v2:
- name as cursor_x_hot/cursor_y_hot. (Zhenyu)
- use i915_reg_t definition instead of magic numbers. (Zhenyu)
Signed-off-by: Tina Zhang
Cc: Zhenyu Wang
Cc: Zhi Wang
Cc: Gerd Hoffmann
---
drivers/gpu/drm/i915/gvt/dmabuf.c | 22 --
drivers/gpu/drm/i915/gvt/fb_
otspot(). (Zhenyu)
v1->v2:
- name as cursor_x_hot/cursor_y_hot. (Zhenyu)
- use i915_reg_t definition instead of magic numbers. (Zhenyu)
Signed-off-by: Tina Zhang
Cc: Zhenyu Wang
Cc: Zhi Wang
Cc: Gerd Hoffmann
---
drivers/gpu/drm/i915/gvt/dmabuf.c | 22 --
drivers/gpu
ersion.
v2->v3:
- add validate_hotspot(). (Zhenyu)
v1->v2:
- name as cursor_x_hot/cursor_y_hot. (Zhenyu)
- use i915_reg_t definition instead of magic numbers. (Zhenyu)
Signed-off-by: Tina Zhang
Cc: Zhenyu Wang
Cc: Zhi Wang
Cc: Gerd Hoffmann
---
drivers/gpu/drm/i915/gvt/dmabu
This patchset fixs guest i915 full ppgtt block issue in device model and
enables the full ppgtt functionality to guest i915 driver when device model
with the fixed patch can support this capability.
Tina Zhang (4):
drm/i915/gvt: reorder the shadow ppgtt update process by adding entry
first
Add full ppgtt capability check in guest i915 driver and enable the full
ppgtt in guest only when device mode supports.
Signed-off-by: Tina Zhang
---
drivers/gpu/drm/i915/i915_drv.h | 1 +
drivers/gpu/drm/i915/i915_gem_gtt.c | 4 ++--
drivers/gpu/drm/i915/i915_vgpu.c| 6 ++
drivers
This patch is to provide full ppgtt capability for guest i915 driver.
Signed-off-by: Tina Zhang
---
drivers/gpu/drm/i915/gvt/vgpu.c| 1 +
drivers/gpu/drm/i915/i915_pvinfo.h | 4
2 files changed, 5 insertions(+)
diff --git a/drivers/gpu/drm/i915/gvt/vgpu.c b/drivers/gpu/drm/i915/gvt
n the workload is executed by hardware during that small time
window. This patch is to remove this time window by adding the new ppgtt
entry first and then remove the old one.
Signed-off-by: Tina Zhang
---
drivers/gpu/drm/i915/gvt/gtt.c | 45 ++
1 file change
vgt_caps is used for guest i915 driver to get the vgpu capabilities
from the device model.
Signed-off-by: Tina Zhang
---
drivers/gpu/drm/i915/i915_pvinfo.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/i915_pvinfo.h
b/drivers/gpu/drm/i915
: Tina Zhang
---
drivers/gpu/drm/i915/i915_drv.h | 1 +
drivers/gpu/drm/i915/i915_gem_gtt.c | 11 +--
drivers/gpu/drm/i915/i915_vgpu.c| 7 +++
drivers/gpu/drm/i915/i915_vgpu.h| 3 +++
4 files changed, 16 insertions(+), 6 deletions(-)
diff --git a/drivers/gpu/drm/i915
This patch is to provide full ppgtt capability for guest i915 driver.
Changes since v1:
- Move VGT_CAPS_FULL_PPGTT introduction to patch 2/4. (Joonas)
Signed-off-by: Tina Zhang
---
drivers/gpu/drm/i915/gvt/vgpu.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/i915/gvt
checking logic.
Tina Zhang (4):
drm/i915/gvt: reorder the shadow ppgtt update process by adding entry
first
drm/i915: introduce vgt_caps to pvinfo, v2
drm/i915/gvt: provide full ppgtt capability for guest, v2
drm/i915: enable guest full ppgtt when device model supports, v2
drivers/gpu
VGT_CAPS_FULL_PPGTT introduction to this patch and use #define instead
of enum (Joonas)
Signed-off-by: Tina Zhang
---
drivers/gpu/drm/i915/i915_pvinfo.h | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/i915_pvinfo.h
b/drivers/gpu/drm/i915
n the workload is executed by hardware during that small time
window. This patch is to remove this time window by adding the new ppgtt
entry first and then remove the old one.
Signed-off-by: Tina Zhang
---
drivers/gpu/drm/i915/gvt/gtt.c | 45 ++
1 file change
to provide the capability to guest. And this patch focuses on guest
i915 side. (Joonas)
- Change the title from "introduce vgt_caps to pvinfo" to
"Enable guest i915 full ppgtt functionality". (Tina)
Reviewed-by: Joonas Lahtinen
Signed-off-by: Tina Zhang
diff --git a/
t;Enable guest i915 full ppgtt functionality". (Tina)
Change since v3:
- Add some comments about pvinfo caps and version. (Joonas)
Reviewed-by: Joonas Lahtinen in v2
Signed-off-by: Tina Zhang
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index bde554e..843048
t;Enable guest i915 full ppgtt functionality". (Tina)
Change since v3:
- Add some comments about pvinfo caps and version. (Joonas)
Change since v4:
- Tested by Tina Zhang.
Reviewed-by: Joonas Lahtinen in v2
Tested-by: Tina Zhang
Signed-off-by: Tina Zhang
diff --git a/drivers/gpu/drm/i915/i915_drv.
; to
"Enable guest i915 full ppgtt functionality". (Tina)
Change since v3:
- Add some comments about pvinfo caps and version. (Joonas)
Change since v4:
- Tested by Tina Zhang.
Change since v5:
- Add limitation about supporting 32bit full ppgtt.
Reviewed-by: Joonas Lahtinen in v2
Sign
ue". (Tina)
Changes since v3:
- Rebase to the latest branch.
Changes since v4:
- Tested by Tina Zhang.
Changes since v5:
- Rebase to the latest branch.
Signed-off-by: Tina Zhang
---
drivers/gpu/drm/i915/gvt/gtt.c | 45 +
drivers/gpu/drm/i915/g
a-buf. Host User mode can check the
value of fd and to see if it need to creat new resource according to the
new fd or just use the existed resource related to the old fd.
Signed-off-by: Tina Zhang
diff --git a/include/uapi/linux/vfio.h b/include/uapi/linux/vfio.h
index ae46105..c92bc69 100644
an example program on how to use the dma-buf. You can download
the program to have a try. Good luck :)
git repo: https://github.com/01org/igvtg-qemu branch:kvmgt_dmabuf_example
Tina Zhang (1):
vfio: ABI for mdev display dma-buf operation
include/uapi/linux/vfio.h | 30
a-buf. Host User mode can check the
value of fd and to see if it need to creat new resource according to the
new fd or just use the existed resource related to the old fd.
Signed-off-by: Tina Zhang
diff --git a/include/uapi/linux/vfio.h b/include/uapi/linux/vfio.h
index ae46105..c92bc69 100644
t. And associate this gem obj
to a dma-buf object then export this dma-buf at the meantime
generate a file descriptor for this dma-buf. Finally deliver this file
descriptor to user space. And user can use this dma-buf fd to do render
or other operations.
Tina Zhang (1):
vfio: A
a-buf. Host User mode can check the
value of fd and to see if it needs to create new resource according to
the new fd or just use the existed resource related to the old fd.
Signed-off-by: Tina Zhang
diff --git a/include/uapi/linux/vfio.h b/include/uapi/linux/vfio.h
index ae46105..c176cc8 100644
Framebuffer decoder is used by gvt device model to get the display plane
information, which can be used for local and spice remote display. This
patch set is used to introduce the framebuffer decoder to gvt.
Tina Zhang (3):
drm/i915/gvt: Add framebuffer decoder support
drm: Introduce RGB 64
The RGB 64-bit 16:16:16:16 float pixel format is needed by windows 10
guest VM. This patch is to add this pixel format support to gvt device
model. Without this patch, some Apps, e.g. "DXGIGammaVM.exe", will crash
and make guest screen black.
Signed-off-by: Xiaoguang Chen
Signed-of
The RGB 64-bit 16:16:16:16 float pixel format is needed by windows
guest VM. This patch is to introduce the format to drm.
v1:
Suggested by Ville to submit this patch to dri-devel.
Signed-off-by: Xiaoguang Chen
Signed-off-by: Tina Zhang
---
include/uapi/drm/drm_fourcc.h | 4
1 file
Framebuffer decoder returns guest framebuffer information.
Guest framebuffer includes primary, cursor and sprite plane.
Signed-off-by: Xiaoguang Chen
Signed-off-by: Tina Zhang
---
drivers/gpu/drm/i915/gvt/Makefile | 3 +-
drivers/gpu/drm/i915/gvt/display.c| 2 +-
drivers/gpu/drm
Framebuffer decoder is used by gvt device model to get the display plane
information, which can be used for local and spice remote display. This
patch set is used to introduce the framebuffer decoder to gvt.
v1->v2:
Rebase to the latest staging branch.
Tina Zhang (3):
drm/i915/gvt:
Framebuffer decoder returns guest framebuffer information.
Guest framebuffer includes primary, cursor and sprite plane.
Signed-off-by: Xiaoguang Chen
Signed-off-by: Tina Zhang
---
drivers/gpu/drm/i915/gvt/Makefile | 3 +-
drivers/gpu/drm/i915/gvt/display.c| 2 +-
drivers/gpu/drm
The RGB 64-bit 16:16:16:16 float pixel format is needed by windows 10
guest VM. This patch is to add this pixel format support to gvt device
model. Without this patch, some Apps, e.g. "DXGIGammaVM.exe", will crash
and make guest screen black.
Signed-off-by: Xiaoguang Chen
Signed-of
The RGB 64-bit 16:16:16:16 float pixel format is needed by windows
guest VM. This patch is to introduce the format to drm.
v1:
Suggested by Ville to submit this patch to dri-devel.
Signed-off-by: Xiaoguang Chen
Signed-off-by: Tina Zhang
---
include/uapi/drm/drm_fourcc.h | 4
1 file
The RGB 64-bit 16:16:16:16 float pixel format is needed by windows
guest VM. This patch is to introduce the format to drm.
v1:
Suggested by Ville to submit this patch to dri-devel.
Signed-off-by: Xiaoguang Chen
Signed-off-by: Tina Zhang
---
include/uapi/drm/drm_fourcc.h | 4
1 file
dma-buf. Finally deliver this file
descriptor to user space. And user can use this dma-buf fd to do render
or other operations.
Tina Zhang (6):
drm/i915/gvt: Add framebuffer decoder support
drm: Introduce RGB 64-bit 16:16:16:16 float format
drm/i915/gvt: Add RGB 64-bit 16:16:16:16 float
The RGB 64-bit 16:16:16:16 float pixel format is needed by windows 10
guest VM. This patch is to add this pixel format support to gvt device
model. Without this patch, some Apps, e.g. "DXGIGammaVM.exe", will crash
and make guest screen black.
Signed-off-by: Xiaoguang Chen
Signed-of
Framebuffer decoder returns guest framebuffer information.
Guest framebuffer includes primary, cursor and sprite plane.
Signed-off-by: Xiaoguang Chen
Signed-off-by: Tina Zhang
---
drivers/gpu/drm/i915/gvt/Makefile | 3 +-
drivers/gpu/drm/i915/gvt/display.c| 2 +-
drivers/gpu/drm
dma-buf. Finally deliver this file
descriptor to user space. And user can use this dma-buf fd to do render
or other operations.
Tina Zhang (6):
drm/i915/gvt: Add framebuffer decoder support
drm: Introduce RGB 64-bit 16:16:16:16 float format
drm/i915/gvt: Add RGB 64-bit 16:16:16:16 float
The RGB 64-bit 16:16:16:16 float pixel format is needed by windows
guest VM. This patch is to introduce the format to drm.
v1:
Suggested by Ville to submit this patch to dri-devel.
Signed-off-by: Xiaoguang Chen
Signed-off-by: Tina Zhang
---
include/uapi/drm/drm_fourcc.h | 4
1 file
Framebuffer decoder returns guest framebuffer information.
Guest framebuffer includes primary, cursor and sprite plane.
Signed-off-by: Xiaoguang Chen
Signed-off-by: Tina Zhang
---
drivers/gpu/drm/i915/gvt/Makefile | 3 +-
drivers/gpu/drm/i915/gvt/display.c| 2 +-
drivers/gpu/drm
The RGB 64-bit 16:16:16:16 float pixel format is needed by windows 10
guest VM. This patch is to add this pixel format support to gvt device
model. Without this patch, some Apps, e.g. "DXGIGammaVM.exe", will crash
and make guest screen black.
Signed-off-by: Xiaoguang Chen
Signed-of
Framebuffer decoder returns guest framebuffer information.
Guest framebuffer includes primary, cursor and sprite plane.
Signed-off-by: Xiaoguang Chen
Signed-off-by: Tina Zhang
---
drivers/gpu/drm/i915/gvt/Makefile | 3 +-
drivers/gpu/drm/i915/gvt/display.c| 2 +-
drivers/gpu/drm
dma-buf. Finally deliver this file
descriptor to user space. And user can use this dma-buf fd to do render
or other operations.
Tina Zhang (6):
drm/i915/gvt: Add framebuffer decoder support
drm: Introduce RGB 64-bit 16:16:16:16 float format
drm/i915/gvt: Add RGB 64-bit 16:16:16:16 float
The RGB 64-bit 16:16:16:16 float pixel format is needed by windows
guest VM. This patch is to introduce the format to drm.
v1:
Suggested by Ville to submit this patch to dri-devel.
Signed-off-by: Xiaoguang Chen
Signed-off-by: Tina Zhang
---
include/uapi/drm/drm_fourcc.h | 4
1 file
The RGB 64-bit 16:16:16:16 float pixel format is needed by windows 10
guest VM. This patch is to add this pixel format support to gvt device
model. Without this patch, some Apps, e.g. "DXGIGammaVM.exe", will crash
and make guest screen black.
Signed-off-by: Xiaoguang Chen
Signed-of
a-buf. Host User mode can check the
value of fd and to see if it needs to create new resource according to
the new fd or just use the existed resource related to the old fd.
Signed-off-by: Tina Zhang
---
include/uapi/linux/vfio.h | 28
1 file changed, 28 insertions(+)
igned-off-by: Tina Zhang
---
drivers/gpu/drm/i915/gvt/hypercall.h | 1 +
drivers/gpu/drm/i915/gvt/kvmgt.c | 109 ++-
drivers/gpu/drm/i915/gvt/mpt.h | 15 +
drivers/gpu/drm/i915/gvt/opregion.c | 26 +++--
drivers/gpu/drm/i915/gvt/vgpu.c
Signed-off-by: Tina Zhang
---
drivers/gpu/drm/i915/i915_gem.c| 26 +-
drivers/gpu/drm/i915/i915_gem_object.h | 9 +
drivers/gpu/drm/i915/i915_gem_tiling.c | 5 +
3 files changed, 39 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915
Framebuffer decoder returns guest framebuffer information.
Guest framebuffer includes primary, cursor and sprite plane.
Signed-off-by: Xiaoguang Chen
Signed-off-by: Tina Zhang
---
drivers/gpu/drm/i915/gvt/Makefile | 3 +-
drivers/gpu/drm/i915/gvt/display.c| 2 +-
drivers/gpu/drm
The RGB 64-bit 16:16:16:16 float pixel format is needed by windows
guest VM. This patch is to introduce the format to drm.
v1:
Suggested by Ville to submit this patch to dri-devel.
Signed-off-by: Xiaoguang Chen
Signed-off-by: Tina Zhang
---
include/uapi/drm/drm_fourcc.h | 4
1 file
descriptor to user space. And user can use this dma-buf fd to do render
or other operations.
Tina Zhang (7):
drm/i915/gvt: Add framebuffer decoder support
drm: Introduce RGB 64-bit 16:16:16:16 float format
drm/i915/gvt: Add RGB 64-bit 16:16:16:16 float format support
drm/i915/gvt: Add opregion
The RGB 64-bit 16:16:16:16 float pixel format is needed by windows 10
guest VM. This patch is to add this pixel format support to gvt device
model. Without this patch, some Apps, e.g. "DXGIGammaVM.exe", will crash
and make guest screen black.
Signed-off-by: Xiaoguang Chen
Signed-of
igned-off-by: Tina Zhang
---
drivers/gpu/drm/i915/gvt/hypercall.h | 1 +
drivers/gpu/drm/i915/gvt/kvmgt.c | 109 ++-
drivers/gpu/drm/i915/gvt/mpt.h | 15 +
drivers/gpu/drm/i915/gvt/opregion.c | 26 +++--
drivers/gpu/drm/i915/gvt/vgpu.c
a-buf. Host User mode can check the
value of fd and to see if it needs to create new resource according to
the new fd or just use the existed resource related to the old fd.
Signed-off-by: Tina Zhang
---
include/uapi/linux/vfio.h | 28
1 file changed, 28 insertions(+)
is introduced to ban host from changing the
backing storage of GEM proxy.
Signed-off-by: Tina Zhang
---
drivers/gpu/drm/i915/i915_gem.c| 24 +++-
drivers/gpu/drm/i915/i915_gem_object.h | 7 +++
drivers/gpu/drm/i915/i915_gem_tiling.c | 8
3 files changed
This patch introduces a guest's framebuffer sharing mechanism based on
dma-buf subsystem. With this sharing mechanism, guest's framebuffer can
be shared between guest VM and host.
Signed-off-by: Tina Zhang
---
drivers/gpu/drm/i915/gvt/Makefile | 2 +-
drivers/gpu/drm/i915/gv
ier in the following ioctls. (Chris)
i915_gem_set_caching_ioctl
i915_gem_set_domain_ioctl
i915_gem_sw_finish_ioctl
i915_gem_set_tiling_ioctl
i915_gem_madvise_ioctl
Tina Zhang (2):
drm/i915: Introduce GEM proxy
drm/i915: Object w/o backing stroage is banned by -ENXIO
drivers/
ier in the following ioctls. (Chris)
i915_gem_set_caching_ioctl
i915_gem_set_domain_ioctl
i915_gem_sw_finish_ioctl
i915_gem_set_tiling_ioctl
i915_gem_madvise_ioctl
Tina Zhang (2):
drm/i915: Introduce GEM proxy
drm/i915: Object w/o backing stroage is banned by -ENXIO
drivers/
-ENXIO should be returned when operations are banned from changing
backing storage of objects without backing storage.
v2:
- update the patch description and subject to just mention objects w/o
backing storage, instead of "GEM proxy". (Joonas)
Signed-off-by: Tina Zhang
Reviewed
ollowing ioctls. (Chris)
i915_gem_set_caching_ioctl
i915_gem_set_domain_ioctl
i915_gem_sw_finish_ioctl
i915_gem_set_tiling_ioctl
i915_gem_madvise_ioctl
Signed-off-by: Tina Zhang
Reviewed-by: Joonas Lahtinen
Reviewed-by: Chris Wilson
Cc: Daniel Vetter
---
drivers/gpu/drm/i915/i915_ge
save
the decoded plane information to avoid look up while need the plane
info. (Gerd)
Signed-off-by: Tina Zhang
Cc: Gerd Hoffmann
Cc: Alex Williamson
Cc: Daniel Vetter
---
include/uapi/linux/vfio.h | 68 +++
1 file changed, 68 insertions(+)
diff
The RGB 64-bit 16:16:16:16 float pixel format is needed by windows 10
guest VM. This patch is to add this pixel format support to gvt device
model. Without this patch, some Apps, e.g. "DXGIGammaVM.exe", will crash
and make guest screen black.
Signed-off-by: Tina Zhang
---
drivers/gp
set vgpu's framebuffer as
its backing storage. Then, export a dma-buf associated with this gem object.
With the fd of this dma-buf, userspace can directly handle this buffer.
This patch set can be tried with the following example:
git://git.kraxel.org/qemu branch: work/intel-vgpu
Tina
fix a bug in decoding primary plane. (Tina)
v7:
- refine framebuffer decoder code. (Zhenyu)
Signed-off-by: Tina Zhang
Cc: Zhenyu Wang
---
drivers/gpu/drm/i915/gvt/Makefile | 3 +-
drivers/gpu/drm/i915/gvt/display.c| 2 +-
drivers/gpu/drm/i915/gvt/display.h| 2 +
drivers/gpu/drm
ed by linux
host.
v14:
- add some details about the float pixel format. (Daniel)
- add F suffix to the defined name. (Daniel)
v12:
- send to dri-devel at lists.freedesktop.org. (Ville)
v9:
- separated from framebuffer decoder patch. (Zhenyu) (Xiaoguang)
Signed-off-by: Tina Zhang
Cc: Ville Syrjäl
dma-buf operations. (Alex)
- alloc gem object's backing storage in gem obj's get_pages() callback.
(Chris)
Signed-off-by: Tina Zhang
Cc: Alex Williamson
Cc: Chris Wilson
Cc: Daniel Vetter
Cc: Gerd Hoffmann
---
drivers/gpu/drm/i915/gvt/Makefile | 2 +-
rrent
implementation is to fill the virtual opregion with the content in
host's opregion. The original author of this patch is Xiaoguang Chen.
v16:
- rebase to 4.14.0-rc6
Signed-off-by: Bing Niu
Signed-off-by: Tina Zhang
---
drivers/gpu/drm/i915/gvt/hypercall.h | 1 +
drivers/gpu/drm/i915/g
instead of "GEM proxy". (Joonas)
Reviewed-by: Chris Wilson
Signed-off-by: Tina Zhang
---
drivers/gpu/drm/i915/i915_gem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index 13bc18d..e85721c 100644
-
set can be tried with the following example:
git://git.kraxel.org/qemu branch: work/intel-vgpu
Tina Zhang (6):
drm/i915/gvt: Add framebuffer decoder support
drm: Introduce RGB 64-bit 16:16:16:16 float format
drm/i915/gvt: Add RGB 64-bit 16:16:16:16 float format
drm/i915/gvt: Add
The RGB 64-bit 16:16:16:16 float pixel format is needed by windows 10
guest VM. This patch is to add this pixel format support to gvt device
model. Without this patch, some Apps, e.g. "DXGIGammaVM.exe", will crash
and make guest screen black.
Signed-off-by: Tina Zhang
---
drivers/gp
ed by linux
host.
v14:
- add some details about the float pixel format. (Daniel)
- add F suffix to the defined name. (Daniel)
v12:
- send to dri-devel at lists.freedesktop.org. (Ville)
v9:
- separated from framebuffer decoder patch. (Zhenyu) (Xiaoguang)
Signed-off-by: Tina Zhang
Cc: Ville Syrjäl
field gvt_plane_info in the drm_i915_gem_obj structure to save
the decoded plane information to avoid look up while need the plane
info. (Gerd)
Signed-off-by: Tina Zhang
Cc: Gerd Hoffmann
Cc: Alex Williamson
Cc: Daniel Vetter
---
include/uapi/linux/vfio.h | 64
fix a bug in decoding primary plane. (Tina)
v7:
- refine framebuffer decoder code. (Zhenyu)
Signed-off-by: Tina Zhang
Cc: Zhenyu Wang
---
drivers/gpu/drm/i915/gvt/Makefile | 3 +-
drivers/gpu/drm/i915/gvt/display.c| 2 +-
drivers/gpu/drm/i915/gvt/display.h| 2 +
drivers/gpu/drm
rrent
implementation is to fill the virtual opregion with the content in
host's opregion. The original author of this patch is Xiaoguang Chen.
v16:
- rebase to 4.14.0-rc6
Signed-off-by: Bing Niu
Signed-off-by: Tina Zhang
---
drivers/gpu/drm/i915/gvt/hypercall.h | 1 +
drivers/gpu/drm/i915/g
use the same interface. (Alex)
v2:
- create a management fd for dma-buf operations. (Alex)
- alloc gem object's backing storage in gem obj's get_pages() callback.
(Chris)
Signed-off-by: Tina Zhang
Cc: Alex Williamson
Cc: Chris Wilson
Cc: Daniel Vetter
Cc: Gerd Hoffmann
---
ctl.
v6:
- add gem proxy barrier in the following ioctls. (Chris)
i915_gem_set_caching_ioctl
i915_gem_set_domain_ioctl
i915_gem_sw_finish_ioctl
i915_gem_set_tiling_ioctl
i915_gem_madvise_ioctl
Signed-off-by: Tina Zhang
Reviewed-by: Joonas Lahtinen v1
Reviewed-by: Chris Wilson v2
Cc: Da
ject to just mention objects w/o
backing storage, instead of "GEM proxy". (Joonas)
Signed-off-by: Tina Zhang
Reviewed-by: Chris Wilson v1
---
drivers/gpu/drm/i915/i915_gem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers
a dma-buf associated with this gem object.
With the fd of this dma-buf, userspace can directly handle this buffer.
This patch set can be tried with the following example:
git://git.kraxel.org/qemu branch: work/intel-vgpu
A topic branch with the latest patch set is:
https://github.com/i
ed by linux
host.
v14:
- add some details about the float pixel format. (Daniel)
- add F suffix to the defined name. (Daniel)
v12:
- send to dri-devel at lists.freedesktop.org. (Ville)
v9:
- separated from framebuffer decoder patch. (Zhenyu) (Xiaoguang)
Signed-off-by: Tina Zhang
Cc: Ville Syrjäl
The RGB 64-bit 16:16:16:16 float pixel format is needed by windows 10
guest VM. This patch is to add this pixel format support to gvt device
model. Without this patch, some Apps, e.g. "DXGIGammaVM.exe", will crash
and make guest screen black.
Signed-off-by: Tina Zhang
---
drivers/gp
fix a bug in decoding primary plane. (Tina)
v7:
- refine framebuffer decoder code. (Zhenyu)
Signed-off-by: Tina Zhang
Cc: Zhenyu Wang
---
drivers/gpu/drm/i915/gvt/Makefile | 3 +-
drivers/gpu/drm/i915/gvt/display.c| 2 +-
drivers/gpu/drm/i915/gvt/display.h| 2 +
drivers/gpu/drm
:
- refine the ABI API VFIO_DEVICE_QUERY_GFX_PLANE. (Alex) (Gerd)
v3:
- add a field gvt_plane_info in the drm_i915_gem_obj structure to save
the decoded plane information to avoid look up while need the plane
info. (Gerd)
Signed-off-by: Tina Zhang
Cc: Gerd Hoffmann
Cc: Alex Williamson
Cc: Daniel
rrent
implementation is to fill the virtual opregion with the content in
host's opregion. The original author of this patch is Xiaoguang Chen.
v18:
- unmap vgpu's opregion when destroying vgpu.
v16:
- rebase to 4.14.0-rc6.
Signed-off-by: Bing Niu
Signed-off-by: Tina Zhang
---
drivers/g
use the same interface. (Alex)
v2:
- create a management fd for dma-buf operations. (Alex)
- alloc gem object's backing storage in gem obj's get_pages() callback.
(Chris)
Signed-off-by: Tina Zhang
Cc: Alex Williamson
Cc: Chris Wilson
Cc: Daniel Vetter
Cc: Gerd Hoffmann
---
el.org/qemu branch: work/intel-vgpu
A topic branch with the latest patch set is:
https://github.com/intel/gvt-linux.git branch: topic/dmabuf
Tina Zhang (6):
drm/i915/gvt: Add framebuffer decoder support
drm: Introduce RGB 64-bit 16:16:16:16 float format
drm/i915/gvt: Add RGB 64-bit
:
- refine the ABI API VFIO_DEVICE_QUERY_GFX_PLANE. (Alex) (Gerd)
v3:
- add a field gvt_plane_info in the drm_i915_gem_obj structure to save
the decoded plane information to avoid look up while need the plane
info. (Gerd)
Signed-off-by: Tina Zhang
Reviewed-by: Gerd Hoffmann
Reviewed-by: Kirti
fix a bug in decoding primary plane. (Tina)
v7:
- refine framebuffer decoder code. (Zhenyu)
Signed-off-by: Tina Zhang
Cc: Zhenyu Wang
---
drivers/gpu/drm/i915/gvt/Makefile | 3 +-
drivers/gpu/drm/i915/gvt/display.c| 2 +-
drivers/gpu/drm/i915/gvt/display.h| 2 +
drivers/gpu/drm
use the same interface. (Alex)
v2:
- create a management fd for dma-buf operations. (Alex)
- alloc gem object's backing storage in gem obj's get_pages() callback.
(Chris)
Signed-off-by: Tina Zhang
Cc: Alex Williamson
Cc: Chris Wilson
Cc: Daniel Vetter
Cc: Gerd Hoffmann
---
dmabuf_obj's destruction relys on GEM release operation, which is managed
in i915 driver. And there is a time window between vgpu's destruction and
its dmabuf_objs' destruction. This patch is to free the orphan dmabuf_objs
correctly after the vgpu passes away.
Signed-off-by:
ed by linux
host.
v14:
- add some details about the float pixel format. (Daniel)
- add F suffix to the defined name. (Daniel)
v12:
- send to dri-devel at lists.freedesktop.org. (Ville)
v9:
- separated from framebuffer decoder patch. (Zhenyu) (Xiaoguang)
Signed-off-by: Tina Zhang
Cc: Ville Syrjäl
The RGB 64-bit 16:16:16:16 float pixel format is needed by windows 10
guest VM. This patch is to add this pixel format support to gvt device
model. Without this patch, some Apps, e.g. "DXGIGammaVM.exe", will crash
and make guest screen black.
Signed-off-by: Tina Zhang
---
drivers/gp
1:5:10 MSb-sign:exponent:
fraction.
This patch is to introduce the format to drm, so that the windows guest's
framebuffer in this kind of format can be recognized and used by linux
host.
Tina Zhang (1):
drm: Introduce RGB 64-bit 16:16:16:16 float format
include/uapi/drm/drm_fourcc.h | 4
1
ed by linux
host.
v14:
- add some details about the float pixel format. (Daniel)
- add F suffix to the defined name. (Daniel)
v12:
- send to dri-devel at lists.freedesktop.org. (Ville)
v9:
- separated from framebuffer decoder patch. (Zhenyu) (Xiaoguang)
Signed-off-by: Tina Zhang
Cc: Ville Syrjäl
1 - 100 of 124 matches
Mail list logo