[Letux-kernel] regression: drm/omapdrm: Move commit_modeset_enables() before commit_planes()

H. Nikolaus Schaller hns at goldelico.com
Sat Apr 15 10:17:23 CEST 2017


Hi Andreas,
I tried to test the serdev-w2sg0004 driver but it was not configured.

As soon as I did set CONFIG_SERIAL_DEV_CTRL_TTYPORT=y the w2sg driver seems to work
(with some other Kernel Warning about some duplicate /sysfs file), but now I get the
exactly same display error symptoms as you have

- a while flickering horizontal stripe near the top of the screen
- and: [drm:omap_crtc_error_irq] *ERROR* lcd: errors:

[   14.220001] omapdrm omapdrm.0: DMM not available, disable DMM support
[   14.239074] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[   14.239074] [drm] No driver support for vblank timestamp query.
[   14.240722] omapdrm omapdrm.0: Tiled buffers require DMM
[   16.632476] (NULL device *): hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[   16.632873] bq27000-battery bq27000-battery: support ver. 1.2.0 enabled
[   18.327758] [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004422
[   18.328124] [drm:omap_irq_handler [omapdrm]] *ERROR* FIFO underflow on vid1 (0x00000400)
[   18.328186] [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004400
[   18.328247] [drm:omap_irq_handler [omapdrm]] *ERROR* FIFO underflow on vid1 (0x00000400)
[   18.329101] Console: switching to colour frame buffer device 60x40
[   18.335815] [drm:omap_irq_handler [omapdrm]] *ERROR* FIFO underflow on vid1 (0x00000400)
[   18.335968] [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004022
[   18.335998] [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
[   18.336029] [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
[   18.336059] [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
[   18.336090] [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
[   18.336120] [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
[   18.336151] [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
[   18.336181] [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000

All this long before X11 starts. So now I have the same error on my screen :)

And it looks as if serdev support changes something in the init sequence.

BR,
Nikolaus

> Am 15.04.2017 um 09:44 schrieb Andreas Kemnade <andreas at kemnade.info>:
> 
> Hi Jyri,
> 
> I am often seeing only some moving horizontal white strips (maybe 1-2
> pixels thick) when I boot my gta04 (omap 3 dm3730 + panel_tpo_td028ttec1
> + encoder_opa362).
> 
> After a git bisect session, the verdict is: this patch is guilthy:
> 
> commit 897145d0c7010b4e07fa9bc674b1dfb9a2c6fff9
> Author: Jyri Sarha <jsarha at ti.com>
> 
>    drm/omapdrm: Move commit_modeset_enables() before commit_planes()
> 
> 
> dmesg output:
> [   58.580932] devm_usb_get_phy_by_node(ee69fc10 48070000.i2c:twl at 48:bci, ef7e63a4 twl4030-usb, ee7f1320)
> [   58.609344] twl4030-usb : hsusb2_phy
> [   58.613372] twl4030-usb : twl4030-usb
> [   58.617462] phy = ed083210
> [   58.630493] omapdss_dss 48050000.dss: 48050000.dss supply vdda_video not found, using dummy regulator
> [   58.648345] OMAP DSS rev 2.0
> [   58.652893] omapdss_dss 48050000.dss: bound 48050400.dispc (ops dispc_component_ops [omapdss])
> [   58.663543] omapdss_dss 48050000.dss: bound 48050c00.encoder (ops venc_component_ops [omapdss])
> [   58.674804] devm_usb_get_phy_by_node(ee69fc10 48070000.i2c:twl at 48:bci, ef7e63a4 twl4030-usb, ee7f1320)
> [   58.674835] twl4030-usb : hsusb2_phy
> [   58.674835] twl4030-usb : twl4030-usb
> [   58.674835] phy = ed083210
> [   58.698516] devm_usb_get_phy_by_node(ee69fc10 48070000.i2c:twl at 48:bci, ef7e63a4 twl4030-usb, ee7f1320)
> [   58.717620] twl4030-usb : hsusb2_phy
> [   58.721527] twl4030-usb : twl4030-usb
> [   58.725463] phy = ed083210
> [   58.837219] not all displays probed (0 of 2)
> [   58.878845] connector-analog-tv connector: failed to find video source
> [   58.920532] devm_usb_get_phy_by_node(ee69fc10 48070000.i2c:twl at 48:bci, ef7e63a4 twl4030-usb, ee7f1520)
> [   58.946228] twl4030-usb : hsusb2_phy
> [   58.950073] twl4030-usb : twl4030-usb
> [   58.954010] phy = ed083210
> [   58.988098] not all displays probed (1 of 2)
> [   58.994537] devm_usb_get_phy_by_node(ee69fc10 48070000.i2c:twl at 48:bci, ef7e63a4 twl4030-usb, ee7f1520)
> [   59.025512] twl4030-usb : hsusb2_phy
> [   59.029846] twl4030-usb : twl4030-usb
> [   59.033752] phy = ed083210
> [   59.082489] omapdrm omapdrm.0: DMM not available, disable DMM support
> [   59.092346] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
> [   59.100158] [drm] No driver support for vblank timestamp query.
> [   59.237670] [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004022
> [   59.238525] Console: switching to colour frame buffer device 60x40
> [   59.241729] [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004020
> [   59.241760] [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
> [   59.241790] [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
> [   59.241821] [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
> [   59.241851] [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
> [   59.241882] [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
> [   59.241912] [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
> [   59.241943] [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
> [   59.241973] [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
> [   59.350646] random: crng init done
> [   61.143005] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
> [   64.139465] [drm] Initialized omapdrm 1.0.0 20110917 for omapdrm.0 on minor 0
> [   64.235809] omap_crtc_error_irq: 276178 callbacks suppressed
> [   64.251525] [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
> [   64.268096] [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004022
> [   64.284729] [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004022
> [   64.301544] [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004022
> [   64.318603] [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004022
> [   64.335723] [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004022
> [   64.352905] [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004022
> [   64.370086] [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004022
> [   64.387298] [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004022
> [   64.404479] [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004022
> 
> 
> related modules loaded:
> panel_tpo_td028ttec1 encoder_opa362 connector_analog_tv omapdrm
> drm_kms_helper cfbfillrect syscopyarea cfbimgblt sysfillrect sysimgblt
> fb_sys_fops cfbcopyarea drm omapdss
> 
> Note: this seems also to depend on initialisation timings. I have
> used a shell script as init to load the modules piece by piece.
> 
> Regards,
> Andreas
> _______________________________________________
> http://projects.goldelico.com/p/gta04-kernel/
> Letux-kernel mailing list
> Letux-kernel at openphoenux.org
> http://lists.goldelico.com/mailman/listinfo.cgi/letux-kernel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.goldelico.com/pipermail/letux-kernel/attachments/20170415/b5ba051a/attachment-0001.asc>


More information about the Letux-kernel mailing list