We also expose the firmware versions via ioctl which is what the UMDs uses. If you'd prefer it in sysfs, we could do that too.
Alex
From: amd-gfx <amd-gfx-bounces@xxxxxxxxxxxxxxxxxxxxx> on behalf of Lin, Amber <Amber.Lin@xxxxxxx>
Sent: Friday, April 26, 2019 10:14 AM To: amd-gfx@xxxxxxxxxxxxxxxxxxxxx Cc: Freehill, Chris Subject: print firmware versions on amdgpu sysfs Hi Alex,
Currently we retrieve firmware versions from /sys/kernel/debug but this requires debugfs being enabled and superuser privilege. Do you see a concern we add firmware versions to amdgpu sysfs at /sys/class/drm/cardX/device like vbios_version? Regards, Amber _______________________________________________ amd-gfx mailing list amd-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/amd-gfx |
_______________________________________________ amd-gfx mailing list amd-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/amd-gfx