From: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
To: Chris Wilson <chris@chris-wilson.co.uk>, intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm/i915/execlists: Drop redundant list_del_init(&rq->sched.link)
Date: Mon, 23 Sep 2019 10:52:53 +0100 [thread overview]
Message-ID: <fb9a1cfe-bf4c-cd17-1114-e00ba750242c@linux.intel.com> (raw)
In-Reply-To: <20190923094004.15324-1-chris@chris-wilson.co.uk>
On 23/09/2019 10:40, Chris Wilson wrote:
> Since amalgamating the queued and active lists in commit 422d7df4f090
> ("drm/i915: Replace engine->timeline with a plain list"), performing a
> i915_request_submit() will remove the request from the execlists
> priority queue.
>
> References: 422d7df4f090 ("drm/i915: Replace engine->timeline with a plain list")
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
> ---
> drivers/gpu/drm/i915/gt/intel_lrc.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/gt/intel_lrc.c b/drivers/gpu/drm/i915/gt/intel_lrc.c
> index 1a2b71157f08..81f16b8ea0d0 100644
> --- a/drivers/gpu/drm/i915/gt/intel_lrc.c
> +++ b/drivers/gpu/drm/i915/gt/intel_lrc.c
> @@ -2514,7 +2514,6 @@ static void execlists_cancel_requests(struct intel_engine_cs *engine)
> int i;
>
> priolist_for_each_request_consume(rq, rn, p, i) {
> - list_del_init(&rq->sched.link);
> __i915_request_submit(rq);
> dma_fence_set_error(&rq->fence, -EIO);
> i915_request_mark_complete(rq);
>
Thanks! :)
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Regards,
Tvrtko
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2019-09-23 9:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-23 9:40 [PATCH] drm/i915/execlists: Drop redundant list_del_init(&rq->sched.link) Chris Wilson
2019-09-23 9:52 ` Tvrtko Ursulin [this message]
2019-09-23 10:38 ` ✗ Fi.CI.CHECKPATCH: warning for " Patchwork
2019-09-23 11:01 ` ✓ Fi.CI.BAT: success " Patchwork
2019-09-23 15:54 ` ✓ Fi.CI.IGT: " 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=fb9a1cfe-bf4c-cd17-1114-e00ba750242c@linux.intel.com \
--to=tvrtko.ursulin@linux.intel.com \
--cc=chris@chris-wilson.co.uk \
--cc=intel-gfx@lists.freedesktop.org \
/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