Skip to content

Commit

Permalink
drm/i915: fix typo in compressed buffer setup
Browse files Browse the repository at this point in the history
We want the compressed line length buffer address, not the framebuffer
address.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
  • Loading branch information
Jesse Barnes committed Sep 17, 2009
1 parent 7e61615 commit 6f465a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/i915/i915_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6f465a8

Please sign in to comment.