]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
drm/i915: fix typo in compressed buffer setup
authorJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 17 Sep 2009 21:22:44 +0000 (14:22 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 17 Sep 2009 21:22:44 +0000 (14:22 -0700)
We want the compressed line length buffer address, not the framebuffer
address.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/gpu/drm/i915/i915_dma.c

index 5a6b731c5529150a7727f6b54cdc5bd9011f0fc9..7a73b2941eb7523fec2da2c2f10769a44abd259a 100644 (file)
@@ -1125,7 +1125,7 @@ static void i915_setup_compression(struct drm_device *dev, int size)
                return;
        }
 
-       compressed_llb = drm_mm_get_block(compressed_fb, 4096, 4096);
+       compressed_llb = drm_mm_get_block(compressed_llb, 4096, 4096);
        if (!compressed_llb) {
                i915_warn_stolen(dev);
                return;