[Intel-gfx] [PATCH] drm/i915: Check and update LVDS connector status after receiving LID notification event
Eric Anholt
eric at anholt.net
Wed Dec 16 22:44:42 CET 2009
On Wed, 2 Dec 2009 10:54:09 +0800, yakui.zhao at intel.com wrote:
> From: Zhao Yakui <yakui.zhao at intel.com>
>
> Now the LID state is used to check whether the LVDS is connected or
> disconnected. And when the LID is closed, it means that the LVDS is
> disconnected. When it is reopened, it means that the LVDS is connected.
>
> At the same time on some distributions the LID event is also used to put
> the system into suspend state. When the LID is closed, the system will enter
> the suspend state. When the LID is reopened, the system will be resumed.
>
> In such case when the LID is closed, the LVDS is detected as disconnected and
> then the system will enter the suspended state. When the LID is reopened, the
> system will be resumed. But as the LVDS status is not updated in course of
> resume, it will cause that the LVDS connector is marked as unused and
> disabled. Even when we try to configure the display mode for LVDS, it still
> can't work if we don't update the status of LVDS connector.
>
> check and update the status of LVDS connector after receiving the LID
> notication event. Then after the system is resumed from suspended state, we
> can set the display mode for LVDS correctly.
>
> Signed-off-by: Zhao Yakui <yakui.zhao at intel.com>
> Reported-by: Dirk Hohndel <hohndel at infradead.org>
Applied. Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20091216/e3925ab6/attachment.sig>
More information about the Intel-gfx
mailing list