From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Adam Ford <aford173@gmail.com>
Cc: "H. Nikolaus Schaller" <hns@goldelico.com>,
Tony Lindgren <tony@atomide.com>,
Linux-OMAP <linux-omap@vger.kernel.org>,
Tomi Valkeinen <tomi.valkeinen@ti.com>
Subject: Re: omap3 dss failues on 5.7
Date: Tue, 16 Jun 2020 20:57:43 +0300 [thread overview]
Message-ID: <20200616175743.GC913@pendragon.ideasonboard.com> (raw)
In-Reply-To: <CAHCN7xLK-y7a321ZRyctfCPei+tZijGwQjAn+2Vyzniida7bUA@mail.gmail.com>
Hi Adam,
On Tue, Jun 16, 2020 at 09:53:24AM -0500, Adam Ford wrote:
> On Tue, Jun 16, 2020 at 9:24 AM H. Nikolaus Schaller <hns@goldelico.com> wrote:
> >> Am 13.06.2020 um 04:26 schrieb Adam Ford <aford173@gmail.com>:
> >>
> >> Is anyone else having DSS failures on the 5.7 stable branch using an
> >> omap3 board?
> >
> > The GTA04 omapdss is running on dm3730 and OpenPandora with omap3530.
> >
> > But I also have a problem on omap5 (not yet analysed in any way...).
> >
> >> Thanks for any suggestions. I'll bisect when I have more time.
> >> Am 13.06.2020 um 18:06 schrieb Laurent Pinchart <laurent.pinchart@ideasonboard.com>:
> >>
> >> Hi Tony,
> >>
> >> On Sat, Jun 13, 2020 at 09:02:42AM -0700, Tony Lindgren wrote:
> >>> * Adam Ford <aford173@gmail.com> [200613 02:28]:
> >>>> Is anyone else having DSS failures on the 5.7 stable branch using an
> >>>> omap3 board?
> >>>>
> >>>> I haven't had time to bisect yet, but before I do I thought I'd ask.
> >>>
> >>> Sounds this might be caused by some panel related between v5.6 and v5.7,
> >>> so adding Laurent to Cc.
> >>>
> >>> We also started dropping legacy platform data for some SoCs, but that
> >>> should not affect omap3 so far.
> >>
> >> I think this is caused by the panel driver not setting the connector
> >> type. Only the panel-simple driver should be affected,
> >
> > Both omap3 based devices mentioned above use special panel drivers.
> >
> >> fixing this
> >> should just be a matter of setting
> >>
> >> .connector_type = DRM_MODE_CONNECTOR_DPI
> >>
> >> for the appropriate panel_desc entry.
> >
> > I have another panel in panel-simple where .connector_type is not set.
> > (Haven't tested yet but would assume it fails as well).
> >
> > I wonder why it was not a bulk change for all panel_desc there if it is
> > that important.
>
> I tested Tomi's patch and it fixes the issue with one screen. I
> updated a different panel that we use at Logic PD to enable the same
> flag on a different panel. That also fixed the issue on the second
> LCD.
>
> I don't know if we can do a bulk set or not. I am not sure if all the
> screens need the DPI flag.
That's exactly why the conversion wasn't done in bulk, we don't know if
all the panels that are missing a .connector_type are DPI panel. We need
to get information about every single of them individually, and that was
more work that I could handle at the time.
> >>>> 10.370574] ------------[ cut here ]------------
> >>>> [ 10.375335] WARNING: CPU: 0 PID: 71 at
> >>>> drivers/gpu/drm/bridge/panel.c:176 drm_panel_bridge_add+0x40/0x4c
> >>>> [drm_kms_helper]
> >>>> [ 10.386474] Modules linked in: joydev mousedev evdev leds_gpio
> >>>> pwm_bl panel_simple snd_soc_omap_twl4030 pwm_omap_dmtimer led_class
> >>>> gpio_keys cpufreq_dt snd_soc_omap_mcbsp bq27xxx_battery_hdq
> >>>> snd_soc_ti_sdma bq27xxx_battery omap_wdt omap3_isp
> >>>> videobuf2_dma_contig videobuf2_memops omap_hdq videobuf2_v4l2
> >>>> omap_sham videobuf2_common v4l2_fwnode wire cn hwmon mt9p031
> >>>> aptina_pll phy_twl4030_usb omap_aes_driver omap2430 crypto_engine
> >>>> omap_crypto musb_hdrc hci_uart omap_rng btbcm wlcore_sdio udc_core
> >>>> rng_core videodev omap_mailbox mc usbcore snd_soc_twl4030 twl4030_wdt
> >>>> usb_common watchdog rtc_twl snd_soc_core snd_pcm_dmaengine bluetooth
> >>>> snd_pcm snd_timer twl4030_pwrbutton snd omapdss pwm_twl_led
> >>>> twl4030_charger ecdh_generic soundcore ecc omapdss_base industrialio
> >>>> libaes pwm_twl drm_kms_helper tsc2004 at24 tsc200x_core cfbfillrect
> >>>> omap_ssi syscopyarea cfbimgblt hsi sysfillrect sysimgblt fb_sys_fops
> >>>> cfbcopyarea drm drm_panel_orientation_quirks cec
> >>>> [ 10.470123] CPU: 0 PID: 71 Comm: kworker/0:3 Not tainted 5.7.2-dirty #2
> >>>> [ 10.476776] Hardware name: Generic OMAP36xx (Flattened Device Tree)
> >>>> [ 10.483093] Workqueue: events deferred_probe_work_func
> >>>> [ 10.488281] [<c01119f8>] (unwind_backtrace) from [<c010ba28>]
> >>>> (show_stack+0x10/0x14)
> >>>> [ 10.496063] [<c010ba28>] (show_stack) from [<c054dd30>]
> >>>> (dump_stack+0xc0/0xdc)
> >>>> [ 10.503326] [<c054dd30>] (dump_stack) from [<c01389f4>] (__warn+0xc0/0xf8)
> >>>> [ 10.510223] [<c01389f4>] (__warn) from [<c0138d8c>]
> >>>> (warn_slowpath_fmt+0x5c/0xc0)
> >>>> [ 10.517822] [<c0138d8c>] (warn_slowpath_fmt) from [<bf0d4810>]
> >>>> (drm_panel_bridge_add+0x40/0x4c [drm_kms_helper])
> >>>> [ 10.528106] [<bf0d4810>] (drm_panel_bridge_add [drm_kms_helper])
> >>>> from [<bf1258fc>] (omapdss_device_init_output+0x7c/0x780
> >>>> [omapdss_base])
> >>>> [ 10.540618] [<bf1258fc>] (omapdss_device_init_output
> >>>> [omapdss_base]) from [<bf14aecc>] (dpi_init_port+0x188/0x288
> >>>> [omapdss])
> >>>> [ 10.551971] [<bf14aecc>] (dpi_init_port [omapdss]) from
> >>>> [<bf142240>] (dss_probe+0x29c/0x578 [omapdss])
> >>>> [ 10.561370] [<bf142240>] (dss_probe [omapdss]) from [<c063dd0c>]
> >>>> (platform_drv_probe+0x48/0x98)
> >>>> [ 10.570129] [<c063dd0c>] (platform_drv_probe) from [<c063bce4>]
> >>>> (really_probe+0x1d8/0x344)
> >>>> [ 10.578430] [<c063bce4>] (really_probe) from [<c063bf60>]
> >>>> (driver_probe_device+0x5c/0x164)
> >>>> [ 10.586730] [<c063bf60>] (driver_probe_device) from [<c063a128>]
> >>>> (bus_for_each_drv+0x80/0xcc)
> >>>> [ 10.595306] [<c063a128>] (bus_for_each_drv) from [<c063ba90>]
> >>>> (__device_attach+0xd4/0x148)
> >>>> [ 10.603607] [<c063ba90>] (__device_attach) from [<c063adfc>]
> >>>> (bus_probe_device+0x84/0x8c)
> >>>> [ 10.611816] [<c063adfc>] (bus_probe_device) from [<c063b288>]
> >>>> (deferred_probe_work_func+0x60/0x8c)
> >>>> [ 10.620819] [<c063b288>] (deferred_probe_work_func) from
> >>>> [<c01553b4>] (process_one_work+0x1ec/0x530)
> >>>> [ 10.630004] [<c01553b4>] (process_one_work) from [<c0155728>]
> >>>> (worker_thread+0x30/0x558)
> >>>> [ 10.638153] [<c0155728>] (worker_thread) from [<c015c048>]
> >>>> (kthread+0x134/0x148)
> >>>> [ 10.645568] [<c015c048>] (kthread) from [<c0100168>]
> >>>> (ret_from_fork+0x14/0x2c)
> >>>> [ 10.652832] Exception stack(0xcc84bfb0 to 0xcc84bff8)
> >>>> [ 10.657897] bfa0: 00000000
> >>>> 00000000 00000000 00000000
> >>>> [ 10.666137] bfc0: 00000000 00000000 00000000 00000000 00000000
> >>>> 00000000 00000000 00000000
> >>>> [ 10.674346] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
> >>>> [ 10.681060] ---[ end trace 9571aa0bd994d08b ]---
> >>>> [ 10.967132] cfg80211: Loading compiled-in X.509 certificates for
> >>>> regulatory database
> >>>> [ 11.284881] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
> >>>> [ 11.867645] ------------[ cut here ]------------
> >>>> [ 11.872619] WARNING: CPU: 0 PID: 15 at
> >>>> drivers/gpu/drm/bridge/panel.c:176 drm_panel_bridge_add+0x40/0x4c
> >>>> [drm_kms_helper]
> >>>> [ 11.883819] Modules linked in: wl12xx wlcore mac80211 libarc4
> >>>> sha256_generic libsha256 sha256_arm cfg80211 joydev mousedev evdev
> >>>> leds_gpio pwm_bl panel_simple snd_soc_omap_twl4030 pwm_omap_dmtimer
> >>>> led_class gpio_keys cpufreq_dt snd_soc_omap_mcbsp bq27xxx_battery_hdq
> >>>> snd_soc_ti_sdma bq27xxx_battery omap_wdt omap3_isp
> >>>> videobuf2_dma_contig videobuf2_memops omap_hdq videobuf2_v4l2
> >>>> omap_sham videobuf2_common v4l2_fwnode wire cn hwmon mt9p031
> >>>> aptina_pll phy_twl4030_usb omap_aes_driver omap2430 crypto_engine
> >>>> omap_crypto musb_hdrc hci_uart omap_rng btbcm wlcore_sdio udc_core
> >>>> rng_core videodev omap_mailbox mc usbcore snd_soc_twl4030 twl4030_wdt
> >>>> usb_common watchdog rtc_twl snd_soc_core snd_pcm_dmaengine bluetooth
> >>>> snd_pcm snd_timer twl4030_pwrbutton snd omapdss pwm_twl_led
> >>>> twl4030_charger ecdh_generic soundcore ecc omapdss_base industrialio
> >>>> libaes pwm_twl drm_kms_helper tsc2004 at24 tsc200x_core cfbfillrect
> >>>> omap_ssi syscopyarea cfbimgblt hsi sysfillrect sysimgblt fb_sys_fops
> >>>> cfbcopyarea drm
> >>>> [ 11.884246] drm_panel_orientation_quirks cec
> >>>> [ 11.976013] CPU: 0 PID: 15 Comm: kworker/0:1 Tainted: G W
> >>>> 5.7.2-dirty #2
> >>>> [ 11.984069] Hardware name: Generic OMAP36xx (Flattened Device Tree)
> >>>> [ 11.990417] Workqueue: events deferred_probe_work_func
> >>>> [ 11.995635] [<c01119f8>] (unwind_backtrace) from [<c010ba28>]
> >>>> (show_stack+0x10/0x14)
> >>>> [ 12.003448] [<c010ba28>] (show_stack) from [<c054dd30>]
> >>>> (dump_stack+0xc0/0xdc)
> >>>> [ 12.010742] [<c054dd30>] (dump_stack) from [<c01389f4>] (__warn+0xc0/0xf8)
> >>>> [ 12.017669] [<c01389f4>] (__warn) from [<c0138d8c>]
> >>>> (warn_slowpath_fmt+0x5c/0xc0)
> >>>> [ 12.025360] [<c0138d8c>] (warn_slowpath_fmt) from [<bf0d4810>]
> >>>> (drm_panel_bridge_add+0x40/0x4c [drm_kms_helper])
> >>>> [ 12.035766] [<bf0d4810>] (drm_panel_bridge_add [drm_kms_helper])
> >>>> from [<bf1258fc>] (omapdss_device_init_output+0x7c/0x780
> >>>> [omapdss_base])
> >>>> [ 12.048400] [<bf1258fc>] (omapdss_device_init_output
> >>>> [omapdss_base]) from [<bf14aecc>] (dpi_init_port+0x188/0x288
> >>>> [omapdss])
> >>>> [ 12.059906] [<bf14aecc>] (dpi_init_port [omapdss]) from
> >>>> [<bf142240>] (dss_probe+0x29c/0x578 [omapdss])
> >>>> [ 12.069396] [<bf142240>] (dss_probe [omapdss]) from [<c063dd0c>]
> >>>> (platform_drv_probe+0x48/0x98)
> >>>> [ 12.078186] [<c063dd0c>] (platform_drv_probe) from [<c063bce4>]
> >>>> (really_probe+0x1d8/0x344)
> >>>> [ 12.086517] [<c063bce4>] (really_probe) from [<c063bf60>]
> >>>> (driver_probe_device+0x5c/0x164)
> >>>> [ 12.094848] [<c063bf60>] (driver_probe_device) from [<c063a128>]
> >>>> (bus_for_each_drv+0x80/0xcc)
> >>>> [ 12.103454] [<c063a128>] (bus_for_each_drv) from [<c063ba90>]
> >>>> (__device_attach+0xd4/0x148)
> >>>> [ 12.111785] [<c063ba90>] (__device_attach) from [<c063adfc>]
> >>>> (bus_probe_device+0x84/0x8c)
> >>>> [ 12.120025] [<c063adfc>] (bus_probe_device) from [<c063b288>]
> >>>> (deferred_probe_work_func+0x60/0x8c)
> >>>> [ 12.129058] [<c063b288>] (deferred_probe_work_func) from
> >>>> [<c01553b4>] (process_one_work+0x1ec/0x530)
> >>>> [ 12.138275] [<c01553b4>] (process_one_work) from [<c0155728>]
> >>>> (worker_thread+0x30/0x558)
> >>>> [ 12.146423] [<c0155728>] (worker_thread) from [<c015c048>]
> >>>> (kthread+0x134/0x148)
> >>>> [ 12.153900] [<c015c048>] (kthread) from [<c0100168>]
> >>>> (ret_from_fork+0x14/0x2c)
> >>>> [ 12.161163] Exception stack(0xce1d7fb0 to 0xce1d7ff8)
> >>>> [ 12.166259] 7fa0: 00000000
> >>>> 00000000 00000000 00000000
> >>>> [ 12.174530] 7fc0: 00000000 00000000 00000000 00000000 00000000
> >>>> 00000000 00000000 00000000
> >>>> [ 12.182769] 7fe0: 00000000 00000000 00000000 00000000 00000013 00000000
> >>>> [ 12.189544] ---[ end trace 9571aa0bd994d08c ]---
> >>>>
> >>>>
> >>>> Thanks for any suggestions. I'll bisect when I have more time.
--
Regards,
Laurent Pinchart
prev parent reply other threads:[~2020-06-16 17:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-13 2:26 omap3 dss failues on 5.7 Adam Ford
2020-06-13 16:02 ` Tony Lindgren
2020-06-13 16:06 ` Laurent Pinchart
2020-06-15 5:56 ` Tomi Valkeinen
2020-06-16 14:24 ` H. Nikolaus Schaller
2020-06-16 14:53 ` Adam Ford
2020-06-16 17:57 ` Laurent Pinchart [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200616175743.GC913@pendragon.ideasonboard.com \
--to=laurent.pinchart@ideasonboard.com \
--cc=aford173@gmail.com \
--cc=hns@goldelico.com \
--cc=linux-omap@vger.kernel.org \
--cc=tomi.valkeinen@ti.com \
--cc=tony@atomide.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox