From: Daniel Vetter <daniel@ffwll.ch>
To: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Cc: Intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm/i915: Remove one very outdated comment
Date: Thu, 10 Sep 2015 18:28:57 +0200 [thread overview]
Message-ID: <20150910162857.GA31002@phenom.ffwll.local> (raw)
In-Reply-To: <1441713168-28595-1-git-send-email-tvrtko.ursulin@linux.intel.com>
On Tue, Sep 08, 2015 at 12:52:48PM +0100, Tvrtko Ursulin wrote:
> From: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
>
> Comment disagrees with the code which has changed a lot since
> it was documented.
>
> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Applied, with the commit citation added for the patch which made this
comment obsolete. I tried finding the curb-EIO commit too, but that one
might have stalled somewhere :(
-Daniel
> ---
> drivers/gpu/drm/i915/i915_gem.c | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
> index 41263cd4170c..760cfba22e71 100644
> --- a/drivers/gpu/drm/i915/i915_gem.c
> +++ b/drivers/gpu/drm/i915/i915_gem.c
> @@ -3230,10 +3230,6 @@ int i915_vma_unbind(struct i915_vma *vma)
> ret = i915_gem_object_wait_rendering(obj, false);
> if (ret)
> return ret;
> - /* Continue on if we fail due to EIO, the GPU is hung so we
> - * should be safe and we need to cleanup or else we might
> - * cause memory corruption through use-after-free.
> - */
>
> if (i915_is_ggtt(vma->vm) &&
> vma->ggtt_view.type == I915_GGTT_VIEW_NORMAL) {
> --
> 2.5.1
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
prev parent reply other threads:[~2015-09-10 16:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-08 11:52 [PATCH] drm/i915: Remove one very outdated comment Tvrtko Ursulin
2015-09-10 16:28 ` Daniel Vetter [this message]
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=20150910162857.GA31002@phenom.ffwll.local \
--to=daniel@ffwll.ch \
--cc=Intel-gfx@lists.freedesktop.org \
--cc=tvrtko.ursulin@linux.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