Idein / py-videocore6

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

drm: Select device by minor number, not physical address #50

Closed Terminus-IMRC closed 3 years ago

Terminus-IMRC commented 3 years ago

Selecting the device by physical address, which was implemented by commit 02c72528886a ("drm: Explicitly specify the V3D DRI device by address"), is a robust way to specify the device. However, a number of our softwares assumes the device appears as /dev/dri/card0, so this commit reverts the previous one and adds an ability to specify the full device path instead of the card number.

c.f. https://github.com/Idein/py-videocore6/pull/49

Terminus-IMRC commented 3 years ago

Thanks!