[Intel-gfx] [PATCH 2/2] drm/i915/bdw: Setup global hardware status page in execlists mode

Daniel, Thomas thomas.daniel at intel.com
Fri Oct 24 10:30:56 CEST 2014



> -----Original Message-----
> From: Daniel Vetter [mailto:daniel.vetter at ffwll.ch] On Behalf Of Daniel
> Vetter
> Sent: Friday, October 24, 2014 9:15 AM
> To: Daniel, Thomas
> Cc: intel-gfx at lists.freedesktop.org; shuang.he at linux.intel.com
> Subject: Re: [Intel-gfx] [PATCH 2/2] drm/i915/bdw: Setup global hardware
> status page in execlists mode
> So every time a random new contexts gets created we write a new value into
> the HWS_PGA register? Shouldn't this only be done when we set up the
> default/system context?
The write is inside an if(ctx == ring->default_ctx) block.
We only write when the default context is created.

Thomas.

> -Daniel
> 
> >  	}
> >
> >  	if (ring->id == RCS && !ctx->rcs_initialized) {
> > --
> > 1.7.9.5
> >
> > _______________________________________________
> > Intel-gfx mailing list
> > Intel-gfx at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/intel-gfx
> 
> --
> Daniel Vetter
> Software Engineer, Intel Corporation
> +41 (0) 79 365 57 48 - http://blog.ffwll.ch



More information about the Intel-gfx mailing list