[Intel-gfx] [PATCH] drm/i915: Move golden context init into ->init_context

Daniel Vetter daniel at ffwll.ch
Mon Dec 8 06:19:23 PST 2014


On Mon, Dec 08, 2014 at 01:51:01PM +0000, Dave Gordon wrote:
> On 02/12/14 15:19, Daniel Vetter wrote:
> > Similar to a patch from Thomas Daniel for lrc contexts. This keeps
> > both sides somewhat in sync and should make Dave Gordon happy.
> > 
> > Note that both the wa and the golden context init code suffer a bit
> > from an inssuficient split into driver load and hw init code. Which
> > means we have a bunch of tests all over the place to check whether the
> > one-time initialization has been done already or not.
> > 
> > All that one-tim code should be moved into the one-time ring setup
> > code, but that's work for later.
> > 
> > Cc: Dave Gordon <david.s.gordon at intel.com>
> > Cc: Thomas Daniel <thomas.daniel at intel.com>
> > Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
> > ---
> >  drivers/gpu/drm/i915/i915_gem_context.c |  4 ----
> >  drivers/gpu/drm/i915/intel_ringbuffer.c | 18 +++++++++++++++++-
> >  2 files changed, 17 insertions(+), 5 deletions(-)
> 
> LGTM :)
> Reviewed-by: Dave Gordon <david.s.gordon at intel.com>

Queued for -next, thanks for the review.
-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