No /dev/fb0 created for omapdrm in current Linux next
Tony Lindgren
tony at atomide.com
Wed Oct 25 17:40:30 UTC 2017
* Tomi Valkeinen <tomi.valkeinen at 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 &
More information about the dri-devel
mailing list