Re: [PATCH v5] drm/i915 : Added Programming of the MOCS

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

 



On Thu, 2015-06-18 at 16:50 +0100, Damien Lespiau wrote:
> On Thu, Jun 18, 2015 at 03:45:44PM +0100, Antoine, Peter wrote:
> > Not a blocker. It gets a little more interesting, as the L3CC
> > registers are shared across all engines, but is only saved in the RCS
> > context. But, it is reset on the context switch when ELSP is set. So
> > we would have to program it (i.e. MMIO) and also set it in the batch
> > start for the RCS. Each ring would have to have a proper
> > init_context() and these registers programmed there.
> 
> Hum, so yes, it's like you say. I think leaving a comment somewhere in
> the init path telling us we rely on the RCS init_context() for all the
> rings would be nice, but that's extra topping that can be done any time.
> 
It is in the file header for the mocs.h in the comment before the table
is defines and in the function header for the init. I can add another
one before it's called, but that might be a little overkill. :)
_______________________________________________
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