PCI rework
Michel Dänzer
michel at tungstengraphics.com
Tue May 2 01:06:11 PDT 2006
On Mon, 2006-05-01 at 12:20 -0700, Jesse Barnes wrote:
> On Monday, May 1, 2006 12:08 pm, Mark Kettenis wrote:
>
> > Anothor major flaw in the libpciaccess interface is that it doesn't
> > allow the caller to specify a size for the mapping. This is
> > important, since a video driver might want to map only part of a
> > region.
>
> I can see how that might be useful in some cases, but I think we'll need
> examples to justify adding the feature to the interface. Do you have
> any concrete ones?
Not sure if it matters for this discussion, but the radeon driver can't
always map the full size of a BAR, and sometimes it wants to have a
single mapping across two BARs to cover all of video RAM.
--
Earthling Michel Dänzer | http://tungstengraphics.com
Libre software enthusiast | Debian, X and DRI developer
More information about the xorg
mailing list