Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Aug 2018 18:16:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        acpi@FreeBSD.org
Subject:   [Bug 230290] [patch] acpi: call sleep event handler when sleeping via command line
Message-ID:  <bug-230290-16045-CFSHgZbpug@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-230290-16045@https.bugs.freebsd.org/bugzilla/>
References:  <bug-230290-16045@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230290

--- Comment #12 from Johannes Lundberg <johalun0@gmail.com> ---
(In reply to John Baldwin from comment #11)

That is correct, they get that through the normal device suspend/resume but
linuxkpi needs to keep track of target state (S0 or S3 in this case) that is
read by the driver when DEVICE_SUSPEND is called. An ugly hack in i915 could
solve this problem for now but we need to track this properly when we later=
 get
S0ix support.

Here's the current solution

https://github.com/FreeBSDDesktop/kms-drm/blob/drm-v4.16/linuxkpi/gplv2/src=
/linux_notifier.c#L323-L375

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230290-16045-CFSHgZbpug>