* No /dev/fb0 created for omapdrm in current Linux next
@ 2017-10-19 16:30 Tony Lindgren
2017-10-20 6:12 ` Tomi Valkeinen
0 siblings, 1 reply; 5+ messages in thread
From: Tony Lindgren @ 2017-10-19 16:30 UTC (permalink / raw)
To: Tomi Valkeinen; +Cc: linux-omap, dri-devel
Hi Tomi,
Looks like omapdrm won't show anything with current Linux next based
on my test with 900:
modprobe twl4030_keypad
modprobe tsc2005
modprobe omapdss
modprobe panel_sony_acx565akm
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
# ls -l /dev/fb*
ls: cannot access '/dev/fb*': No such file or directory
Regards,
Tony
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: No /dev/fb0 created for omapdrm in current Linux next
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
0 siblings, 1 reply; 5+ messages in thread
From: Tomi Valkeinen @ 2017-10-20 6:12 UTC (permalink / raw)
To: Tony Lindgren; +Cc: linux-omap, dri-devel
On 19/10/17 19:30, Tony Lindgren wrote:
> Hi Tomi,
>
> Looks like omapdrm won't show anything with current Linux next based
> on my test with 900:
>
> modprobe twl4030_keypad
> modprobe tsc2005
> modprobe omapdss
> modprobe panel_sony_acx565akm
> 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
>
> # ls -l /dev/fb*
> ls: cannot access '/dev/fb*': No such file or directory
What does the bootlog say?
I tried x15 on next. I see
BUG: using smp_processor_id() in preemptible [00000000] code: swapper/0/1
and
WARNING: possible circular locking dependency detected
But I don't think those affect DSS.
I see cma allocs failing for many drivers:
cma: cma_alloc: alloc failed, req-size: 1 pages, ret: -16
Which obviously breaks dss...
--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: No /dev/fb0 created for omapdrm in current Linux next
2017-10-20 6:12 ` Tomi Valkeinen
@ 2017-10-20 17:09 ` Tony Lindgren
2017-10-23 7:33 ` Tomi Valkeinen
0 siblings, 1 reply; 5+ messages in thread
From: Tony Lindgren @ 2017-10-20 17:09 UTC (permalink / raw)
To: Tomi Valkeinen; +Cc: linux-omap, dri-devel, Aaro Koskinen
* Tomi Valkeinen <tomi.valkeinen@ti.com> [171019 23:13]:
> On 19/10/17 19:30, Tony Lindgren wrote:
> > Hi Tomi,
> >
> > Looks like omapdrm won't show anything with current Linux next based
> > on my test with 900:
> >
> > modprobe twl4030_keypad
> > modprobe tsc2005
> > modprobe omapdss
> > modprobe panel_sony_acx565akm
> > 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
> >
> > # ls -l /dev/fb*
> > ls: cannot access '/dev/fb*': No such file or directory
It seems to be also happening with current -rc kernels, adding Aaro
to Cc.
> What does the bootlog say?
Not much anything interesting:
twl_rtc 48070000.i2c:twl@48:rtc: Power up reset detected.
twl_rtc 48070000.i2c:twl@48:rtc: Enabling TWL-RTC
twl_rtc 48070000.i2c:twl@48:rtc: rtc core: registered 48070000.i2c:twl@48:rtc as rtc0
input: TWL4030 Keypad as /devices/platform/68000000.ocp/48070000.i2c/i2c-1/1-0048/48070000.i2c:twl@48:keypad/input/input0
tsc2005 spi0.0: GPIO lookup for consumer reset
tsc2005 spi0.0: using device tree for GPIO lookup
of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/ocp@68000000/spi@48098000/tsc2005@0[0]' - status (0)
input: TSC2005 touchscreen as /devices/platform/68000000.ocp/48098000.spi/spi_master/spi0/spi0.0/input/input1
omapdss_dss 48050000.dss: 48050000.dss supply vdda_video not found, using dummy regulator
DSS: OMAP DSS rev 2.0
omapdss_dss 48050000.dss: bound 48050400.dispc (ops dispc_component_ops [omapdss])
omapdss_dss 48050000.dss: bound 48050c00.encoder (ops venc_component_ops [omapdss])
of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/ocp@68000000/spi@48098000/acx565akm@2[0]' - status (0)
acx565akm spi0.2: omapfb: acx565akm rev 8b LCD detected
No output from drm though with the modules loaded:
# 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?
> I tried x15 on next. I see
>
> BUG: using smp_processor_id() in preemptible [00000000] code: swapper/0/1
>
> and
>
> WARNING: possible circular locking dependency detected
>
> But I don't think those affect DSS.
>
> I see cma allocs failing for many drivers:
>
> cma: cma_alloc: alloc failed, req-size: 1 pages, ret: -16
>
> Which obviously breaks dss...
Yeah things seem quite broken in next again :( That cma_alloc issue is
caused by commit c11a39772b51 ("mm: drop migrate type checks from
has_unmovable_pages") and has a fix being discussed at:
https://patchwork.kernel.org/patch/10016595/
But this n900 issue seems to be something different.
Regards,
Tony
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: No /dev/fb0 created for omapdrm in current Linux next
2017-10-20 17:09 ` Tony Lindgren
@ 2017-10-23 7:33 ` Tomi Valkeinen
2017-10-25 17:40 ` Tony Lindgren
0 siblings, 1 reply; 5+ messages in thread
From: Tomi Valkeinen @ 2017-10-23 7:33 UTC (permalink / raw)
To: Tony Lindgren; +Cc: linux-omap, dri-devel, Aaro Koskinen
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.
Tomi
--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: No /dev/fb0 created for omapdrm in current Linux next
2017-10-23 7:33 ` Tomi Valkeinen
@ 2017-10-25 17:40 ` Tony Lindgren
0 siblings, 0 replies; 5+ messages in thread
From: Tony Lindgren @ 2017-10-25 17:40 UTC (permalink / raw)
To: Tomi Valkeinen; +Cc: linux-omap, dri-devel, Aaro Koskinen
* 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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-10-25 17:40 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 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.