From: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
To: Chris Wilson <chris@chris-wilson.co.uk>, intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH 1/4] drm/i915: Pin fence for iomap
Date: Tue, 4 Jul 2017 12:19:17 +0100 [thread overview]
Message-ID: <6819a57a-7470-302d-a36a-117427eb681d@linux.intel.com> (raw)
In-Reply-To: <149916269800.1045.4031077298292022031@mail.alporthouse.com>
On 04/07/2017 11:04, Chris Wilson wrote:
> Quoting Tvrtko Ursulin (2017-07-04 10:53:53)
>>
>> On 03/07/2017 11:14, Chris Wilson wrote:
>>> We probably want for the caller to specify whether the fence should be
>>> pinned for their usage, but at the moment all callers do want the
>>> associated fence, or none, so take it on their behalf.
>> Wouldn't this be wasting fences for ring buffers?
>
> No. We don't claim a fence unless used (the or none clause above). If
> the object is untiled, like ringbuffers, we don't assign a fence. The
> problem I'm thinking about for the future is having an iomap cached for
> fenced and unfenced access, i.e. we need to track the type of iomap
> similarly to regular vmaps.
I missed that i915_vma_get_fence only sets one up for tiled objects.
Code looks fine to me then, but the commit message reads like the main
paragraph is missing. With that improved a bit:
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
But for the series as a whole - what is the cover story? What does it do
on the high level? Less waiting in eb path, and instead sets up awaits?
Fences are still reserved in advance so when it is runnable it is
guaranteed which one it is getting?
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:[~2017-07-04 11:19 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-03 10:14 [PATCH 1/4] drm/i915: Pin fence for iomap Chris Wilson
2017-07-03 10:14 ` [PATCH 2/4] drm/i915: Consolidate get_fence with pin_fence Chris Wilson
2017-07-04 14:47 ` Tvrtko Ursulin
2017-07-03 10:14 ` [PATCH 3/4] drm/i915: Emit pipelined fence changes Chris Wilson
2017-07-05 10:19 ` Tvrtko Ursulin
2017-07-06 11:35 ` Chris Wilson
2017-07-03 10:14 ` [PATCH 4/4] drm/i915: Make fence->pin_count atomic to allow unlocked unpinning Chris Wilson
2017-07-03 11:09 ` ✓ Fi.CI.BAT: success for series starting with [1/4] drm/i915: Pin fence for iomap Patchwork
2017-07-04 9:53 ` [PATCH 1/4] " Tvrtko Ursulin
2017-07-04 10:04 ` Chris Wilson
2017-07-04 11:19 ` Tvrtko Ursulin [this message]
2017-07-04 11:25 ` Chris Wilson
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=6819a57a-7470-302d-a36a-117427eb681d@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;
as well as URLs for NNTP newsgroup(s).