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>
This commit is contained in:
Jesse Barnes 2009-09-17 14:22:44 -07:00
parent 7e61615857
commit 6f465a8925
1 changed files with 1 additions and 1 deletions

View 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;