From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= Subject: Re: waitforVBlank, how does this even work? Date: Thu, 3 Mar 2005 09:55:59 +0200 Message-ID: <20050303075559.GA7469@sci.fi> References: <9e473391050301215019081bce@mail.gmail.com> <1109806955.5610.129.camel@gaston> <1109816602.5610.153.camel@gaston> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline In-Reply-To: Sender: dri-devel-admin@lists.sourceforge.net Errors-To: dri-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Content-Type: text/plain; charset="iso-8859-1" To: Vladimir Dergachev Cc: Benjamin Herrenschmidt , Jon Smirl , fbdev , DRI developer's list On Wed, Mar 02, 2005 at 10:01:00PM -0500, Vladimir Dergachev wrote: >=20 >=20 > On Thu, 3 Mar 2005, Benjamin Herrenschmidt wrote: >=20 > >On Wed, 2005-03-02 at 20:03 -0500, Vladimir Dergachev wrote: > >> > >>On Thu, 3 Mar 2005, Benjamin Herrenschmidt wrote: > >> > >>> > >>>> > >>>> What about isolating interrupt-handling code into a small drive= r ? > >>>>Something simple to respond to interrupts and call all handlers wit= h a > >>>>certain mask. > >>>> > >>>> This would be useful not only for drm and fbdev but also for km > >>>>(v4l capture module) and stereo-glasses code. > >>>> > >>> > >>>Nope, I don't agree. > >> > >>With which part ? ;) > > > >On having a small stub module that does just IRQs ... I think the base > >module should be the fbdev (mode setting etc...) >=20 > Oh, but I was not suggesting that. I just meant that interrupt handling= =20 > code is self-contained and can easily serve several consumers. I'm with you here. And the same should IMHO hold for DMA handling. And fo= r=20 memory management of course. --=20 Ville Syrj=E4l=E4 syrjala@sci.fi http://www.sci.fi/~syrjala/ ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click --