From: Maarten Maathuis Subject: Re: RFC: gallium/nv50: get rid of the screen_init stateobj Date: Sun, 14 Mar 2010 13:03:39 +0100 Message-ID: <6d4bc9fc1003140503v724e572t342136e72c8cc164@mail.gmail.com> References: <4B9CBB24.60202@student.tuwien.ac.at> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <4B9CBB24.60202-oe7qfRrRQffzPE21tAIdciO7C/xPubJB@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: Christoph Bumiller Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org On Sun, Mar 14, 2010 at 11:32 AM, Christoph Bumiller wrote: > Hi. > There's not much to say here, just replacing the screen_init > stateobj with direct pushbuffer emission. > > We don't need to store all the usless state from init, and the > constant buffer relocations which currently don't work if the > addresses change (because the method CB_DEF_SET isn't > among them (not an address)) become effective. > > Thoughts, ack / nack ? > Thanks, > =A0Christoph > > > _______________________________________________ > Nouveau mailing list > Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org > http://lists.freedesktop.org/mailman/listinfo/nouveau > > Perhaps add a BEGIN_RING_RELOC to libdrm? To make it more obvious. Maarten.