[Intel-gfx] [PATCH 3/4] drm/i915: Build workaround list in ring initialization

Daniel Vetter daniel at ffwll.ch
Tue Oct 21 14:52:55 CEST 2014


On Mon, Oct 20, 2014 at 05:13:45PM +0100, Siluvery, Arun wrote:
> On 07/10/2014 15:21, Mika Kuoppala wrote:
> >If we build the workaround list in ring initialization
> >and decouple it from the actual writing of values, we
> >gain the ability to decide where and how we want to apply
> >the values.
> >
> >The advantage of this will become more clear when
> >we need to initialize workarounds on older gens where
> >it is not possible to write all the registers through ring
> >LRIs.
> >
> >v2: rebase on newest bdw workarounds
> >
> >Cc: Arun Siluvery <arun.siluvery at linux.intel.com>
> >Cc: Damien Lespiau <damien.lespiau at intel.com>
> >Signed-off-by: Mika Kuoppala <mika.kuoppala at intel.com>
> >---
> >  drivers/gpu/drm/i915/i915_debugfs.c     |  20 ++--
> >  drivers/gpu/drm/i915/i915_drv.h         |  28 ++---
> >  drivers/gpu/drm/i915/intel_ringbuffer.c | 185 ++++++++++++++++++--------------
> >  3 files changed, 130 insertions(+), 103 deletions(-)
> 
> Hi Daniel,
> 
> Patches 3, 4 in this series are independent of the first two.
> Could you please pull-in these patches?

Thanks for the pointer, both patches merged. I did frob the whitespace a
bit on patch 3 though to satisfy my ocd ;-)

Cheers, Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch



More information about the Intel-gfx mailing list