From: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
To: Tina Zhang <tina.zhang@intel.com>,
intel-gfx@lists.freedesktop.org,
intel-gvt-dev@lists.freedesktop.org,
dri-devel@lists.freedesktop.org, ville.syrjala@linux.intel.com,
zhenyuw@linux.intel.com, zhiyuan.lv@intel.com,
zhi.a.wang@intel.com, alex.williamson@redhat.com,
kraxel@redhat.com, chris@chris-wilson.co.uk, daniel@ffwll.ch,
kwankhede@nvidia.com, kevin.tian@intel.com
Subject: Re: [Intel-gfx] [PATCH v13 6/7] drm/i915: Introduce GEM proxy
Date: Mon, 07 Aug 2017 11:24:02 +0300 [thread overview]
Message-ID: <1502094242.5272.5.camel@linux.intel.com> (raw)
In-Reply-To: <1500974900-31030-7-git-send-email-tina.zhang@intel.com>
On ti, 2017-07-25 at 17:28 +0800, Tina Zhang wrote:
> GEM proxy is a kind of GEM, whose backing physical memory is pinned
> and produced by guest VM and is used by host as read only. With GEM
> proxy, host is able to access guest physical memory through GEM object
> interface. As GEM proxy is such a special kind of GEM, a new flag
> I915_GEM_OBJECT_IS_PROXY is introduced to ban host from changing the
> backing storage of GEM proxy.
>
It is a good idea to add a changelog here to indicate what was changed
since the last patch revision. It'll be easier for the reviewer to spot
the differences.
It's also a good idea to add Cc: line for somebody who provided
previous review, this will, too, allow spotting the patch quicker.
> Signed-off-by: Tina Zhang <tina.zhang@intel.com>
<SNIP>
> @@ -1730,7 +1744,7 @@ i915_gem_mmap_ioctl(struct drm_device *dev, void *data,
> */
> if (!obj->base.filp) {
> i915_gem_object_put(obj);
> - return -EINVAL;
> + return -EPERM;
> }
This hunk should be separate bugfix patch, but other than that the
patch looks OK to me.
I'll let Chris comment if he feels previous comments were adequately
addressed.
Regards, Joonas
--
Joonas Lahtinen
Open Source Technology Center
Intel Corporation
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2017-08-07 8:24 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-25 9:28 [PATCH v13 0/7] drm/i915/gvt: Dma-buf support for GVT-g Tina Zhang
2017-07-25 9:28 ` [PATCH v13 1/7] drm/i915/gvt: Add framebuffer decoder support Tina Zhang
2017-07-25 9:28 ` [PATCH v13 2/7] drm: Introduce RGB 64-bit 16:16:16:16 float format Tina Zhang
2017-08-15 14:49 ` Daniel Vetter
2017-08-16 3:16 ` Zhang, Tina
2017-08-16 7:31 ` Daniel Vetter
2017-07-25 9:28 ` [PATCH v13 3/7] drm/i915/gvt: Add RGB 64-bit 16:16:16:16 float format support Tina Zhang
2017-07-25 9:28 ` [PATCH v13 4/7] drm/i915/gvt: Add opregion support Tina Zhang
2017-07-25 9:28 ` [PATCH v13 5/7] vfio: ABI for mdev display dma-buf operation Tina Zhang
2017-07-28 8:27 ` Gerd Hoffmann
2017-07-31 0:31 ` Zhang, Tina
2017-08-01 21:18 ` Alex Williamson
2017-08-02 15:56 ` Kirti Wankhede
2017-08-03 3:17 ` Zhang, Tina
2017-08-03 3:37 ` Alex Williamson
2017-08-03 7:08 ` Zhang, Tina
2017-08-03 14:42 ` Alex Williamson
2017-08-07 3:22 ` Zhang, Tina
2017-08-07 8:11 ` Zhang, Tina
2017-08-07 17:43 ` Alex Williamson
2017-08-08 8:48 ` Kirti Wankhede
2017-08-08 18:07 ` Alex Williamson
2017-08-09 13:57 ` Kirti Wankhede
2017-08-09 8:31 ` Zhang, Tina
2017-08-09 16:57 ` Alex Williamson
2017-08-22 8:24 ` Gerd Hoffmann
2017-07-25 9:28 ` [PATCH v13 6/7] drm/i915: Introduce GEM proxy Tina Zhang
2017-08-07 8:24 ` Joonas Lahtinen [this message]
2017-08-09 6:25 ` [Intel-gfx] " Zhang, Tina
2017-07-25 9:28 ` [PATCH v13 7/7] drm/i915/gvt: Dmabuf support for GVT-g Tina Zhang
2017-07-25 9:55 ` ✗ Fi.CI.BAT: warning for drm/i915/gvt: Dma-buf " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1502094242.5272.5.camel@linux.intel.com \
--to=joonas.lahtinen@linux.intel.com \
--cc=alex.williamson@redhat.com \
--cc=chris@chris-wilson.co.uk \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-gvt-dev@lists.freedesktop.org \
--cc=kevin.tian@intel.com \
--cc=kraxel@redhat.com \
--cc=kwankhede@nvidia.com \
--cc=tina.zhang@intel.com \
--cc=ville.syrjala@linux.intel.com \
--cc=zhenyuw@linux.intel.com \
--cc=zhi.a.wang@intel.com \
--cc=zhiyuan.lv@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox