drm/i915: fix typo in compressed buffer setup
We want the compressed line length buffer address, not the framebuffer
address.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c
index 5a6b731..7a73b29 100644
--- a/drivers/gpu/drm/i915/i915_dma.c
+++ b/drivers/gpu/drm/i915/i915_dma.c
@@ -1125,7 +1125,7 @@
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;