All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Rework workaround init fn for BDW and CHV
@ 2014-09-01 13:28 Arun Siluvery
  2014-09-01 13:28 ` [PATCH 1/4] drm/i915: Rework workaround init functions " Arun Siluvery
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Arun Siluvery @ 2014-09-01 13:28 UTC (permalink / raw)
  To: intel-gfx

The patches that initialize workarounds for BDW and CHV using LRIs
are already merged in the tree but I received few more comments
from Chris and Damien.

I have reworked these patches as per their comments; it fixes
some issues and the code now looks clean. we can easily add
more workarounds with minimal changes.

I have tried to split BDW and CHV changes as separate patches but
it was getting ugly hence combined them also since it is a fixup
patch it should be ok.

In the previous implementation we were emitting each LRI individually
so the total number was not clear during init so a temporary array
was used to save w/a data (this is exported to debugfs) but if not
initialized we could potentially overrun array and also the condition
was not correct.
In this rework, w/a are organized as an array so we know the exact
count from the beginning and temporary array is no longer required.

The corresponding i-g-t is gem_workarounds.c and it is also updated.

Arun Siluvery (2):
  drm/i915: Rework workaround init functions for BDW and CHV
  drm/i915: Rework workaround data exporting to debugfs

Damien Lespiau (2):
  drm/i915: Rename intel_wa_registers with a i915_ prefix
  drm/i915: Don't restrict i915_wa_registers to BDW

 drivers/gpu/drm/i915/i915_debugfs.c     |  42 ++++++---
 drivers/gpu/drm/i915/i915_drv.h         |  14 ---
 drivers/gpu/drm/i915/intel_ringbuffer.c | 162 ++++++++++++++------------------
 drivers/gpu/drm/i915/intel_ringbuffer.h |   8 ++
 4 files changed, 107 insertions(+), 119 deletions(-)

-- 
2.0.4

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

end of thread, other threads:[~2014-09-02  9:56 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-01 13:28 [PATCH 0/4] Rework workaround init fn for BDW and CHV Arun Siluvery
2014-09-01 13:28 ` [PATCH 1/4] drm/i915: Rework workaround init functions " Arun Siluvery
2014-09-02  9:14   ` [PATCH v2] " Arun Siluvery
2014-09-02  9:45     ` Damien Lespiau
2014-09-02  9:49       ` Damien Lespiau
2014-09-02  9:51       ` Chris Wilson
2014-09-01 13:28 ` [PATCH 2/4] drm/i915: Rename intel_wa_registers with a i915_ prefix Arun Siluvery
2014-09-01 13:28 ` [PATCH 3/4] drm/i915: Don't restrict i915_wa_registers to BDW Arun Siluvery
2014-09-01 13:28 ` [PATCH 4/4] drm/i915: Rework workaround data exporting to debugfs Arun Siluvery
2014-09-01 14:06   ` Damien Lespiau
2014-09-01 14:45     ` Siluvery, Arun
2014-09-01 15:04       ` Damien Lespiau
2014-09-02  9:15   ` [PATCH v2] " Arun Siluvery
2014-09-02  9:56     ` Daniel Vetter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.