[Letux-kernel] Display GTA04 broken with letux-5.7-rc1

H. Nikolaus Schaller hns at goldelico.com
Fri Apr 17 16:59:19 CEST 2020


> Am 17.04.2020 um 07:56 schrieb Andreas Kemnade <andreas at kemnade.info>:
> 
> On Thu, 16 Apr 2020 23:06:07 +0200
> "H. Nikolaus Schaller" <hns at goldelico.com> wrote:
> 
>>> Am 16.04.2020 um 22:23 schrieb Andreas Kemnade <andreas at kemnade.info>:
>>> 
>>> On Wed, 15 Apr 2020 19:20:45 +0200
>>> "H. Nikolaus Schaller" <hns at goldelico.com> wrote:
>>> 
>>>> There has been some switching in omapdss to omapdrm
>>>> and configs have changed. Besides that I see this
>>>> error:
>>>> 
>>>> [   28.567840] [drm:simple_bridge_attach [simple_bridge]] *ERROR* Fix bridge driver to make connector optional!
>>>> [   28.567871] omapdrm omapdrm.0: unable to attach bridge /ocp at 68000000/dss at 48050000/encoder at 48050c00
>>>> [   28.786529] omapdrm omapdrm.0: omap_modeset_init failed: ret=-22
>>>> [   28.841552] omapdrm: probe of omapdrm.0 failed with error -22
>>>> 
>>>> This seems to be the reason why I don't get an active
>>>> display.
>>>> 
>>> hmm, where is the encoder-opa driver?  
>> 
>> I think it should be part of simple_bridge... At least that one is compatible.
>> But I do not understand its code.
>> 
> now I have seen it. But I also see this:
> 
> [  118.541503] WARNING: CPU: 0 PID: 5 at drivers/gpu/drm/bridge/panel.c:176 drm_panel_bridge_add+0x30/0x3c [drm_kms_helper]
> [  118.553314] Modules linked in: bmp280_spi snd_soc_simple_card snd_soc_simple_card_utils snd_soc_omap_twl4030 pwm_omap_dmtimer snd_soc_gtm601 display_connectory
> [  118.620391] CPU: 0 PID: 5 Comm: kworker/0:0 Tainted: G        W         5.7.0-rc1-letux #3
> [  118.629089] Hardware name: Generic OMAP36xx (Flattened Device Tree)
> [  118.635681] Workqueue: events deferred_probe_work_func
> [  118.641113] [<c010f05c>] (unwind_backtrace) from [<c010a434>] (show_stack+0x10/0x14)
> [  118.649261] [<c010a434>] (show_stack) from [<c046f830>] (dump_stack+0x88/0xa8)
> [  118.656890] [<c046f830>] (dump_stack) from [<c01300c4>] (__warn+0xcc/0xe8)
> [  118.664123] [<c01300c4>] (__warn) from [<c0130480>] (warn_slowpath_fmt+0x74/0xa0)
> [  118.672058] [<c0130480>] (warn_slowpath_fmt) from [<bf15dde4>] (drm_panel_bridge_add+0x30/0x3c [drm_kms_helper])
> [  118.682830] [<bf15dde4>] (drm_panel_bridge_add [drm_kms_helper]) from [<bf08f8e8>] (omapdss_device_init_output+0xb8/0x7d0 [omapdss_base])
> [  118.695983] [<bf08f8e8>] (omapdss_device_init_output [omapdss_base]) from [<bf0e13d4>] (dpi_init_port+0x1f4/0x264 [omapdss])
> [  118.707916] [<bf0e13d4>] (dpi_init_port [omapdss]) from [<bf0d9300>] (dss_probe+0x498/0x534 [omapdss])
> [  118.717773] [<bf0d9300>] (dss_probe [omapdss]) from [<c0560684>] (platform_drv_probe+0x48/0x94)
> [  118.726928] [<c0560684>] (platform_drv_probe) from [<c055e8dc>] (really_probe+0x1f8/0x318)
> [  118.735626] [<c055e8dc>] (really_probe) from [<c055ec80>] (driver_probe_device+0x13c/0x154)
> [  118.744415] [<c055ec80>] (driver_probe_device) from [<c055cf28>] (bus_for_each_drv+0xa0/0xb4)
> [  118.753387] [<c055cf28>] (bus_for_each_drv) from [<c055eaa8>] (__device_attach+0xac/0x124)
> [  118.762084] [<c055eaa8>] (__device_attach) from [<c055db74>] (bus_probe_device+0x28/0x80)
> [  118.770690] [<c055db74>] (bus_probe_device) from [<c055e244>] (deferred_probe_work_func+0x6c/0x88)
> [  118.780090] [<c055e244>] (deferred_probe_work_func) from [<c0148868>] (process_one_work+0x1f4/0x358)
> [  118.789703] [<c0148868>] (process_one_work) from [<c0149300>] (worker_thread+0x234/0x2d8)
> [  118.798309] [<c0149300>] (worker_thread) from [<c014de4c>] (kthread+0x140/0x14c)
> [  118.806091] [<c014de4c>] (kthread) from [<c0100148>] (ret_from_fork+0x14/0x2c)

This seems to be gone with Laurent's patches.

I still have the which Stefan did also see on the OpenPandora (slightly different), but it is not a (or the) display issue.

[   33.758941] ------------[ cut here ]------------
[   33.763916] WARNING: CPU: 0 PID: 1066 at drivers/base/dd.c:270 driver_deferred_probe_check_state+0x44/0x5c
[   33.778869] VAUX3: disabling
[   33.782989] VDAC: disabling
[   33.789642] omap3isp 480bc000.isp: deferred probe timeout, ignoring dependency
[   33.789672] Modules linked in:
[   33.801574] wlan-en-regulator: disabling
[   33.812561]  cfg80211 libarc4 cmac bnep panel_tpo_td028ttec1 pps_gpio snd_soc_simple_card snd_soc_simple_card_utils snd_soc_omap_twl4030 pps_core simple_bridge wwan_on_off snd_soc_w2cbw003_bt pwm_omap_dmtimer display_connector pwm_bl generic_adc_battery snd_soc_gtm601 omap3_isp omap_aes_driver videobuf2_dma_contig crypto_engine videobuf2_memops omap_crypto omap_sham videobuf2_v4l2 videobuf2_common wlcore_sdio bq27xxx_battery_hdq bq27xxx_battery bmp280_spi omap2430 omap_hdq bmp280_i2c bmp280 ov9655 bmg160_i2c bmg160_core v4l2_fwnode at24 leds_tca6507 videodev tsc2007 bmc150_magn_i2c bmc150_accel_i2c mc bmc150_magn bmc150_accel_core bno055 industrialio_triggered_buffer kfifo_buf snd_soc_si47xx snd_soc_omap_mcbsp snd_soc_ti_sdma phy_twl4030_usb musb_hdrc hci_uart btbcm snd_soc_twl4030 twl4030_vibra twl4030_madc twl4030_charger twl4030_pwrbutton industrialio input_polldev gnss_sirf bluetooth gnss ecdh_generic ecc ehci_omap omapdss omapdss_base drm_kms_helper syscopyarea sysfillrect sysimgblt
[   33.812957]  fb_sys_fops drm drm_panel_orientation_quirks cec ip_tables x_tables ipv6 nf_defrag_ipv6 autofs4
[   33.921966] CPU: 0 PID: 1066 Comm: kworker/0:2 Not tainted 5.7.0-rc1-letux+ #2495
[   33.929901] Hardware name: Generic OMAP36xx (Flattened Device Tree)
[   33.936584] Workqueue: events deferred_probe_work_func
[   33.942077] [<c010f1f4>] (unwind_backtrace) from [<c010a7c8>] (show_stack+0x10/0x14)
[   33.950317] [<c010a7c8>] (show_stack) from [<c047dc44>] (dump_stack+0x88/0xa8)
[   33.957977] [<c047dc44>] (dump_stack) from [<c0130a64>] (__warn+0xc8/0xf4)
[   33.965270] [<c0130a64>] (__warn) from [<c0130b00>] (warn_slowpath_fmt+0x70/0x9c)
[   33.973205] [<c0130b00>] (warn_slowpath_fmt) from [<c056ff20>] (driver_deferred_probe_check_state+0x44/0x5c)
[   33.983642] [<c056ff20>] (driver_deferred_probe_check_state) from [<c05646b0>] (of_iommu_configure+0x98/0x1b4)
[   33.994232] [<c05646b0>] (of_iommu_configure) from [<c06ddf54>] (of_dma_configure+0x1d8/0x234)
[   34.003356] [<c06ddf54>] (of_dma_configure) from [<c0570148>] (really_probe+0x104/0x324)
[   34.011932] [<c0570148>] (really_probe) from [<c05705b8>] (driver_probe_device+0x10c/0x154)
[   34.020782] [<c05705b8>] (driver_probe_device) from [<c056e884>] (bus_for_each_drv+0x90/0xb8)
[   34.029846] [<c056e884>] (bus_for_each_drv) from [<c05703f8>] (__device_attach+0x90/0x120)
[   34.038574] [<c05703f8>] (__device_attach) from [<c056f4b8>] (bus_probe_device+0x28/0x80)
[   34.047271] [<c056f4b8>] (bus_probe_device) from [<c056f940>] (deferred_probe_work_func+0x5c/0x80)
[   34.056762] [<c056f940>] (deferred_probe_work_func) from [<c0149dd0>] (process_one_work+0x1e4/0x394)
[   34.066436] [<c0149dd0>] (process_one_work) from [<c0149fa8>] (process_scheduled_works+0x28/0x30)
[   34.075836] [<c0149fa8>] (process_scheduled_works) from [<c014a49c>] (worker_thread+0x210/0x2d8)
[   34.085144] [<c014a49c>] (worker_thread) from [<c014ed30>] (kthread+0x138/0x148)
[   34.092987] [<c014ed30>] (kthread) from [<c0100148>] (ret_from_fork+0x14/0x2c)
[   34.100616] Exception stack(0xeece7fb0 to 0xeece7ff8)
[   34.105987] 7fa0:                                     00000000 00000000 00000000 00000000
[   34.114654] 7fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   34.123321] 7fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[   34.145782] wwan_on_off_rfkill_set_block: blocked: 1
[   34.151062] wwan_on_off_set_power:on = 0
[   34.165496] ---[ end trace 5621fb88f38b71a4 ]---


BR,
Nikolaus



More information about the Letux-kernel mailing list