cvs commit: src/sys/dev/drm drm_bufs.h
maxim at macomnet.ru
Wed Mar 2 15:45:03 GMT 2005
On Mon, 28 Feb 2005, 16:23-0500, John Baldwin wrote:
> On Friday 25 February 2005 02:35 am, Maxim Konovalov wrote:
> > On Tue, 22 Feb 2005, 13:56-0000, Poul-Henning Kamp wrote:
> > > phk 2005-02-22 13:56:15 UTC
> > >
> > > FreeBSD src repository
> > >
> > > Modified files:
> > > sys/dev/drm drm_bufs.h
> > > Log:
> > > Neuter DRM(mapbufs) until somebody finds time to try to fix it.
> > >
> > > It is _never_ OK to find a vnode from a struct cdev because you have
> > > no way of telling if you get the right one. You might be in jail or
> > > chroot for instance.
> > Thankyou for breaking my workstation and only development machine,
> > radeon(4) doesn't work now.
> > How and who is going to fix this?
> I have a patch to allow vm_mmap() to operate on a cdev directly. It fixed X
> for my laptop with a mobility 7500 radeon. This is an older version, I've
> changed the interface locally to not use a MAP_CDEV flag, but I haven't
> tested that yet and this is a known-working version. :)
Great, works for me, thanks!
More information about the cvs-src