All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alan Cox <alan@linux.intel.com>
To: Alexander Bigga - Software <linux@bigga.de>
Cc: dri-devel@lists.freedesktop.org
Subject: Re: Problem: drm/gma500_gfx on fit-pc2 shows only half of the screen
Date: Sat, 28 Jan 2012 20:37:50 +0000	[thread overview]
Message-ID: <20120128203750.73f211ad@bob.linux.org.uk> (raw)
In-Reply-To: <20120128195506.GA2369@ab-fit>

> 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

  reply	other threads:[~2012-01-28 20:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-28 19:55 Problem: drm/gma500_gfx on fit-pc2 shows only half of the screen Alexander Bigga - Software
2012-01-28 20:37 ` Alan Cox [this message]
2012-01-28 21:23   ` Alexander Bigga - Software

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120128203750.73f211ad@bob.linux.org.uk \
    --to=alan@linux.intel.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux@bigga.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.