Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Mar 2010 17:06:58 +0100
From:      beni <beni@brinckman.info>
To:        Robert Noland <rnoland@freebsd.org>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: radeon hd4650 problem
Message-ID:  <201003211706.58246.beni@brinckman.info>
In-Reply-To: <1269178571.2548.6.camel@balrog.2hip.net>
References:  <201003141732.01968.beni@brinckman.info> <201003211010.24031.beni@brinckman.info> <1269178571.2548.6.camel@balrog.2hip.net>

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

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@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).
-- 
Beni.



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