kcm_opengl: Fix retrieval of DRI information

Authored by roberts on May 3 2018, 6:29 PM.

Description

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

Details

Committed
robertsMay 6 2018, 7:10 AM
Reviewer
alexeymin
Differential Revision
D12476: kcm_opengl: Fix retrieval of DRI information
Parents
R102:17da26dd7858: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown