MALI400 issue

  • Hello,

    kinda clueless, hoping someone can shed some light on my problem.

    I have enabled CONFIG_MALI400 + CONFIG_MALI400_DEBUG in the kernel config (testing a RK3036).

    I'd say everything appears fine, apart from the "tiny" issue that "a bit after"

    [ 33.078793] initcall init_module+0x0/0x178 [mali] returned 0 after 4001 usecs

    the whole system locks up. If I remove MALI400, everything boots just fine.

    Any idea what might be the issue?

    Thanks,

    [ 33.074335] calling init_module+0x0/0x178 [mali] @ 218

    [ 33.074376] Mali<2>: Inserting Mali v900 device driver.

    [ 33.074381] Mali<2>: Compiled: Feb 26 2018, time: 06:35:09.

    [ 33.074385] Mali<2>: Driver revision: -7.90.001-5070-gd35be6b6b

    [ 33.074394] I : [File] : drivers/gpu/arm/mali400/mali/linux/mali_kernel_linux.c; [Line] : 415; [Func] : mali_module_init(); svn_rev_string_from_arm of this mali_ko is '-7.90.001-5070-gd35be6b6b', rk_ko_ver is '5', built at '06:35:09', on 'Feb 26 2018'.

    [ 33.074398] Mali<2>: mali_module_init() registering driver

    [ 33.074696] Mali<2>: mali_probe(): Called for platform device 10091000.gpu

    [ 33.074709] mali-utgard 10091000.gpu: mali_platform_device->num_resources = 9

    [ 33.074717] mali-utgard 10091000.gpu: resource[0].start = 0x0x10091000

    [ 33.074723] mali-utgard 10091000.gpu: resource[1].start = 0x0x10090000

    [ 33.074729] mali-utgard 10091000.gpu: resource[2].start = 0x0x10093000

    [ 33.074736] mali-utgard 10091000.gpu: resource[3].start = 0x0x10098000

    [ 33.074742] mali-utgard 10091000.gpu: resource[4].start = 0x0x10094000

    [ 33.074749] mali-utgard 10091000.gpu: resource[5].start = 0x0x00000019

    [ 33.074755] mali-utgard 10091000.gpu: resource[6].start = 0x0x0000001a

    [ 33.074761] mali-utgard 10091000.gpu: resource[7].start = 0x0x0000001b

    [ 33.074767] mali-utgard 10091000.gpu: resource[8].start = 0x0x0000001a

    [ 33.074775] D : [File] : drivers/gpu/arm/mali400/mali/platform/rk/rk.c; [Line] : 618; [Func] : mali_platform_device_init(); to add platform_specific_data to platform_device_of_mali.

    [ 33.075244] Mali<2>: Init Mali devfreq

    [ 33.075261] Mali<2>: mali devfreq table count 2

    [ 33.075269] Mali<2>: mali devfreq table array[0] = 200000000

    [ 33.075273] Mali<2>: mali devfreq table array[1] = 400000000

    [ 33.075645] Mali<2>: mali_devfreq_cur_freq: freq = 400000000

    [ 33.075656] Mali<2>: mali_devfreq_target:set_freq = 20654497726464 flags = 0x0

    [ 33.076247] Mali<2>: Mali SWAP: Swap out threshold vaule is 60M

    [ 33.076281] Mali<2>: Mali memory settings (shared: 0x40000000)

    [ 33.076287] Mali<2>: Using device defined frame buffer settings (0x00000000@0x00000000)

    [ 33.076300] Mali<2>: Mali PM domain: Creating Mali PM domain (mask=0x00001000)

    [ 33.076351] Mali<2>: Mali PP: Creating Mali PP core: Mali_PP0

    [ 33.076356] Mali<2>: Mali PP: Base address of PP core: 0x10098000

    [ 33.076582] Mali<2>: Found Mali GPU Mali-400 MP r1p1

    [ 33.076754] Mali<2>: Mali L2 cache: Created Mali_L2: 32K, 4-way, 64byte cache line, 64bit external bus

    [ 33.076776] Mali<2>: Mali MMU: Creating Mali MMU: Mali_GP_MMU

    [ 33.076836] Mali<2>: mali_mmu_probe_irq_acknowledge: intstat 0x3

    [ 33.076840] Mali<2>: Probe: Page fault detect: PASSED

    [ 33.076843] Mali<2>: Probe: Bus read error detect: PASSED

    [ 33.076874] Mali<2>: Mali GP: Creating Mali GP core: Mali_GP

    [ 33.076976] Mali<2>: Mali MMU: Creating Mali MMU: Mali_PP0_MMU

    [ 33.077013] Mali<2>: mali_mmu_probe_irq_acknowledge: intstat 0x3

    [ 33.077016] Mali<2>: Probe: Page fault detect: PASSED

    [ 33.077020] Mali<2>: Probe: Bus read error detect: PASSED

    [ 33.077046] Mali<2>: Mali PP: Creating Mali PP core: Mali_PP0

    [ 33.077051] Mali<2>: Mali PP: Base address of PP core: 0x10098000

    [ 33.077095] Mali<2>: 1+0 PP cores initialized

    [ 33.077111] Mali<2>: Mali GPU Utilization: No platform utilization handler installed

    [ 33.077999] Mali<2>: mali_probe(): Successfully initialized driver for platform device mali-utgard

    [ 33.078462] Mali: Mali device driver loaded

    [ 33.078793] initcall init_module+0x0/0x178 [mali] returned 0 after 4001 usecs