No /dev/fb0 created for omapdrm in current Linux next
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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 11 lines · Tony Lindgren
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
modprobepanel_sony_acx565akm
modprobe omapdrm
Quoted 7 lines
echo 255 >
/sys/class/backlight/acx565akm/brightnessecho 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...
Signature · 6 lines
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 12 lines · Tomi Valkeinen
Quoted 11 lines · Tony Lindgren
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
modprobepanel_sony_acx565akm
modprobe omapdrm
Quoted 7 lines
Quoted 7 lines
echo 255 >
/sys/class/backlight/acx565akm/brightnessecho 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.
Quoted 1 line
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-RTCtwl_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 lookupof_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.0omapdss_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?
Quoted 8 lines
I tried x15 on next. I see
BUG: using smp_processor_id() in preemptible [00000000] code: swapper/0/1and
WARNING: possible circular locking dependency detected
Quoted 7 lines
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: -16Which 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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 22 lines · Tony Lindgren
# 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
Quoted 1 line
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
Signature · 6 lines
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 26 lines · Tomi Valkeinen
Quoted 22 lines · Tony Lindgren
# 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 0Quoted 1 line
Am I missing some module now?
Quoted 8 lines
omapdrm takes a ref to the panel module when it's in use, and
panel_sony_acx565akmhas 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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel