public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] drm/i915: Introduce GEM proxy
@ 2017-11-01  9:22 Tina Zhang
  2017-11-01  9:22 ` [PATCH v2 1/2] " Tina Zhang
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Tina Zhang @ 2017-11-01  9:22 UTC (permalink / raw)
  To: zhenyuw, zhi.a.wang, daniel, joonas.lahtinen, chris
  Cc: intel-gfx, intel-gvt-dev

This patch-set introduces the GEM proxy which is a kind of GEM whose
backing physical memory is pinned and produced by guest VM and is
used by host as read only.

The patch is separated from the "Dma-buf support for Gvt-g"
  patch-set. (Joonas)

v2:
- return -ENXIO when pin and map pages of GEM proxy to kernel space.
  (Chris)
- update the patch description and subject to just mention objects w/o
  backing storage, instead of "GEM proxy". (Joonas)

Here are the histories of this patch in "Dma-buf support for Gvt-g"
patch-set:

v14:
- return -ENXIO when gem proxy object is banned by ioctl.
  (Chris) (Daniel)

v13:
- add comments to GEM proxy. (Chris)
- don't ban GEM proxy in i915_gem_sw_finish_ioctl. (Chris)
- check GEM proxy bar after finishing i915_gem_object_wait. (Chris)
- remove GEM proxy bar in i915_gem_madvise_ioctl.

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


Tina Zhang (2):
  drm/i915: Introduce GEM proxy
  drm/i915: Object w/o backing stroage is banned by -ENXIO

 drivers/gpu/drm/i915/i915_gem.c        | 27 +++++++++++++++++++++++++--
 drivers/gpu/drm/i915/i915_gem_object.h | 11 +++++++++--
 drivers/gpu/drm/i915/i915_gem_tiling.c |  8 ++++++++
 3 files changed, 42 insertions(+), 4 deletions(-)

-- 
2.7.4

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-11-11  2:44 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-01  9:22 [PATCH v2 0/2] drm/i915: Introduce GEM proxy Tina Zhang
2017-11-01  9:22 ` [PATCH v2 1/2] " Tina Zhang
2017-11-06 11:24   ` Joonas Lahtinen
2017-11-07  4:53     ` Zhang, Tina
2017-11-07 13:06       ` Joonas Lahtinen
2017-11-11  2:32         ` Zhang, Tina
2017-11-11  2:44   ` Zhang, Tina
2017-11-01  9:22 ` [PATCH v2 2/2] drm/i915: Object w/o backing stroage is banned by -ENXIO Tina Zhang
2017-11-06 10:56   ` Joonas Lahtinen
2017-11-07  4:55     ` Zhang, Tina
2017-11-01  9:57 ` ✗ Fi.CI.BAT: failure for drm/i915: Introduce GEM proxy Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox