From: Imre Deak <imre.deak@intel.com>
To: intel-gfx@lists.freedesktop.org
Subject: [PATCH 0/2] drm/i915/bxt: work around HW coherency issue
Date: Mon, 8 Jun 2015 19:28:42 +0300 [thread overview]
Message-ID: <1433780924-7673-1-git-send-email-imre.deak@intel.com> (raw)
Running some basic igt tests on BXT A1 stepping uncovered a coherency
problem where a cached CPU mapping won't be updated by a GPU store via a
snooped mapping. While I opened an internal ticket to investigate this
further this patchset is an attempt to work around the problem until a
better solution is found or the problem is fixed in a later stepping.
The problem can be easily triggered with workloads where we submit
multiple small requests to the GPU. Here the CPU's view of seqno will
get eventually stale wrt. to the value stored by the GPU at the end of
the request and __wait_for_request will stall (and trigger the lost
interrupt/GPU reset mechanism). I could reproduce this with
igt/gem_store_dword_loop_render.
I also added a new igt/gem_store_dword_batches_loop for cached mappings
which shows the same problem in case of MI_STORE_MEMORY_IMM to a cached
buffer. The difference between this and the above case is that here the
buffer is mapped through PPGTT, while above the status page is mapped
through GGTT.
Imre Deak (2):
drm/i915/bxt: work around HW coherency issue when accessing GPU seqno
drm/i915/bxt: work around HW coherency issue for cached GEM mappings
drivers/gpu/drm/i915/i915_gem.c | 6 +++++-
drivers/gpu/drm/i915/intel_lrc.c | 17 +++++++++++++++++
drivers/gpu/drm/i915/intel_ringbuffer.h | 7 +++++++
3 files changed, 29 insertions(+), 1 deletion(-)
--
2.1.4
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
next reply other threads:[~2015-06-08 16:49 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-08 16:28 Imre Deak [this message]
2015-06-08 16:28 ` [PATCH 1/2] drm/i915/bxt: work around HW coherency issue when accessing GPU seqno Imre Deak
2015-06-08 17:08 ` Dave Gordon
2015-06-08 17:12 ` Chris Wilson
2015-06-08 17:34 ` Ville Syrjälä
2015-06-08 18:00 ` Chris Wilson
2015-06-08 18:40 ` Ville Syrjälä
2015-06-08 19:33 ` Dave Gordon
2015-06-10 10:59 ` Imre Deak
2015-06-10 15:10 ` Jesse Barnes
2015-06-10 15:26 ` Imre Deak
2015-06-10 15:33 ` Jesse Barnes
2015-06-10 15:55 ` Imre Deak
2015-06-10 15:52 ` Chris Wilson
2015-06-11 8:02 ` Dave Gordon
2015-06-11 8:20 ` Chris Wilson
2015-06-11 19:14 ` Imre Deak
2015-06-08 17:14 ` Imre Deak
2015-06-09 8:21 ` Jani Nikula
2015-06-10 14:07 ` Imre Deak
2015-06-10 14:21 ` Chris Wilson
2015-06-10 14:55 ` Imre Deak
2015-06-10 15:00 ` Ville Syrjälä
2015-06-10 15:16 ` Imre Deak
2015-06-10 15:35 ` Chris Wilson
2015-07-01 13:40 ` Mika Kuoppala
2015-07-01 13:53 ` Mika Kuoppala
2015-06-08 16:28 ` [PATCH 2/2] drm/i915/bxt: work around HW coherency issue for cached GEM mappings Imre Deak
2015-06-13 18:04 ` shuang.he
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=1433780924-7673-1-git-send-email-imre.deak@intel.com \
--to=imre.deak@intel.com \
--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