summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_dma.c
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2009-09-17 14:22:44 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-09-17 14:22:44 -0700
commit6f465a8925016633891f5bf030f9c37036529b39 (patch)
tree7c5e6075366efd8b79ffaac5de217c8b4323e061 /drivers/gpu/drm/i915/i915_dma.c
parent7e61615857c6fb3afbcb43f5c4e97511a923f5a8 (diff)
downloadop-kernel-dev-6f465a8925016633891f5bf030f9c37036529b39.zip
op-kernel-dev-6f465a8925016633891f5bf030f9c37036529b39.tar.gz
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>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_dma.c')
-rw-r--r--drivers/gpu/drm/i915/i915_dma.c2
1 files changed, 1 insertions, 1 deletions
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 @@ 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;
OpenPOWER on IntegriCloud