From: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
To: Tina Zhang <tina.zhang@intel.com>,
zhenyuw@linux.intel.com, zhi.a.wang@intel.com, daniel@ffwll.ch,
chris@chris-wilson.co.uk
Cc: intel-gfx@lists.freedesktop.org, intel-gvt-dev@lists.freedesktop.org
Subject: Re: [PATCH v2 2/2] drm/i915: Object w/o backing stroage is banned by -ENXIO
Date: Mon, 06 Nov 2017 12:56:38 +0200 [thread overview]
Message-ID: <1509965798.5418.15.camel@linux.intel.com> (raw)
In-Reply-To: <1509528141-4189-3-git-send-email-tina.zhang@intel.com>
Hi Tina,
Please send this patch alone (or in the beginning of your series), so it can be merged already.
That'll save you the effort of carrying this patch.
Regards, Joonas
On Wed, 2017-11-01 at 17:22 +0800, Tina Zhang wrote:
> -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 <tina.zhang@intel.com>
> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
> ---
> 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
> --- a/drivers/gpu/drm/i915/i915_gem.c
> +++ b/drivers/gpu/drm/i915/i915_gem.c
> @@ -1713,7 +1713,7 @@ i915_gem_mmap_ioctl(struct drm_device *dev, void *data,
> */
> if (!obj->base.filp) {
> i915_gem_object_put(obj);
> - return -EINVAL;
> + return -ENXIO;
> }
>
> addr = vm_mmap(obj->base.filp, 0, args->size,
--
Joonas Lahtinen
Open Source Technology Center
Intel Corporation
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2017-11-06 10:56 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2017-11-07 4:55 ` Zhang, Tina
2017-11-01 9:57 ` ✗ Fi.CI.BAT: failure for drm/i915: Introduce GEM proxy 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=1509965798.5418.15.camel@linux.intel.com \
--to=joonas.lahtinen@linux.intel.com \
--cc=chris@chris-wilson.co.uk \
--cc=daniel@ffwll.ch \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-gvt-dev@lists.freedesktop.org \
--cc=tina.zhang@intel.com \
--cc=zhenyuw@linux.intel.com \
--cc=zhi.a.wang@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