Mali GPU driver 看全部

  • 276# lazant
  • 2017-9-30 22:07:46
quote: thc013 replied at 2017-9-21 23:49
hmm mayby this will help

Thank you for reply.

I can now build latest official mali driver r8p0. ... ivers/utgard-kernel

I applied some patches and use "sunxi.c" from github you presented.
I maked Arch Linux Package is here.
              !UW43iJJA!aleUd ... QniF30n-s86HJZFSvTI
But it still does not work.
  1. # modprobe mali
  2. modprobe: ERROR: could not insert 'mali': No such device
  3. # dmesg
  4. [17609.436928] Couldn't find the mali node

This message is sended from "sunxi.c".
I think need build device tree driver like "allwinner,sun8i-h3-mali", but I have never made a device tree driver.
Does anyone have an idea?

  • 277# thc013
  • 2017-10-3 15:24:13
sigh @lazant before you go exotic try it on the normal way ad yes they build and work

  • 278# lazant
  • 2017-10-11 21:03:28
quote: thc013 replied at 2017-10-3 15:24
sigh @lazant before you go exotic try it on the normal way ad yes they build and work

I build git rep, but same result.
There is mali DeviceTree in A23 and A33. ... 7461f3f424d03942d88
But H3 is not provided.
I will wait H3 mali DeviceTree.
  • 280# lazant
  • 2017-10-16 18:36:25
quote: thc013 replied at 2017-10-15 07:25 ...

Thanks very much!!
I applied armbian patches and succeed to load mail kernel module.

  1. # modinfo mali
  2. filename:       /lib/modules/4.13.6-1-SUNXI/kernel/drivers/gpu/mali/mali.ko
  3. version:        r8p0-01rel0
  4. author:         ARM Ltd.
  5. license:        GPL
  6. srcversion:     38045CB92ABE43ABA321688
  7. alias:          of:N*T*Carm,mali-450C*
  8. alias:          of:N*T*Carm,mali-450
  9. alias:          of:N*T*Carm,mali-400C*
  10. alias:          of:N*T*Carm,mali-400
  11. alias:          of:N*T*Callwinner,sun50i-h5-maliC*
  12. alias:          of:N*T*Callwinner,sun50i-h5-mali
  13. alias:          of:N*T*Callwinner,sun8i-h3-maliC*
  14. alias:          of:N*T*Callwinner,sun8i-h3-mali
  15. alias:          of:N*T*Callwinner,sun7i-a20-maliC*
  16. alias:          of:N*T*Callwinner,sun7i-a20-mali
  17. alias:          of:N*T*Callwinner,sun4i-a10-maliC*
  18. alias:          of:N*T*Callwinner,sun4i-a10-mali
  19. depends:        
  20. name:           mali
  21. vermagic:       4.13.6-1-SUNXI SMP mod_unload modversions ARMv7 p2v8
  22. parm:           mali_debug_level:Higher number, more dmesg output (int)
  23. parm:           mali_max_job_runtime:Maximum allowed job runtime in msecs.
  24. Jobs will be killed after this no matter what (int)
  25. parm:           mali_l2_max_reads:Maximum reads for Mali L2 cache (int)
  26. parm:           mali_dedicated_mem_start:Physical start address of dedicated Mali GPU memory. (uint)
  27. parm:           mali_dedicated_mem_size:Size of dedicated Mali GPU memory. (uint)
  28. parm:           mali_shared_mem_size:Size of shared Mali GPU memory. (uint)
  29. parm:           mali_max_pp_cores_group_1:Limit the number of PP cores to use from first PP group. (int)
  30. parm:           mali_max_pp_cores_group_2:Limit the number of PP cores to use from second PP group (Mali-450 only). (int)
  31. parm:           mali_mem_swap_out_threshold_value:Threshold value used to limit how much swappable memory cached in Mali driver. (uint)
  32. parm:           mali_max_system_fps:Max system fps the same as display VSYNC. (int)
  33. parm:           mali_desired_fps:A bit lower than max_system_fps which user desired fps (int)

1 ..555657NextPage