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 5a6b731..7a73b29 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;