Mailinglist Archive: radeonhd (145 mails)

< Previous Next >
Re: [radeonhd] Re: Initial Radeon R6xx/R7xx acceleration support pushed
  • From: "Alex Deucher" <alexdeucher@xxxxxxxxx>
  • Date: Tue, 30 Dec 2008 10:43:32 -0500
  • Message-id: <a728f9f90812300743r1e043e3ah71307a6d1c8294a7@xxxxxxxxxxxxxx>
On Tue, Dec 30, 2008 at 7:07 AM, Christian König
<deathsimple@xxxxxxxxxxx> wrote:
Hi Alex,

first of all: A very big THANK YOU to everybody involved.

Ok, now to the hard work getting this up and running:
Radeonhd won't even compile after i checked out the r6xx-r7xx-support
branch. Digging into it i found that gcc is complaining about function
declaration and definition mismatch in r600_state.h and r6xx_accel.c.

When i take a look into r600_state.h i can see prototypes for a bunch of
inline functions:
inline void e32(drmBufPtr ib, uint32_t dword);
inline void efloat(drmBufPtr ib, float f);
inline void pack3(drmBufPtr ib, int cmd, unsigned num);
inline void pack0 (drmBufPtr ib, uint32_t reg, int num);
inline void ereg (drmBufPtr ib, uint32_t reg, uint32_t val);

I don't really know why gcc is complaining about a declaration mismatch
here, but after moving those functions into the header file and
commenting out draw_immd in the header file the code seems to compile
fine. I'm using gcc version 4.3.2 with X.Org X Server 1.5.99.3. Both
from Ubuntu Jaunty (9.04 Beta). A patch with my changes to radeonhd
sources is attached, hoping this will help cleaning up the code a little
bit.

This should be fixed in git.

Alex
--
To unsubscribe, e-mail: radeonhd+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: radeonhd+help@xxxxxxxxxxxx

< Previous Next >