Re: [PATCH 2/2] drm/i915/chv: Implement SSEU info for CHV

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

 



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
_______________________________________________
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