strange behavior on Radeon 7000/VE

Alex Deucher alexdeucher at gmail.com
Tue Jun 24 17:32:30 PDT 2008


On Tue, Jun 24, 2008 at 6:15 PM, karpi <karpi.lists at email.cz> wrote:
>
> So.. iv'e just upgraded to:
> mesa-7.1_rc1
> xorg-server-1.4.2
>
> but unfortunaelly xf86-video-ati-6.8.0-r1 does not compile with this
> configuration.. .(
>
>
>   radeon_accelfuncs.c: In function
>   'RADEONSetupForMono8x8PatternFillMMIO':
>   radeon_accelfuncs.c:551: error: 'pattern' undeclared (first use in this function)
>   radeon_accelfuncs.c:551: error: (Each undeclared identifier is reported only once
>   radeon_accelfuncs.c:551: error: for each function it appears in.)
>   In file included from radeon_accel.c:437:
>   radeon_accelfuncs.c: In function 'RADEONSetupForMono8x8PatternFillCP':
>   radeon_accelfuncs.c:551: error: 'pattern' undeclared (first use in this function)
>   make[2]: *** [radeon_accel.lo] Error 1
>   make[2]: *** Waiting for unfinished jobs....
>    i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./AtomBios/includes -Wall -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/drm -I/usr/include/X11/dri -DDISABLE_EASF -DENABLE_ALL_SERVICE_FUNCTIONS -DATOM_BIOS -DATOM_BIOS_PARSER -DFGL_LINUX -DDRIVER_PARSER -march=athlon-xp -O2 -pipe -MT radeon_cursor.lo -MD -MP -MF .deps/radeon_cursor.Tpo -c radeon_cursor.c  -fPIC -DPIC -o .libs/radeon_cursor.o
>   make[2]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-ati-6.8.0-r1/work/xf86-video-ati-6.8.0/src'
>   make[1]: *** [all-recursive] Error 1
>   make[1]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-ati-6.8.0-r1/work/xf86-video-ati-6.8.0'
>   make: *** [all] Error 2
>
> but this ..heh.. ugh.. patch solved this (yes, im really not a
> programmer more likelly butcher .) :
>
>   --- src/radeon_accelfuncs.c  2008-01-12 21:48:59.000000000 +0100
>   +++ /F/radeon_accelfuncs.c   2008-06-24 23:58:24.000000000 +0200
>   @@ -551,2 +551,2 @@
>   -    OUT_ACCEL_REG(RADEON_BRUSH_DATA0,        *(CARD32 *)(pointer)&pattern[0]);
>   -    OUT_ACCEL_REG(RADEON_BRUSH_DATA1,        *(CARD32 *)(pointer)&pattern[4]);
>   +/*    OUT_ACCEL_REG(RADEON_BRUSH_DATA0,        *(CARD32 *)(pointer)&pattern[0]);
>   +    OUT_ACCEL_REG(RADEON_BRUSH_DATA1,        *(CARD32 *)(pointer)&pattern[4]);*/
>
> ..now driver compilled sucessfully a obediently works - meanwhile .o)
> (btw blender works fine now)
>

Something's up with your build environment.  looks like X_BYTE_ORDER
is not getting set correctly.

Alex


More information about the xorg-driver-ati mailing list