From 23e30f7246c63984049ea7e441519cde67f1587a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Tue, 12 Apr 2016 18:18:43 +0900 Subject: [PATCH xf86-video-ati] Explicitly set the fbcon pixmap pitch again MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The kernel driver returns 0 as the pitch of the fbcon BO via the DRM_RADEON_GEM_GET_TILING ioctl. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94901 --- src/drmmode_display.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/drmmode_display.c b/src/drmmode_display.c index 4c66ca7..bf0db4c 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -401,6 +401,8 @@ create_pixmap_for_fbcon(drmmode_ptr drmmode, pixmap = drmmode_create_bo_pixmap(pScrn, fbcon->width, fbcon->height, fbcon->depth, fbcon->bpp, bo, NULL); + pScrn->pScreen->ModifyPixmapHeader(pixmap, -1, -1, -1, -1, + fbcon->pitch, NULL); info->fbcon_pixmap = pixmap; radeon_bo_unref(bo); out_free_fb: -- 2.8.0.rc3