public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: arrow.ebd@gmail.com
To: linux_kernel <linux-kernel@vger.kernel.org>
Subject: thinkpad x200 X.server not work with gm4500 graphics
Date: Mon, 10 Nov 2008 23:25:18 +0800	[thread overview]
Message-ID: <20081110152518.GA3545@think> (raw)

deal,

    My thinkpad x200's X.server can not startup on the kernel 2.6.28,
and dmesg will show as below:
    -->>--
    [drm] Initialized drm 1.1.0 20060810
    pci 0000:00:02.0: power state changed by ACPI to D0
    pci 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    pci 0000:00:02.0: setting latency timer to 64
    [drm] Initialized i915 1.6.0 20060119 on minor 0
    pci 0000:00:02.0: pg_start == 0x00001f7f, intel_private.gtt_entries == 0x00001fff
    pci 0000:00:02.0: trying to insert into local/stolen memory
    --<<--

    Then, I change file "drivers/char/agp/intel-agp.c" as this:
    -->>--
    --diff --git a/drivers/char/agp/intel-agp.c b/drivers/char/agp/intel-agp.c
    index 9cf6e9b..e681f75 100644
    --- a/drivers/char/agp/intel-agp.c
    +++ b/drivers/char/agp/intel-agp.c
    @@ -528,7 +528,8 @@ static void intel_i830_init_gtt_entries(void)
                     * stolen, ignore it in stolen gtt entries counting.  However,
                     * 4KB of the stolen memory doesn't get mapped to the GTT.
                     */
    -               size = 4;
    +               /* size = 4; */
    +               size = 516;
            } else {
                    /* On previous hardware, the GTT size was just what was
                     * required to map the aperture.
    --<<--

    And Xorg can start now.
(1) Is it correct ?
    Because older kernel use size as "512 + 4" at here, but now use "size = 4".
(2) How to deal with it if the patch is not right ?
(3) How to get more specification about gm4500 ?

             reply	other threads:[~2008-11-10 15:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-10 15:25 arrow.ebd [this message]
2008-11-11  8:46 ` thinkpad x200 X.server not work with gm4500 graphics Andrew Morton
2008-11-11  8:50   ` Dave Airlie
2008-11-12 21:53     ` arrow.ebd
2008-11-12 21:41   ` arrow.ebd

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=20081110152518.GA3545@think \
    --to=arrow.ebd@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox