<Myy>
I released patches and cross-compiling scripts for 4.13 kernels on RK3288 systems, including the latest r19p0 Mali kernel drivers. https://github.com/Miouyouyou/RockMyy
<mmind00>
Myy: nope ... the driver should be fixed
<Myy>
Any hint on how it should be fixed ?
<mmind00>
Myy: i.e. there is only one clock, the dt-binding therefore does not specify a clock-names property
<mmind00>
Myy: the driver code (clk_get(...) ) needs to be fixed to honor the (now) official binding
<Myy>
Alright. Does that apply to any board whatsoever ? If that's the case, I'll just patch the driver then
<mmind00>
Myy: yes ... in general the dt-binding (for example Documentation/devicetree/gpu/*) is the authoriative thing ... and drivers then implement this binding
<mmind00>
Myy: in out of tree things like the mali vendor driver this paradigm is often just not followed
<Myy>
Ok. I'll try to fix this then. Do you know any driver (just right now) that does the right thing, so I could do a Monkey see, Monkey patch :3 ?
<mmind00>
Myy: same is true for the Utgard binding (mali400 etc), which differs a lot from what the old vendor drivers do
<mmind00>
Myy: just grep for the clk_get in the driver source and replace the "clk_mali" with NULL in it
<mmind00>
Myy: i.e. NULL tells clk_get to just get the first clock
<Myy>
Alright. I'll give that a try !
<Myy>
I already had to patch their IRQ names fetching methodology, which only worked with uppercase IRQ names.
<Myy>
Okay, this is patched. I'll recompile a new kernel with (ugly) test fixes for Tinkerboards reboot issues and give it a try.
nighty- has quit [Quit: Disappears in a puff of smoke]
<Myy>
Well, looks like the Mali patch is working... I'll try to play with the frequencies, through /sys, see if it borks up or not.
<Myy>
Alright, glmark2 DRM works, using Rockchip's wayland Mali drivers so I'll consider that it works.
<Myy>
Will there a release of Rockchip's Mali DDK that includes Vulkan support ? The official ARM Mali team seem to have release one specific version of Midgard drivers that include the Vulkan symbols (and code it seems).
ElTrasho has quit [Ping timeout: 246 seconds]
<Myy>
(The specific version being the fbdev drivers for Firefly RK3288 boards)
phinxy has quit [Read error: Connection reset by peer]
EuroTrash has joined #linux-rockchip
<Myy>
Meanwhile, I've advertised this last patch on the ARM Community (Since they don't seem to publish their GPL kernel driver sources through their Github company page...)