On Tue, Aug 05, 2014 at 02:41:54PM +0100, Damien Lespiau wrote:
> On Tue, Aug 05, 2014 at 08:47:54AM -0500, Jeff McGee wrote:
> > > > +
> > > > +       /* Copy SSEU info to the const device info with pointer magic */
> > > > +       *(struct intel_sseu_info *)&dev_priv->info.sseu = sseu_info;
> > > 
> > > I've thought gcc just does a memcpy for plain strut assignments, i.e.
> > > 
> > > + dev_priv->info.sseu = sseu_info;
> 
> That's what we have intel_device_info_runtime_init(), the SSEU init
> function should be called from there.
> 
> -- 
> Damien

Agree. I will move the call to intel_device_info_runtime_init().
-Jeff
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to