[Intel-gfx] drm i915 weirdness with /sys/class/drm/card0*/status

Lennart Poettering lennart at poettering.net
Wed Jun 17 09:41:28 PDT 2015


On Tue, 16.06.15 23:25, Lennart Poettering (lennart at poettering.net) wrote:

> > In the same sysyfs directory there's "enabled" (indicating that an output
> > is logically in use) and "dpms" (which shows the dpms state, but that is
> > not clamped to Off when the output isn't in use because of ABI history and
> > other hilarious reasons). enabled == "enabled" && dpms == "On" is probably
> > what you want.
> 
> OK, I will change logind to check these two as well. Thanks for the hint!

This is implemented now, btw:

https://github.com/systemd/systemd/commit/602a41c22ac2df33b4b5e5083719c1cfaf58acf9

This patch will also now consider eDP and LVDS internal plugs, and
won't consider them when detecting whether the system is docked.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the Intel-gfx mailing list