Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Mar 2005 18:45:01 +0300 (MSK)
From:      Maxim Konovalov <maxim@macomnet.ru>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/drm drm_bufs.h
Message-ID:  <20050302184430.Q95699@mp2.macomnet.net>
In-Reply-To: <200502281623.29703.jhb@FreeBSD.org>
References:  <200502221356.j1MDuFVH041926@repoman.freebsd.org> <20050225102649.H16332@mp2.macomnet.net> <200502281623.29703.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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!

-- 
Maxim Konovalov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050302184430.Q95699>