From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Cox Subject: Re: Problem: drm/gma500_gfx on fit-pc2 shows only half of the screen Date: Sat, 28 Jan 2012 20:37:50 +0000 Message-ID: <20120128203750.73f211ad@bob.linux.org.uk> References: <20120128195506.GA2369@ab-fit> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id C6D3C9E8D5 for ; Sat, 28 Jan 2012 12:24:11 -0800 (PST) In-Reply-To: <20120128195506.GA2369@ab-fit> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Alexander Bigga - Software Cc: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org > top half of the screen after booting on my fit-pc2 [1]. The bottom > half keeps the last output of the console. During booting the console > is shown on the complete screen in the correct monitor resolution. I have an idea what that is actually and I've seen similar on Fedora I think Can you do the following. In gma500/framebuffer.c find the code that reads info->flags = FBINFO_DEFAULT; if (dev_priv->ops->accel_2d && pitch_lines > 8) /* 2D engine */ info->fbops = &psbfb_ops; else if (gtt_roll) { /* GTT rolling seems best */ info->fbops = &psbfb_roll_ops; info->flags |= FBINFO_HWACCEL_YPAN; } else /* Software */ info->fbops = &psbfb_unaccel_ops; and change it to read info->flags = FBINFO_DEFAULT; info->fbops = &psbfb_unaccel_ops; and see if that fixes it. If so I know what is going on. Alan