kcm_opengl: Fix retrieval of DRI information
Summary: Currently DRI information retrieval is attempted via /proc/dri, which was removed from the linux kernel in v3.12 (2013). This information includes the kernel driver in use as well as card identification sourced from pci.ids database. This adds support for retrieving this information in the same vein via /dev and /sys for modern kernels. Test Plan: kcmshell5 opengl should correctly display kernel driver. Reviewers: #plasma, alexeymin Reviewed By: alexeymin Subscribers: alexeymin, wbauer, plasma-devel, #plasma Tags: #plasma Differential Revision: https://phabricator.kde.org/D12476
parent
17da26dd
Please register or sign in to comment