Thread (9 messages) 9 messages, 3 authors, 2020-02-29

Re: vc4 on rpi3 A+

From: Sergey Suloev <hidden>
Date: 2020-02-20 09:40:02

Ni, Nicolas,

On 2/20/20 12:25 PM, Nicolas Saenz Julienne wrote:
Hi Sergey,

On Thu, 2020-02-20 at 11:21 +0300, Sergey Suloev wrote:
quoted
Hello, guys,

could anyone clarify the status of vc4 drm support on RPI 3A+ ?
I don't have one so I can't really tell for that specific board, but I'm going
to try to reproduce it on a rpi3b.
quoted
I tried to build kernel 5.5 and 5.6-rc2 in 32bit and aarch64
configurations with VC4 turned ON but both unsuccessful - vc4 drm driver
is listed in memory but not working and not producing any typical DRM
log output.
AFAIK there is a known issue in 5.6-rc2, which has already been addressed[1].
Note that the driver fails on probe so there is some amount of DRM output.

I tried to reproduce your issue with v5.5, but vc4 seems to probe alright
(rpi3b+aarch64+defconfig):

	[   15.443047] vc4_hdmi 3f902000.hdmi: vc4-hdmi-hifi <-> 3f902000.hdmi mapping ok
	[   15.452864] vc4_hdmi 3f902000.hdmi: ASoC: no DMI vendor name!
	[   15.459836] vc4-drm soc:gpu: bound 3f902000.hdmi (ops vc4_hdmi_ops [vc4])
	[   15.467062] vc4-drm soc:gpu: bound 3f806000.vec (ops vc4_vec_ops [vc4])
	[   15.478722] vc4-drm soc:gpu: bound 3f004000.txp (ops vc4_txp_ops [vc4])
	[   15.485749] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4])
	[   15.499009] vc4-drm soc:gpu: bound 3f206000.pixelvalve (ops vc4_crtc_ops [vc4])
	[   15.526217] vc4-drm soc:gpu: bound 3f207000.pixelvalve (ops vc4_crtc_ops [vc4])
	[   15.542257] vc4-drm soc:gpu: bound 3f807000.pixelvalve (ops vc4_crtc_ops [vc4])
	[   15.560113] vc4-drm soc:gpu: bound 3fc00000.v3d (ops vc4_v3d_ops [vc4])
	[   15.574684] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
	[   15.587375] [drm] Driver supports precise vblank timestamp query.
	[   15.606831] [drm] Initialized vc4 0.0.0 20140616 for soc:gpu on minor 0
	[   15.617505] Console: switching to colour frame buffer device 90x30
	[   15.627858] vc4-drm soc:gpu: fb0: vc4drmfb frame buffer device

Could it be that you forgot to update the device tree or kernel modules?

Regards,
Nicolas

[1] https://lkml.kernel.org/lkml/20200219102526.692126-1-jbrunet@baylibre.com/T/
thanks for reply.

It works fine with Rpi3B, I agree with you. The issue happens with RPi 
3A+ only.


Thank you


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help