From patchwork Fri Oct 27 10:57:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Archit Taneja X-Patchwork-Id: 10029605 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BB16B602D6 for ; Fri, 27 Oct 2017 10:57:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ABAE528F4D for ; Fri, 27 Oct 2017 10:57:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A0BFC28F82; Fri, 27 Oct 2017 10:57:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 55CDE28F4D for ; Fri, 27 Oct 2017 10:57:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752555AbdJ0K5o (ORCPT ); Fri, 27 Oct 2017 06:57:44 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:38994 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752547AbdJ0K5o (ORCPT ); Fri, 27 Oct 2017 06:57:44 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id DB47360AD1; Fri, 27 Oct 2017 10:57:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1509101863; bh=Gq2CNNVl8sl0VBPybwUNcjmfPKrYAb3FX+1+8zmZYPs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OyNG6EjhmwhnT8wrYdSxsiRhiwDoE474ASkXiqVCYu1VPeY25nbusRxAQqRPCAfCB LAwnAHXnvFiUbiFBJdC7eF/XtQTkqhhQ8jsQMA3tb/CQA86mdbqeFaCwbzSzKSi+cD nRsw/mS9ZADgfk0x/LIgL39mgVyDHOc00nTB1S+Y= Received: from localhost (blr-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.18.19]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: architt@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id AD01C6089E; Fri, 27 Oct 2017 10:57:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1509101863; bh=Gq2CNNVl8sl0VBPybwUNcjmfPKrYAb3FX+1+8zmZYPs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OyNG6EjhmwhnT8wrYdSxsiRhiwDoE474ASkXiqVCYu1VPeY25nbusRxAQqRPCAfCB LAwnAHXnvFiUbiFBJdC7eF/XtQTkqhhQ8jsQMA3tb/CQA86mdbqeFaCwbzSzKSi+cD nRsw/mS9ZADgfk0x/LIgL39mgVyDHOc00nTB1S+Y= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org AD01C6089E Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=architt@codeaurora.org From: Archit Taneja To: robdclark@gmail.com Cc: dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, Archit Taneja Subject: [PATCH 2/6] drm/msm/hdmi: Switch to DRM_CONNECTOR_POLL_HPD Date: Fri, 27 Oct 2017 16:27:28 +0530 Message-Id: <20171027105732.19235-3-architt@codeaurora.org> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20171027105732.19235-1-architt@codeaurora.org> References: <20171027105732.19235-1-architt@codeaurora.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP We support HPD interrupts on all platofrms, let's start using it. Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/hdmi/hdmi_connector.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/msm/hdmi/hdmi_connector.c b/drivers/gpu/drm/msm/hdmi/hdmi_connector.c index c0848dfedd50..6293f45a7f79 100644 --- a/drivers/gpu/drm/msm/hdmi/hdmi_connector.c +++ b/drivers/gpu/drm/msm/hdmi/hdmi_connector.c @@ -465,8 +465,7 @@ struct drm_connector *msm_hdmi_connector_init(struct hdmi *hdmi) DRM_MODE_CONNECTOR_HDMIA); drm_connector_helper_add(connector, &msm_hdmi_connector_helper_funcs); - connector->polled = DRM_CONNECTOR_POLL_CONNECT | - DRM_CONNECTOR_POLL_DISCONNECT; + connector->polled = DRM_CONNECTOR_POLL_HPD; connector->interlace_allowed = 0; connector->doublescan_allowed = 0;