All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Wilson <chris@chris-wilson.co.uk>
To: Domenico Andreoli <cavokz@gmail.com>, torvalds@linux-foundation.org
Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
	alexdeucher@gmail.com, airlied@linux.ie
Subject: Re: Linux 2.6.37-rc6
Date: Thu, 16 Dec 2010 20:37:03 +0000	[thread overview]
Message-ID: <5b55a1$ivkrie@fmsmga002.fm.intel.com> (raw)
In-Reply-To: <20101216173011.GA2689@vixen>

On Thu, 16 Dec 2010 18:30:11 +0100, Domenico Andreoli <cavokz@gmail.com> wrote:
> Hi,
> 
> On Wed, Dec 15, 2010 at 07:10:28PM -0800, ext Linus Torvalds wrote:
> > 
> > Go forth and test. And please do remember to ping bugzilla (or
> > developers) about any regressions you find, whether new or old.
> 
> I have some problem with i945, display remains blank. I also tried
> adding i915.modeset=0 but nothing changed. Machine is well alive and
> responds to basic commands like Ctrl+Alt+F1 and Ctrl+Alt+Del but I have
> not other machine to enter via network.

If i915.modeset=0 doesn't restore the display then something is extremely
fishy. Do you see any console output before the i915.ko is loaded?

> [    1.284262] [drm] Initialized drm 1.1.0 20060810
> [    1.284334] i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
> [    1.485212] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
> [    1.485642] [drm] initialized overlay support
> [    2.526011] No connectors reported connected with modes
> [    2.526053] [drm] Cannot find any crtc or sizes - going 1024x768

The issue appears to be that no outputs are being detected. I presume that
you have instead a VGA connected to the box and that the regression is in
fact e7dbb2f2. If I'm guessing rightly:

diff --git a/drivers/gpu/drm/i915/intel_crt.c
b/drivers/gpu/drm/i915/intel_crt.c
index 8df5743..14c276e 100644
--- a/drivers/gpu/drm/i915/intel_crt.c
+++ b/drivers/gpu/drm/i915/intel_crt.c
@@ -148,7 +148,9 @@ static void intel_crt_mode_set(struct drm_encoder *encoder,
                           dpll_md & ~DPLL_MD_UDI_MULTIPLIER_MASK);
        }
 
-       adpa = ADPA_HOTPLUG_BITS;
+       adpa = 0;
+       if (INTEL_INFO(dev)->gen >= 4)
+               adpa |= ADPA_HOTPLUG_BITS;
        if (adjusted_mode->flags & DRM_MODE_FLAG_PHSYNC)
                adpa |= ADPA_HSYNC_ACTIVE_HIGH;
        if (adjusted_mode->flags & DRM_MODE_FLAG_PVSYNC)

-- 
Chris Wilson, Intel Open Source Technology Centre

  reply	other threads:[~2010-12-16 20:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-16  3:10 Linux 2.6.37-rc6 Linus Torvalds
2010-12-16 17:30 ` Domenico Andreoli
2010-12-16 20:37   ` Chris Wilson [this message]
2010-12-17 12:24     ` Domenico Andreoli

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='5b55a1$ivkrie@fmsmga002.fm.intel.com' \
    --to=chris@chris-wilson.co.uk \
    --cc=airlied@linux.ie \
    --cc=alexdeucher@gmail.com \
    --cc=cavokz@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.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 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.