radeon hd4650 problem

Robert Noland rnoland at FreeBSD.org
Sun Mar 21 18:24:01 UTC 2010


On Sun, 2010-03-21 at 17:06 +0100, beni wrote:
> On Sunday 21 March 2010 14:36:11 Robert Noland wrote:
> > On Sun, 2010-03-21 at 10:10 +0100, beni wrote:
> > > On Saturday 20 March 2010 17:25:26 Robert Noland wrote:
> > > > On Sat, 2010-03-20 at 17:12 +0100, beni wrote:
> > > > > > Ok, you are effected by the overlapping map issue, (at least in the
> > > > > > forced pci case).  I think this may also be the issue in AGP mode.
> > > > > >
> > > > > > You can try this patch, hopefully it will still apply cleanly. 
> > > > > > Please try using the radeon driver and both AGP and PCI modes.
> > > > > >
> > > > > > http://people.freebsd.org/~rnoland/drm-radeon-8-test.patch
> > > > >
> > > > > Thanks, but probably a silly question : what file do i patch
> > 
> > Ok, it's a little tricky to generate a patch of just the drm changes,
> > but here goes...
> > 
> > http://people.freebsd.org/~rnoland/drm-rel8-to-stable8-dev.patch
> > http://people.freebsd.org/~rnoland/drm-rel8-to-stable8-moules.patch
> > 
> > cd /usr/src/sys/dev/drm
> > patch -p0 -s -i drm-rel8-to-stable8-dev.patch
> > cd /usr/src/sys/modules/drm
> > patch -p0 -s -i drm-rel8-to-stable8-modules.patch
> > 
> > Then you should be able to apply the previous patch... Note that this
> > should also get you 3D support in the process...
> > 
> Your patches applied like a charm Robert ! Thanks a lot. But... when i "cd 
> /usr/src/sys/modules" and do a "make all install", i get this :
> 
> ===> drm (all)
> ===> drm/drm (all)
> Warning: Object directory not changed from original 
> /usr/src/sys/modules/drm/drm
> cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   -
> I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --
> param large-function-growth=1000 -fno-common  -mno-align-long-strings -
> mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 
> -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -
> Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -
> Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-
> extensions -c /usr/src/sys/modules/drm/drm/../../../dev/drm/ati_pcigart.c
> In file included from 
> /usr/src/sys/modules/drm/drm/../../../dev/drm/ati_pcigart.c:37:
> @/dev/drm/drmP.h:722: error: expected '=', ',', ';', 'asm' or '__attribute__' 
> before 'drm_mmap'
> *** Error code 1

Argh... you don't have d_mmap2 either...  It would really be much easier
to just update to 8-STABLE I think....

robert.

> Stop in /usr/src/sys/modules/drm/drm.
> *** Error code 1
> 
> Stop in /usr/src/sys/modules/drm.
> *** Error code 1
> 
> Stop in /usr/src/sys/modules.
> root at bsdaddict#
> 
> I suppose i have to rebuild those modules to get the patches in (and that the 
> "make all install" is the correct way to rebuild the modules).
-- 
Robert Noland <rnoland at FreeBSD.org>
FreeBSD



More information about the freebsd-x11 mailing list