All of lore.kernel.org
 help / color / mirror / Atom feed
* DRM MSM initialization problem
@ 2018-08-29 16:34 Dima Antonets
       [not found] ` <DM6PR15MB22011B589422366CFBCEBC55AA090-W/oHEmsxt5II9Q/2ysJlLYd3EbNNOtPMvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Dima Antonets @ 2018-08-29 16:34 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 2403 bytes --]

Hi all,

I need an advice for the following DRM MSM initialization problem:
drm/msm/msm_drv.c  msm_pdev_probe() fails with the following message (screenshot below)

[   54.833779] irq: no irq domain found for /soc/mdss@1a00000 !
[   54.839019] CPU: 6 PID: 1132 Comm: modprobe Tainted: G        W      3.18.31 #1
[   54.846271] Hardware name: Qualcomm Technologies, Inc.  (DT)
[   54.852868] Call trace:
[   54.855307] [<ffffffc000089b14>] dump_backtrace+0x0/0x270
[   54.860682] [<ffffffc000089d98>] show_stack+0x14/0x1c
[   54.865718] [<ffffffc000d8706c>] dump_stack+0x80/0xa4
[   54.870752] [<ffffffc0000fb428>] irq_create_of_mapping+0xb4/0x1a8
[   54.876831] [<ffffffc0008bf9a0>] irq_of_parse_and_map+0x30/0x58
[   54.882731] [<ffffffc0008bf9f8>] of_irq_to_resource+0x30/0xd8
[   54.888459] [<ffffffc0008bfad8>] of_irq_to_resource_table+0x38/0x5c
[   54.894711] [<ffffffc0008bc92c>] of_device_alloc+0x118/0x1a0
[   54.900351] [<ffffffc0008bca08>] of_platform_device_create_pdata+0x54/0xd8
[   54.907209] [<ffffffc0008bcd68>] of_platform_bus_create+0x2c0/0x398
[   54.913459] [<ffffffc0008bcfbc>] of_platform_populate+0x70/0xac
[   54.919521] [<ffffffbffc133148>] msm_pdev_probe+0x68/0x2e8 [msm]
[   54.925355] [<ffffffc0004ba35c>] platform_drv_probe+0x38/0x84
[   54.931081] [<ffffffc0004b8558>] driver_probe_device+0x164/0x370
[   54.937071] [<ffffffc0004b8814>] __driver_attach+0x64/0x90
[   54.942539] [<ffffffc0004b7400>] bus_for_each_dev+0x80/0xb0
[   54.948094] [<ffffffc0004b7ee4>] driver_attach+0x20/0x28
[   54.953390] [<ffffffc0004b7b28>] bus_add_driver+0x128/0x200
[   54.958945] [<ffffffc0004b9228>] driver_register+0x100/0x184
[   54.964588] [<ffffffc0004ba2a4>] __platform_driver_register+0x60/0x68
[   54.971134] [<ffffffbffc172210>] msm_drm_register+0xb8/0x100 [msm]
[   54.977175] [<ffffffc000082b38>] do_one_initcall+0x1a0/0x1bc
[   54.982819] [<ffffffc0001217ac>] load_module+0xdb0/0x1430
[   54.988199] [<ffffffc00012205c>] SyS_finit_module+0xd4/0xec

Actually, the of_platform_populate() calls from msm_pdev_probe()->add_display_components().

The MDSS IRQ domain is not initialized at this time because it will initialize later (drm/msm/mdp/mdp5/mdp5_mdss.c, mdss_irq_domain_init()), via call     component_master_add_with_match()  AFTER this error happen ..
Is it a some "trick" for init the IRQ domain early?

Thanks,
Dmitriy Antonets

[-- Attachment #1.2: Type: text/html, Size: 7787 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: DRM MSM initialization problem
       [not found] ` <DM6PR15MB22011B589422366CFBCEBC55AA090-W/oHEmsxt5II9Q/2ysJlLYd3EbNNOtPMvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
@ 2018-08-29 17:32   ` Sean Paul
  0 siblings, 0 replies; 2+ messages in thread
From: Sean Paul @ 2018-08-29 17:32 UTC (permalink / raw)
  To: Dima Antonets
  Cc: linux-arm-msm-u79uwXL29TY76Z2rM5mHXA,
	freedreno-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

On Wed, Aug 29, 2018 at 04:34:13PM +0000, Dima Antonets wrote:
> Hi all,
> 

Hi Dmitriy,
I don't have an answer for you, but I've Cc'd the msm lists in case someone
there does.

Sean

> I need an advice for the following DRM MSM initialization problem:
> drm/msm/msm_drv.c  msm_pdev_probe() fails with the following message (screenshot below)
> 
> [   54.833779] irq: no irq domain found for /soc/mdss@1a00000 !
> [   54.839019] CPU: 6 PID: 1132 Comm: modprobe Tainted: G        W      3.18.31 #1
> [   54.846271] Hardware name: Qualcomm Technologies, Inc.  (DT)
> [   54.852868] Call trace:
> [   54.855307] [<ffffffc000089b14>] dump_backtrace+0x0/0x270
> [   54.860682] [<ffffffc000089d98>] show_stack+0x14/0x1c
> [   54.865718] [<ffffffc000d8706c>] dump_stack+0x80/0xa4
> [   54.870752] [<ffffffc0000fb428>] irq_create_of_mapping+0xb4/0x1a8
> [   54.876831] [<ffffffc0008bf9a0>] irq_of_parse_and_map+0x30/0x58
> [   54.882731] [<ffffffc0008bf9f8>] of_irq_to_resource+0x30/0xd8
> [   54.888459] [<ffffffc0008bfad8>] of_irq_to_resource_table+0x38/0x5c
> [   54.894711] [<ffffffc0008bc92c>] of_device_alloc+0x118/0x1a0
> [   54.900351] [<ffffffc0008bca08>] of_platform_device_create_pdata+0x54/0xd8
> [   54.907209] [<ffffffc0008bcd68>] of_platform_bus_create+0x2c0/0x398
> [   54.913459] [<ffffffc0008bcfbc>] of_platform_populate+0x70/0xac
> [   54.919521] [<ffffffbffc133148>] msm_pdev_probe+0x68/0x2e8 [msm]
> [   54.925355] [<ffffffc0004ba35c>] platform_drv_probe+0x38/0x84
> [   54.931081] [<ffffffc0004b8558>] driver_probe_device+0x164/0x370
> [   54.937071] [<ffffffc0004b8814>] __driver_attach+0x64/0x90
> [   54.942539] [<ffffffc0004b7400>] bus_for_each_dev+0x80/0xb0
> [   54.948094] [<ffffffc0004b7ee4>] driver_attach+0x20/0x28
> [   54.953390] [<ffffffc0004b7b28>] bus_add_driver+0x128/0x200
> [   54.958945] [<ffffffc0004b9228>] driver_register+0x100/0x184
> [   54.964588] [<ffffffc0004ba2a4>] __platform_driver_register+0x60/0x68
> [   54.971134] [<ffffffbffc172210>] msm_drm_register+0xb8/0x100 [msm]
> [   54.977175] [<ffffffc000082b38>] do_one_initcall+0x1a0/0x1bc
> [   54.982819] [<ffffffc0001217ac>] load_module+0xdb0/0x1430
> [   54.988199] [<ffffffc00012205c>] SyS_finit_module+0xd4/0xec
> 
> Actually, the of_platform_populate() calls from msm_pdev_probe()->add_display_components().
> 
> The MDSS IRQ domain is not initialized at this time because it will initialize later (drm/msm/mdp/mdp5/mdp5_mdss.c, mdss_irq_domain_init()), via call     component_master_add_with_match()  AFTER this error happen ..
> Is it a some "trick" for init the IRQ domain early?
> 
> Thanks,
> Dmitriy Antonets

> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel


-- 
Sean Paul, Software Engineer, Google / Chromium OS
_______________________________________________
Freedreno mailing list
Freedreno@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/freedreno

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-08-29 17:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-29 16:34 DRM MSM initialization problem Dima Antonets
     [not found] ` <DM6PR15MB22011B589422366CFBCEBC55AA090-W/oHEmsxt5II9Q/2ysJlLYd3EbNNOtPMvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2018-08-29 17:32   ` Sean Paul

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.