mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: "Guido Günther" <agx@sigxcpu.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Black screen with gma500_gfx on 3.6.2
Date: Mon, 22 Oct 2012 15:39:36 +0100	[thread overview]
Message-ID: <20121022153936.455ac8f8@pyramind.ukuu.org.uk> (raw)
In-Reply-To: <20121021115625.GA2535@bogon.sigxcpu.org>

> [  689.950596] gma500 0000:00:02.0: Backlight lvds set brightness 7a127a12
> [  689.950627] [drm] Initialized gma500 1.0.0 2011-06-06 for 0000:00:02.0 on minor 0

It's got the LVDS configured it seems and the brightness was already set
up. That should be harmless.

> Besides the VGA the driver detects a LVDS as well although there's none
> attached (the board does have a connector for it though):

Ok so it finds both ports which is what I would expect

> # grep -l ^connected /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-*/status
> /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-LVDS-1/status
> /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-VGA-1/status

This means it found there was a VGA port and from
psb_intel_sdvo_output_setup called psb_intel_sdvo_analog_init.

> 
> It also states that both ports are disabled:

Which would explain the black screen.

> 
> # cat   /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-*/enabled
> disabled
> disabled
> 
> I didn't find a way to enable any of these ports via sysfs and X.org's
> modesetting driver fails either. Any pointers on howto debug this
> further are greatly appreciated.

My first guess would be that the detection of the VGA failed. That would
explain all your symptoms and since it relies on the firmware...

First thing to do is turn drm debug on in full and you should then get a
dump of the SDVO capabilities, particulary output_flags as well as an
entry giving the clock range etc if it initialized it ok.

Alan

  reply	other threads:[~2012-10-22 14:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-21 11:56 Guido Günther
2012-10-22 14:39 ` Alan Cox [this message]
2012-10-29 15:35   ` Guido Günther

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=20121022153936.455ac8f8@pyramind.ukuu.org.uk \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=agx@sigxcpu.org \
    --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

all inboxes | Powered by JetHome®