dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Tomi Valkeinen <tomi.valkeinen@ti.com>
To: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: Tony Lindgren <tony@atomide.com>,
	linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
	Peter Ujfalusi <peter.ujfalusi@ti.com>,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	linux-omap@vger.kernel.org
Subject: Re: [BISECTED, REGRESSION] v4.12-rc: omapdrm fails to probe on Nokia N900
Date: Fri, 30 Jun 2017 12:02:48 +0300	[thread overview]
Message-ID: <5bc9976e-228c-5cba-c2ae-bfc5135f17a0@ti.com> (raw)
In-Reply-To: <20170630085851.j5apctivufhmhp64@darkstar.musicnaut.iki.fi>


[-- Attachment #1.1.1: Type: text/plain, Size: 1558 bytes --]

On 30/06/17 11:58, Aaro Koskinen wrote:
> Hi,
> 
> On Fri, Jun 30, 2017 at 09:41:35AM +0300, Tomi Valkeinen wrote:
>> On 29/06/17 21:50, Aaro Koskinen wrote:
>>> On Thu, Jun 15, 2017 at 09:51:06AM +0300, Tomi Valkeinen wrote:
>>>> On 15/06/17 01:11, Aaro Koskinen wrote:
>>>>> When booting v4.12-rc5 on Nokia N900, omapdrm fails to probe and there
>>>>> is no display.
>>>>
>>>> Are you sure it doesn't probe? It fails the omapdss_stack_is_ready()
>>>> check?
>>>
>>> It appears the reason was that I didn't have
>>> CONFIG_DRM_OMAP_CONNECTOR_ANALOG_TV enabled.
>>>
>>> I think that's wrong. I don't own an analog TV, so why should I enable
>>> such option to get device's built-in display working?
>>
>> Indeed. Unfortunately I don't have a solution for that.
>>
>> DRM doesn't support adding devices after probe. So at omapdrm probe time
>> we have to decide which displays to use. In the dts file, n900 defines
>> the lcd and analog tv. omapdrm sees those, and, of course, must wait
>> until their respective drivers have probed. If you don't have the
>> display driver enabled, it's never loaded and omapdrm never probes as it
>> keeps waiting for those.
> 
> Could you at least print some kind of message early in the boot ("omapdrm
> is waiting for drivers for display x and y")?

That could be quite spammy. omapdrm will defer probe if the displays are
not present, and the deferred probing machinery will then cause a new
omapdrm probe later. That can happen a lot of times before the drivers
are there.

 Tomi


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  reply	other threads:[~2017-06-30  9:03 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-14 22:11 [BISECTED, REGRESSION] v4.12-rc: omapdrm fails to probe on Nokia N900 Aaro Koskinen
2017-06-15  6:51 ` Tomi Valkeinen
2017-06-18 21:31   ` Aaro Koskinen
2017-06-29 18:50   ` Aaro Koskinen
2017-06-29 19:12     ` Aaro Koskinen
2017-06-30  5:52     ` Tony Lindgren
2017-06-30  6:41     ` Tomi Valkeinen
2017-06-30  8:47       ` Tomi Valkeinen
2017-06-30  9:37         ` Aaro Koskinen
2017-07-21  1:28         ` [BISECTED,REGRESSION] " Clayton Craft
2017-06-30  8:58       ` [BISECTED, REGRESSION] " Aaro Koskinen
2017-06-30  9:02         ` Tomi Valkeinen [this message]
2017-07-04 15:09           ` Pavel Machek
2017-07-31 12:59             ` Tomi Valkeinen
2017-06-30 12:36       ` Daniel Vetter
2017-07-31 13:21         ` Tomi Valkeinen
2017-08-02 10:12           ` Daniel Vetter
2017-08-02 11:54             ` Tomi Valkeinen
2017-08-02 12:08               ` Daniel Vetter
2017-06-15  7:28 ` Peter Ujfalusi
2017-06-18 21:44   ` Aaro Koskinen

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=5bc9976e-228c-5cba-c2ae-bfc5135f17a0@ti.com \
    --to=tomi.valkeinen@ti.com \
    --cc=aaro.koskinen@iki.fi \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=peter.ujfalusi@ti.com \
    --cc=tony@atomide.com \
    /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