]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Respect GM965/GM45 bit-17-instead-of-bit-11 option for swizzling.
authorEric Anholt <eric@anholt.net>
Tue, 25 Nov 2008 22:02:05 +0000 (14:02 -0800)
committerDave Airlie <airlied@redhat.com>
Thu, 4 Dec 2008 01:21:41 +0000 (11:21 +1000)
commit9c5f856e7e7aa172f2f7e1bc8e6d3d07e244a3cf
treed68e3746e42691d910321594d6e302557382765d
parent04aaae7092d235f1cc412c8f839a05d46b4c183b
drm/i915: Respect GM965/GM45 bit-17-instead-of-bit-11 option for swizzling.

This fixes readpixels and buffer corruption when swapped out and in by
disabling tiling on them.

Now that we know that the bit 17 mode isn't just a mistake of older chipsets,
we'll need to work on a clever fix so that we can get the performance of
tiling on these chipsets, but that will require intrusive changes targeted
at the next kernel release, not this one.

Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/i915/i915_gem_tiling.c
drivers/gpu/drm/i915/i915_reg.h