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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> -----Original Message-----
> From: Daniel Vetter [mailto:daniel.vetter@xxxxxxxx] On Behalf Of Daniel
> Vetter
> Sent: Friday, October 24, 2014 9:15 AM
> To: Daniel, Thomas
> Cc: intel-gfx@xxxxxxxxxxxxxxxxxxxxx; shuang.he@xxxxxxxxxxxxxxx
> Subject: Re:  [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@xxxxxxxxxxxxxxxxxxxxx
> > http://lists.freedesktop.org/mailman/listinfo/intel-gfx
> 
> --
> Daniel Vetter
> Software Engineer, Intel Corporation
> +41 (0) 79 365 57 48 - http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux