On 2010.09.16 13:10:29 +0800, Xiang, Haihao wrote:
> > Or can't that be done in init function by using advance_ring?
> advance_ring uses ring->tail to set TAIL register, i965_reset() also
> invokes ring->init() to re-init ring buffer, how to guarantee ring->tail
> is 0? BTW advance_ring can be implemented as set_tail(dev, ring->tail).
> 

oh, that's bad, not only just for render ring, but ring tail should
always be inited correctly, not just in static variable..

-- 
Open Source Technology Center, Intel ltd.

$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to