Re: [Intel-gfx] [PATCH] support tiled rendering in 2D driver

2009-01-27 Thread Eric Anholt
On Sat, 2009-01-24 at 11:01 -0800, Jesse Barnes wrote: > On Friday, January 23, 2009 4:24 pm Eric Anholt wrote: > > > +/** > > > + * On some chips, pitch width has to be a power of two tile width, so > > > + * calculate that here. > > > + */ > > > +unsigned long > > > +I830GetFencePitch(I830Ptr pI8

Re: [Intel-gfx] [PATCH] support tiled rendering in 2D driver

2009-01-26 Thread Jesse Barnes
On Monday, January 26, 2009 5:14 pm Jesse Barnes wrote: > On Friday, January 23, 2009 5:57 pm Eric Anholt wrote: > > On Fri, 2009-01-23 at 16:24 -0800, Eric Anholt wrote: > > > On Fri, 2009-01-23 at 14:15 -0800, Jesse Barnes wrote: > > > > Set alignments, tile settings and flags correctly in the 2D

Re: [Intel-gfx] [PATCH] support tiled rendering in 2D driver

2009-01-26 Thread Jesse Barnes
On Friday, January 23, 2009 5:57 pm Eric Anholt wrote: > On Fri, 2009-01-23 at 16:24 -0800, Eric Anholt wrote: > > On Fri, 2009-01-23 at 14:15 -0800, Jesse Barnes wrote: > > > Set alignments, tile settings and flags correctly in the 2D driver to > > > support tiled rendering. UXA's create pixmap f

Re: [Intel-gfx] [PATCH] support tiled rendering in 2D driver

2009-01-24 Thread Jesse Barnes
On Friday, January 23, 2009 4:24 pm Eric Anholt wrote: > > +/** > > + * On some chips, pitch width has to be a power of two tile width, so > > + * calculate that here. > > + */ > > +unsigned long > > +I830GetFencePitch(I830Ptr pI830, unsigned long pitch, int format) > > DeathToStudlyCaps() Yeah so

Re: [Intel-gfx] [PATCH] support tiled rendering in 2D driver

2009-01-23 Thread Eric Anholt
On Fri, 2009-01-23 at 16:24 -0800, Eric Anholt wrote: > On Fri, 2009-01-23 at 14:15 -0800, Jesse Barnes wrote: > > Set alignments, tile settings and flags correctly in the 2D driver to > > support > > tiled rendering. UXA's create pixmap function currently assumes the worst > > about the alignmen

Re: [Intel-gfx] [PATCH] support tiled rendering in 2D driver

2009-01-23 Thread Eric Anholt
On Fri, 2009-01-23 at 14:15 -0800, Jesse Barnes wrote: > Set alignments, tile settings and flags correctly in the 2D driver to support > tiled rendering. UXA's create pixmap function currently assumes the worst > about the alignment constraints; that should probably be fixed. Some of the > 1M ali

[PATCH] support tiled rendering in 2D driver

2009-01-23 Thread Jesse Barnes
Set alignments, tile settings and flags correctly in the 2D driver to support tiled rendering. UXA's create pixmap function currently assumes the worst about the alignment constraints; that should probably be fixed. Some of the 1M alignment fixes could probably be done more cleanly as well. --