Add information about existence of discrete GPU

Authored by jgrulich on Nov 23 2016, 7:10 AM.

Description

Add information about existence of discrete GPU

Summary: This patch adds a kauth helper class which just checks existence of /sys/kernel/debug/vgaswitcheroo/switch file,
which means the user has dual gpu in case of existence. The value we get using that helper class is exposed over DBus so
it can be used outside as well.

Reviewers: Plasma, broulik

Reviewed By: Plasma, broulik

Subscribers: plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D3451

Details

Committed
jgrulichNov 23 2016, 7:14 AM
Reviewer
Plasma
Differential Revision
D3451: Add information about existence of discrete GPU
Parents
R122:d60afa348650: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown