[Differential] [Request, 175 lines] D3451: Add information about existence of discrete GPU
jgrulich (Jan Grulich)
noreply at phabricator.kde.org
Tue Nov 22 11:17:42 UTC 2016
jgrulich created this revision.
jgrulich added reviewers: broulik, Plasma.
jgrulich set the repository for this revision to rPOWERDEVIL Powerdevil.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
REVISION 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.
REPOSITORY
rPOWERDEVIL Powerdevil
REVISION DETAIL
https://phabricator.kde.org/D3451
AFFECTED FILES
daemon/backends/CMakeLists.txt
daemon/backends/upower/discretegpu_helper_actions.actions
daemon/backends/upower/discretegpuhelper.cpp
daemon/backends/upower/discretegpuhelper.h
daemon/org.kde.Solid.PowerManagement.xml
daemon/powerdevilbackendinterface.cpp
daemon/powerdevilcore.cpp
daemon/powerdevilcore.h
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: jgrulich, broulik, #plasma
Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20161122/9ee7a904/attachment.html>
More information about the Plasma-devel
mailing list