[Intel-gfx] [PATCH] drm/i915: fix tiling on IGDNG
Keith Packard
keithp at keithp.com
Tue Sep 1 18:19:04 CEST 2009
On Tue, 2009-09-01 at 08:41 -0700, Jesse Barnes wrote:
> > - if (!IS_I9XX(dev)) {
> > + if (IS_IGDNG(dev)) {
> > + /* On IGDNG whatever DRAM config, GPU always do
> > + * same swizzling setup.
> > + */
> > + swizzle_x = I915_BIT_6_SWIZZLE_9_10;
> > + swizzle_y = I915_BIT_6_SWIZZLE_9;
> > + } else if (!IS_I9XX(dev)) {
>
> This doesn't seem equivalent... shouldn't it be if (IS_IGDNG(dev)
> || !IS_9XX)?
This puts the IGDNG code above the old 9XX code -- see the else if at
the end of this sequence.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20090901/0b4b361e/attachment.sig>
More information about the Intel-gfx
mailing list