On Tue, 2005-01-18 at 14:22 +1100, Benjamin Herrenschmidt wrote:
> On Fri, 2005-01-14 at 12:23 -0500, Michel DÃnzer wrote:
> > On Fri, 2005-01-14 at 16:34 +0100, Jerome Glisse wrote:
> > >
> > > Anyway i wanted to ask mesa folks how to make a real
> > > proper patch. The fact is that INREG & OUTRE
On Fri, 2005-01-14 at 12:23 -0500, Michel Dänzer wrote:
> On Fri, 2005-01-14 at 16:34 +0100, Jerome Glisse wrote:
> >
> > Anyway i wanted to ask mesa folks how to make a real
> > proper patch. The fact is that INREG & OUTREG in
> > server/radeon_macros.h have to do endian swapping.
> > Moreover th
> For example, there are two copies of register aperture one with low-endian
> translation and one with big-endian.
That isn't necessary. I don't think there is overhead using the
endian-swapping versions of load & store instructions, and you need
specific macros anyways since you absolutely need
On Sat, 2005-01-15 at 18:55 +0100, Jerome Glisse wrote:
> On Sat, 15 Jan 2005 12:22:24 -0500 (EST), Vladimir Dergachev
> <[EMAIL PROTECTED]> wrote:
> > >>
> > >> #define R300_SURFACE_CNTL 0xb00
> > >> # define R300_SURFACE_TRANSLATION_DISABLE (1<<8) /* this is
> > >> default */
> > >>
On Sat, 15 Jan 2005 12:22:24 -0500 (EST), Vladimir Dergachev
<[EMAIL PROTECTED]> wrote:
> >>
> >> From radeon_reg.h:
> >>
> >> #define RADEON_HOST_PATH_CNTL 0x0130
> >> # define RADEON_HDP_SOFT_RESET(1 << 26)
> >>
> >> You also need to add the following to the header:
>
On Fri, 2005-01-14 at 20:04 -0500, Vladimir Dergachev wrote:
>
> One idea/suggestion that I had for a long while is to not correct for
> endianness in software but rather use a feature of Radeon cards where
> several apertures are available.
>
> For example, there are two copies of register ape
On Fri, 14 Jan 2005 20:04:48 -0500 (EST), Vladimir Dergachev
<[EMAIL PROTECTED]> wrote:
>
>
> On Fri, 14 Jan 2005, Jerome Glisse wrote:
>
> On Fri, 2005-01-14 at 16:34 +0100, Jerome Glisse wrote:
> >
> > Anyway i wanted to ask mesa folks how to make a real
> > proper patch. The
On Fri, 14 Jan 2005, Jerome Glisse wrote:
On Fri, 2005-01-14 at 16:34 +0100, Jerome Glisse wrote:
Anyway i wanted to ask mesa folks how to make a real
proper patch. The fact is that INREG & OUTREG in
server/radeon_macros.h have to do endian swapping.
Moreover the swapping is only needed for r300,
On Fri, 2005-01-14 at 19:51 +0100, Jerome Glisse wrote:
>
> > > I will try your patch but i bet it works.
> > > I am agree too that this should not be in driver specifique but how to
> > > handle the r300 case properly on ppc ?
> >
> > There's no 'r300 case'. This will be the same for all Radeons
On Fri, 2005-01-14 at 18:48 +0100, Jerome Glisse wrote:
> On Fri, 14 Jan 2005 12:23:50 -0500, Michel DÃnzer <[EMAIL PROTECTED]> wrote:
> > On Fri, 2005-01-14 at 16:34 +0100, Jerome Glisse wrote:
> > >
> > > Anyway i wanted to ask mesa folks how to make a real
> > > proper patch. The fact is that IN
On Fri, 2005-01-14 at 16:34 +0100, Jerome Glisse wrote:
>
> Anyway i wanted to ask mesa folks how to make a real
> proper patch. The fact is that INREG & OUTREG in
> server/radeon_macros.h have to do endian swapping.
> Moreover the swapping is only needed for r300, isn't it ?
> So do we need to ha
> > > On Fri, 2005-01-14 at 16:34 +0100, Jerome Glisse wrote:
> > > >
> > > > Anyway i wanted to ask mesa folks how to make a real
> > > > proper patch. The fact is that INREG & OUTREG in
> > > > server/radeon_macros.h have to do endian swapping.
> > > > Moreover the swapping is only needed for r30
Hi Jerome,
I tried glxgears, nehe lessons (5,6,7), and a couple screen savers. They
all drew inside the window, only thing a noticed was on lessons 6 & 7
textures were red, not sure if thats how the current driver was
displaying them to begin with, since I was just getting "static" looking
texture
>Hi Jerome,
>
>I tried glxgears, nehe lessons (5,6,7), and a couple screen savers. They
>all drew inside the window, only thing a noticed was on lessons 6 & 7
>textures were red, not sure if thats how the current driver was
>displaying them to begin with, since I was just getting "static" looking
>
On Fri, 14 Jan 2005 12:23:50 -0500, Michel Dänzer <[EMAIL PROTECTED]> wrote:
> On Fri, 2005-01-14 at 16:34 +0100, Jerome Glisse wrote:
> >
> > Anyway i wanted to ask mesa folks how to make a real
> > proper patch. The fact is that INREG & OUTREG in
> > server/radeon_macros.h have to do endian swapp
Hi,
So with the patch attached r300 dri work on PPC :)
The vertex buffer & co still not work (at least do not seems)
Putting anything to 0x2140 do no seems to change anythings
but as my own copy became a mess i will retry this.
Anyway i wanted to ask mesa folks how to make a real
proper patch. The
16 matches
Mail list logo