From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933888AbdEOJEG (ORCPT ); Mon, 15 May 2017 05:04:06 -0400 Received: from fllnx209.ext.ti.com ([198.47.19.16]:25145 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933385AbdEOJED (ORCPT ); Mon, 15 May 2017 05:04:03 -0400 From: Peter Ujfalusi To: , , CC: , , Subject: [PATCH 1/3] drm/omap: Support for HDMI hot plug detection Date: Mon, 15 May 2017 12:03:10 +0300 Message-ID: <20170515090312.32051-2-peter.ujfalusi@ti.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170515090312.32051-1-peter.ujfalusi@ti.com> References: <20170515090312.32051-1-peter.ujfalusi@ti.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The HPD signal can be used for detecting HDMI cable plug and unplug event without the need for polling the status of the line. This will speed up detecting such event because we do not need to wait for the next poll event to notice the state change. Signed-off-by: Peter Ujfalusi --- drivers/gpu/drm/omapdrm/dss/omapdss.h | 17 +++++++++++++++++ drivers/gpu/drm/omapdrm/omap_connector.c | 32 +++++++++++++++++++++++++++++++- drivers/gpu/drm/omapdrm/omap_drv.c | 29 +++++++++++++++++++++++++++++ 3 files changed, 77 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/omapdrm/dss/omapdss.h b/drivers/gpu/drm/omapdrm/dss/omapdss.h index b19dae1fd6c5..1f01669eb610 100644 --- a/drivers/gpu/drm/omapdrm/dss/omapdss.h +++ b/drivers/gpu/drm/omapdrm/dss/omapdss.h @@ -25,6 +25,7 @@ #include