From: Christoph Hellwig <hch@infradead.org>
To: "Jason A. Donenfeld" <Jason@zx2c4.com>
Cc: linux-kernel@vger.kernel.org, intel-gfx@lists.freedesktop.org,
dri-devel@lists.freedesktop.org, bigeasy@linutronix.de,
tglx@linutronix.de, chris@chris-wilson.co.uk,
stable@vger.kernel.org
Subject: Re: [PATCH] drm/i915: check to see if SIMD registers are available before using SIMD
Date: Fri, 1 May 2020 11:07:31 -0700 [thread overview]
Message-ID: <20200501180731.GA2485@infradead.org> (raw)
In-Reply-To: <20200430221016.3866-1-Jason@zx2c4.com>
On Thu, Apr 30, 2020 at 04:10:16PM -0600, Jason A. Donenfeld wrote:
> Sometimes it's not okay to use SIMD registers, the conditions for which
> have changed subtly from kernel release to kernel release. Usually the
> pattern is to check for may_use_simd() and then fallback to using
> something slower in the unlikely case SIMD registers aren't available.
> So, this patch fixes up i915's accelerated memcpy routines to fallback
> to boring memcpy if may_use_simd() is false.
Err, why does i915 implements its own uncached memcpy instead of relying
on core functionality to start with?
next prev parent reply other threads:[~2020-05-01 18:07 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-30 22:10 Jason A. Donenfeld
2020-05-01 10:42 ` Sebastian Andrzej Siewior
2020-05-01 11:34 ` David Laight
2020-05-01 21:54 ` Jason A. Donenfeld
2020-05-01 18:07 ` Christoph Hellwig [this message]
2020-05-01 21:55 ` Jason A. Donenfeld
2020-05-03 20:20 ` Chris Wilson
2020-05-04 16:03 ` Christoph Hellwig
2020-05-04 16:15 ` David Laight
2020-05-03 20:30 ` Chris Wilson
2020-05-03 20:35 ` Jason A. Donenfeld
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=20200501180731.GA2485@infradead.org \
--to=hch@infradead.org \
--cc=Jason@zx2c4.com \
--cc=bigeasy@linutronix.de \
--cc=chris@chris-wilson.co.uk \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=stable@vger.kernel.org \
--cc=tglx@linutronix.de \
/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
all inboxes | Powered by JetHome®