sitter added a comment.
In D27980#625840 <https://phabricator.kde.org/D27980#625840>, @zzag wrote: > I'm not sure whether this is useful, but libdrm has an API to enumerate devices. Had a quick look, using libdrm seems a bit excessive for what we want to do here. The current /sys digging also doesn't exactly fill me with joy though :( INLINE COMMENTS > sitter wrote in opengl.cpp:281 > Dirs actually, e.g. /proc/dri/0/name > I honestly do not know what they are so I figured best to just list > everything. They could be symlinks for all I know. /proc/dri/ isn't a thing > on any of my VMs :| As it turns out the /proc/dri stuff was supposedly removed here https://github.com/torvalds/linux/commit/cb6458f97b53d7f73043206c18014b3ca63ac345 making this code entirely irrelevant since kernel 3.12. Any objections to removing it altogether? REPOSITORY R102 KInfoCenter REVISION DETAIL https://phabricator.kde.org/D27980 To: sitter Cc: zzag, apol, adridg, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, ahiemstra, mart