On 17 Dec 2020 Ryutaroh Matsumoto <ryuta...@ict.e.titech.ac.jp> wrote:
> I modprobe'ed v3d.ko on vanilla Linux kernel 5.10.1,
> but /dev/dri/render* does not appear like
> 
> https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1880125/comments/14

That comment mentions the following kernel config options:
> CONFIG_CLK_RASPBERRYPI=y
> CONFIG_ARM_RASPBERRYPI_CPUFREQ=y

Those are now available in Debian kernels, although the latter is '=m'.

> CONFIG_DRM_V3D=m

I have made a branch where that is (also) enabled ...

> Simply compiling and loading v3d do not seem to enable DRM/GPU acceleration
> on RPi4... We may need some work for enabling GPU acceleration on RPi series.

The major missing piece AFAICT was enablement in DeviceTree. Recently a patch
set was submitted that seems to contain the missing pieces and I added that to
https://salsa.debian.org/diederik/linux/-/commits/rpi-enable-v3d

https://lore.kernel.org/all/20220601110249.569540-1-pbrobin...@gmail.com/ is
the upstream thread where I got the patches from.
If you can build a kernel based on my branch and verify it then works, that
would be great. Especially if you could send a "Tested-By <you>" email to that
upstream thread which should help in getting the patch set accepted and 
eventually land in Linus' tree.

Cheers,
  Diederik

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to