[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1001039: panfrost: missing dependency in modinfo causes issues during early loading (dmesg)



Package: linux-signed-arm64
Version: 5.10.70+1
Version: 5.14.9+2~bpo11+1

The 'panfrost' driver for the variety of Mali graphics devices requires a GPU scaling governor to be available. Either this version of the source has not yet been patched, or the patch only affects a statically bound governor. In any case, In the above versions, I've had to define the dependency myself.
(governor_simpleondemand <- gpu_sched <- panfrost, but neither panfrost or gpu_sched explicitly depends on governor_simpleondemand)

In the original case -- the device is Pinebook Pro -- initialization of 'panfrost' would fail repeatedly, causing Xorg to fail to detect the panfrost device and start with LLVMpipe graphics device. Only after reloading panfrost (remove + install) and restarting the desktop manager, would panfrost be detected.

A (temporary) fix would be a 'modprobe.d' config file with the line: `softdep panfrost pre: governor_simpleondemand`.
This ensures that panfrost initializes successfully on early init.

I'm not sure if this is the appropriate package to report this bug on. So please correct if necessary.

Kind regards

PS: I had to type the 'softdep' line from memory, so please read over it once to check for silly typos.


Reply to: