Re: MTRR setting and framebuffer driver

Jeff Garzik (jgarzik@pobox.com)
Mon, 13 Sep 1999 21:23:48 -0400


Jamie Lokier wrote:
> I would like either vesafb, or the MTRR driver to realise that this
> 2.5MB region is a sub-region of the 4MB region that won't be used by
> anything else, so it is safe to allocate a 4MB write-combining MTRR.
>
> Richard, is this possible now that we have the resource tree to examine?
> Perhaps it is possible to generically permit rounding an MTRR range,
> provided the extra address space is not used in the resource tree, and
> if this condition changes in the tree, to remove the MTRR.

IMHO this should be done in vesafb, possibly based on the value passed
to __request_region().

Jeff

-- 
Custom driver development	|    Never worry about theory as long
Open source programming		|    as the machinery does what it's
				|    supposed to do.  -- R. A. Heinlein

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