public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Gen8: Per-context workarounds using W/A batch buffers
@ 2015-02-25 17:54 Arun Siluvery
  2015-02-25 17:54 ` [PATCH 1/2] drm/i915/gen8: The WA BB framework is enabled Arun Siluvery
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Arun Siluvery @ 2015-02-25 17:54 UTC (permalink / raw)
  To: intel-gfx

Starting from Gen8 we have some workarounds that are applied Per context and
they are applied using special batch buffers called as WA batch buffers.
HW executes them at specific stages during context save/restore.

First patch adds a function to create a ringbuffer in which instructions for
WA batch are queued in.

Second patch initializes the batch with the instructions for each applied WA
and the batch buffer address is provided in context offset pointers when it
is initialized.

These workarounds are required to fix issues mainly with Preemption workloads,
but I have not seen any issues yet which are fixed by these workarounds.
As per my understanding it is also not possible to verify whether they are
applied correctly or not as HW executes them completely internally and
does not return any success/failure status once they are executed.

These patches are integrated in Android tree and did not cause any regressions.
Please review and give your comments; If you have any ideas to validate them
or to create any tests to trigger the failure scenario, please let me know.

Arun Siluvery (1):
  drm/i915/gen8: Apply Per-context workarounds using W/A batch buffers

Namrta (1):
  drm/i915/gen8: The WA BB framework is enabled.

 drivers/gpu/drm/i915/i915_drv.h         |   3 +
 drivers/gpu/drm/i915/i915_reg.h         |  30 +++-
 drivers/gpu/drm/i915/intel_lrc.c        | 270 +++++++++++++++++++++++++++++++-
 drivers/gpu/drm/i915/intel_ringbuffer.h |   3 +
 4 files changed, 297 insertions(+), 9 deletions(-)

-- 
2.3.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-03-02 18:08 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-25 17:54 [PATCH 0/2] Gen8: Per-context workarounds using W/A batch buffers Arun Siluvery
2015-02-25 17:54 ` [PATCH 1/2] drm/i915/gen8: The WA BB framework is enabled Arun Siluvery
2015-02-27 17:32   ` Michel Thierry
2015-02-27 18:04     ` Michel Thierry
2015-03-02 11:06   ` [PATCH v2 " Arun Siluvery
2015-02-25 17:54 ` [PATCH 2/2] drm/i915/gen8: Apply Per-context workarounds using W/A batch buffers Arun Siluvery
2015-02-26 20:24   ` shuang.he
2015-03-02 10:10   ` Michel Thierry
2015-03-02 10:23     ` Siluvery, Arun
2015-03-02 11:07   ` [PATCH v2 " Arun Siluvery
2015-03-02 17:43     ` Daniel Vetter
2015-03-02 18:08       ` Siluvery, Arun
2015-03-02 11:02 ` [PATCH v2 1/2] drm/i915/gen8: The WA BB framework is enabled Arun Siluvery
2015-03-02 11:10   ` Siluvery, Arun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox