From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Bigga - Software Subject: Re: Problem: drm/gma500_gfx on fit-pc2 shows only half of the screen Date: Sat, 28 Jan 2012 22:23:37 +0100 Message-ID: <20120128212337.GA2298@ab-fit> References: <20120128195506.GA2369@ab-fit> <20120128203750.73f211ad@bob.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail.bytecamp.net (mail.bytecamp.net [212.204.60.9]) by gabe.freedesktop.org (Postfix) with ESMTP id 9FF059E765 for ; Sat, 28 Jan 2012 13:23:39 -0800 (PST) Content-Disposition: inline In-Reply-To: <20120128203750.73f211ad@bob.linux.org.uk> 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: Alan Cox Cc: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org Hi Alan, On Sat, Jan 28, 2012 at 20:37:50 +0000, you wrote: > 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; Ok. I commented the code above and replaced it with the two lines. Correct? > and see if that fixes it. Unfortunately not :-( It's the same behaviour. > If so I know what is going on. And if not? ;-) Alexander -- Alexander Bigga PGP Key: http://linux.bigga.de/contact/