Idein / py-videocore6

Python library for GPGPU programming on Raspberry Pi 4
https://idein.jp
GNU General Public License v2.0
247 stars 28 forks source link

Support the sideband uniform (unifa) #51

Closed Terminus-IMRC closed 3 years ago

Terminus-IMRC commented 3 years ago

It turns out V3D 4.x has a sideband uniform stream that is independent from the ordinary one. By writing an address to the "unifa" magic register, which was named as "tmu" in V3D 3.x, one can read the content of the memory with a ldunifa or ldunifarf signal.

See https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8980 for details.

Terminus-IMRC commented 3 years ago

Added a check if the two streams proceed independently. Could you review this pull request again?

Terminus-IMRC commented 3 years ago

Thanks!