Quantcast
Viewing all articles
Browse latest Browse all 5359

Graphics, sound and multimedia • Re: Map of RPi5 HVS registers

youll find part of the answer in the device-tree files

https://github.com/raspberrypi/linux/bl ... 2.dtsi#L77

Code:

hvs: hvs@107c580000 {compatible = "brcm,bcm2712-hvs";reg = <0x10 0x7c580000 0x1a000>;interrupt-parent = <&disp_intr>;interrupts = <2>, <9>, <16>;interrupt-names = "ch0-eof", "ch1-eof", "ch2-eof";//iommus = <&iommu4>;status = "disabled";};
that tells you what address and size it is
0x1a000 is 104kb in size
but the addr has to be mapped backwards thru the ranges property
and /proc/iomem already told you the final addr

and to help diagnose things more, there is this file:

Code:

root@raspberrypi:/sys/kernel/debug/dri/1# cat hvs_dlists HVS chan 0 disabledHVS chan 1 disabledHVS chan 2 disabled
its blank for me, since i dont have any displays plugged in
but it should reveal the internal state of the hvs display lists

Statistics: Posted by cleverca22 — Mon Aug 05, 2024 6:17 pm



Viewing all articles
Browse latest Browse all 5359

Trending Articles