From: Tony Lindgren <tony@atomide.com>
To: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: linux-omap@vger.kernel.org, dri-devel@lists.freedesktop.org,
Aaro Koskinen <aaro.koskinen@iki.fi>
Subject: Re: No /dev/fb0 created for omapdrm in current Linux next
Date: Wed, 25 Oct 2017 10:40:30 -0700 [thread overview]
Message-ID: <20171025174029.GR4394@atomide.com> (raw)
In-Reply-To: <5da5e7f2-a030-96b4-4277-9b9434df8543@ti.com>
* Tomi Valkeinen <tomi.valkeinen@ti.com> [171023 00:34]:
> On 20/10/17 20:09, Tony Lindgren wrote:
>
> > # lsmod
> > Module Size Used by
> > omapdrm 69632 0
> > drm_kms_helper 163840 1 omapdrm
> > cfbfillrect 16384 1 drm_kms_helper
> > syscopyarea 16384 1 drm_kms_helper
> > cfbimgblt 16384 1 drm_kms_helper
> > sysfillrect 16384 1 drm_kms_helper
> > sysimgblt 16384 1 drm_kms_helper
> > fb_sys_fops 16384 1 drm_kms_helper
> > cfbcopyarea 16384 1 drm_kms_helper
> > drm 364544 2 omapdrm,drm_kms_helper
> > panel_sony_acx565akm 16384 0
> > omapdss 192512 1
> > omapdss_base 24576 3 panel_sony_acx565akm,omapdrm,omapdss
> > tsc2005 16384 0
> > tsc200x_core 16384 1 tsc2005
> > twl4030_keypad 16384 0
> > matrix_keymap 16384 1 twl4030_keypad
> > rtc_twl 16384 1
> > twl4030_wdt 16384 0
> >
> > Am I missing some module now?
>
> omapdrm takes a ref to the panel module when it's in use, and
> panel_sony_acx565akm has refcount of 0. So for some reason the display
> setup has not been done, or it's been deferred.
>
> I think you're missing connector_analog_tv
> (CONFIG_DRM_OMAP_CONNECTOR_ANALOG_TV).
>
> I just tried beagleboard, it seems to work ok on next.
Sorry for the delay in replying, finally got around to trying this
again.
Your are totally right, connector_analog_tv needs to be loaded.
My updated test script below for reference.
Regards,
Tony
8< ------------------------
#!/bin/sh
modprobe twl4030_keypad
modprobe tsc2005
modprobe omapdss
modprobe panel_sony_acx565akm
modprobe connector_analog_tv
modprobe omapdrm
echo 255 > /sys/class/backlight/acx565akm/brightness
echo 0 > /sys/class/graphics/fb0/blank
echo 1 > /sys/class/graphics/fb0/blank
echo 0 > /sys/class/graphics/fb0/blank
/sbin/agetty --noclear tty1 linux &
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
prev parent reply other threads:[~2017-10-25 17:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-19 16:30 No /dev/fb0 created for omapdrm in current Linux next Tony Lindgren
2017-10-20 6:12 ` Tomi Valkeinen
2017-10-20 17:09 ` Tony Lindgren
2017-10-23 7:33 ` Tomi Valkeinen
2017-10-25 17:40 ` Tony Lindgren [this message]
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=20171025174029.GR4394@atomide.com \
--to=tony@atomide.com \
--cc=aaro.koskinen@iki.fi \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-omap@vger.kernel.org \
--cc=tomi.valkeinen@ti.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;
as well as URLs for NNTP newsgroup(s).