Re: Why video region busy?

Martin Mares (mj@suse.cz)
Thu, 16 Dec 1999 11:24:56 +0100


Hello,

> > I would like to grab this region using request_mem_region, but it is
> > universally marked busy for all x86 kernels. :(
>
> Indeed.
>
> Because the PC spec _says_ it is busy, exactly for video cards.
>
> I initially marked only the "regular" video card region busy (the part
> that was handled by the text-mode driver), but it quickly became apparent
> that in order to make dynamic area allocation work for things like PCMCIA
> we had to mark the whole video area busy.

I would prefer the setup code defining the region, but not marking it as
allocated, so that it will be correctly avoided when searching for free address
space, but the video drivers will be able to allocate just the parts they need.

Have a nice fortnight

-- 
Martin `MJ' Mares <mj@ucw.cz> <mj@suse.cz> http://atrey.karlin.mff.cuni.cz/~mj/
"A bug in the code is worth two in the documentation."

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/