[Pkg-Mali-devel] Updating mali-midgard to build against Linux 4.18

Rohan Garg rohan at garg.io
Thu Dec 20 11:17:33 GMT 2018


Hey

> Now I have one issue undealt-with that I may just be being dim about.
>
> Someone (it might have been you Rohan) pointed out that we also need a
> fix so tha tthings still work when the both drivers (the governor
> driver and the driver that call devfreq_add_device) are built as
> modules).
>
> However that patch needs to patch the kernel source:
> (drivers/devfreq/devfreq.c) not the mali source and rebuild the
> kernel. Can dkms do this? It seems to me that it cannot (you
> should only need the headers present to build the dkms module, not the
> kernel source, and it is only intended to build the installed modules)
>
> So I guess we need to get this patch into the debian kernel to have things work properly.
>
> I will need an upstream commit to point at to get this into the debian kernel:
> +Fixes: 1b5c1be2c88e (PM / devfreq: map devfreq drivers to governor using name)
> +Signed-off-by: Enric Balletbo i Serra <enric.balletbo at collabora.com>
>
> This patch is in the -3 I just uploaded, but commented out in dkms.conf.
>
> Can someone confirm that I understand this correctly: that we can't
> fix this ourselves, and need to do it in the kernel?
>

AFAIU it, yeah, we'll need to get this patched in the Debian kernel
until the point 4.20/4.21(?) is released.

Cheers
Rohan Garg



More information about the pkg-mali-devel mailing list