From: Daniel Vetter <daniel@ffwll.ch>
To: Chris Wilson <chris@chris-wilson.co.uk>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH 2/2] drm/i915: Segregate memory domains in the GTT using coloring
Date: Thu, 12 Jul 2012 14:19:34 +0200 [thread overview]
Message-ID: <20120712121934.GE5039@phenom.ffwll.local> (raw)
In-Reply-To: <1341915324-18896-2-git-send-email-chris@chris-wilson.co.uk>
On Tue, Jul 10, 2012 at 11:15:24AM +0100, Chris Wilson wrote:
> Several functions of the GPU have the restriction that differing memory
> domains cannot be placed next to each other (as the GPU may prefetch
> beyond the end of one domain and hang as it crosses into the other
> domain). We use the facility of the drm_mm to mark ranges with a
> particular color that corresponds to the cache attributes of those pages
> in order to prevent allocating adjacent blocks of differing memory
> types.
>
> v2: Rebase ontop of drm_mm coloring v2.
>
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
--
Daniel Vetter
Mail: daniel@ffwll.ch
Mobile: +41 (0)79 365 57 48
next prev parent reply other threads:[~2012-07-12 12:19 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-09 11:34 [RFC] Set cache level ioctl Chris Wilson
2012-07-09 11:34 ` [PATCH 1/3] drm: Add colouring to the range allocator Chris Wilson
2012-07-10 9:21 ` Daniel Vetter
2012-07-10 9:29 ` Chris Wilson
2012-07-10 9:40 ` Daniel Vetter
2012-07-10 10:15 ` [PATCH 1/2] " Chris Wilson
2012-07-10 10:15 ` [PATCH 2/2] drm/i915: Segregate memory domains in the GTT using coloring Chris Wilson
2012-07-12 12:19 ` Daniel Vetter [this message]
2012-07-12 12:15 ` [PATCH 1/2] drm: Add colouring to the range allocator Daniel Vetter
2012-07-09 11:34 ` [PATCH 2/3] drm/i915: Segregate memory domains in the GTT using coloring Chris Wilson
2012-07-09 11:34 ` [PATCH 3/3] drm/i915: Export ability of changing cache levels to userspace Chris Wilson
2012-07-10 8:54 ` Daniel Vetter
2012-07-10 9:00 ` Chris Wilson
2012-07-10 9:27 ` [PATCH] " Chris Wilson
2012-07-18 18:06 ` Daniel Vetter
2012-07-26 10:34 ` Daniel Vetter
2012-07-26 10:49 ` [PATCH] drm/i915: Segregate memory domains in the GTT using coloring Chris Wilson
2012-07-26 11:00 ` Daniel Vetter
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=20120712121934.GE5039@phenom.ffwll.local \
--to=daniel@ffwll.ch \
--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