superna9999 / meson_g12a_mali_bifrost

Amlogic G12A Mali support for Mali Bifrost based SoCs, for Mainline Linux only
11 stars 4 forks source link

assertions errors on linux 5.2 #2

Open xlazom00 opened 5 years ago

xlazom00 commented 5 years ago

Device: Odroid N2 kernel(5.2-rc2): https://github.com/superna9999/linux/tree/amlogic/v5.3/odroid-n2-panfrost

assertions errors https://pastebin.com/0r0mxt4t

I don't have this problem on 5.1 https://github.com/150balbes/Amlogic_s905-kernel

looks like this is maybe problem https://github.com/superna9999/meson_g12a_mali_bifrost/blob/BX301A01B-SW-99002-r16p0-01rel0_meson-g12a/driver/product/kernel/drivers/gpu/arm/midgard/platform/meson/mali_kbase_runtime_pm.c#L71

xlazom00 commented 5 years ago

@superna9999 when I change code to rstc = of_reset_control_array_get(kbdev->dev->of_node, false, false, true); everything is fine

chewitt commented 5 years ago

@superna9999 confirmed that the change suggested by @xlazom00 fixes the issue

https://github.com/chewitt/mali-bifrost/commit/03190a3dd33bb0331b067f8b220b3f35beb3d062