summaryrefslogtreecommitdiff
path: root/src/radeon_kms.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/radeon_kms.c')
-rw-r--r--src/radeon_kms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_kms.c b/src/radeon_kms.c
index f5699a28..61d6419b 100644
--- a/src/radeon_kms.c
+++ b/src/radeon_kms.c
@@ -1453,7 +1453,7 @@ static Bool radeon_setup_kernel_mem(ScreenPtr pScreen)
radeon_bo_set_tiling(info->front_bo, tiling_flags, pitch);
}
- info->CurrentLayout.displayWidth = pScrn->displayWidth = pitch / cpp;
+ pScrn->displayWidth = pitch / cpp;
xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Front buffer size: %dK\n", info->front_bo->size/1024);
radeon_kms_update_vram_limit(pScrn, screen_size);