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

drm: Explicitly specify the V3D DRI device by address #49

Closed Terminus-IMRC closed 3 years ago

Terminus-IMRC commented 3 years ago

On some environments (c.f. https://github.com/Idein/py-videocore6/issues/48) the order of loading v3d and vc4 modules is sometimes swapped, so the device minor of v3d is not fixed to zero. This pull request fixes to specify the v3d device by its hardware address.

Terminus-IMRC commented 3 years ago

Thanks!