From patchwork Thu Jan 21 23:33:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 12038661 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1B16DC433E6 for ; Fri, 22 Jan 2021 08:46:26 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B3D58235F9 for ; Fri, 22 Jan 2021 08:46:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B3D58235F9 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 864376E9CF; Fri, 22 Jan 2021 08:46:00 +0000 (UTC) Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1DEDB6E979 for ; Thu, 21 Jan 2021 23:33:09 +0000 (UTC) Received: by mail-lf1-x129.google.com with SMTP id a8so5019055lfi.8 for ; Thu, 21 Jan 2021 15:33:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=V6TNPYLJ/iTyhc4r9Xcvd9mWakKDvfSC0jfUqMNIv0I=; b=xDLeMku/suleSBlyaJI8VCb98rqZT5n7zloXMr0s4hjlYwxAMh6jU9eP9V0Dg0jBOB aJOa9mDJ+obXgxCwOoxVZRUXk3BIArQHWmpxYCfcuj2xoNJk2OwSWt4bfUKo+D8JW4/k WojIq+xhCo3UW4ETF+NnJbfyho8A7Aw84vHfLoJrTOFHLL68eWVmAzy5r7SZXVK31wdo bfa3vO+g7d4J7CfFu9dIDnLUd8s3y75P9Lh+sHHekVo+lvLpC7bG10tQl4c5k0qE7htG ZxkwHtyH8+/EWrRTEbWZwH2WJ7ep2ckyl/2ublNeWvTumoe6fTvShqlG6ds5AWHEs6// EOUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=V6TNPYLJ/iTyhc4r9Xcvd9mWakKDvfSC0jfUqMNIv0I=; b=JHdlYF6tvMDarXJUqIYZ1gq4vP7w9O7eAb01X/+zP08KrD1e6QK7ZAjZO+p3POR+eB JTKrsSdyUQ0IrORvRXPGzDHjLdjAx3PMl3A3hML9LmWMwgsNYPN++mhLd0WGxUNiXJc4 eVLfEdRiwbyNz23Uil34bv5bMCS4PSWZ+KsJvM34W9bp8Dkl9EkAPQqUX5Dei2mEglK+ yuPY2bGnuxnfDBnSdNpiCansp7gq/jaf0LKHNV0vt5REoc+okHeKviIOjbAo0hqXM2bZ XuSPDh85ysMC5MGpxEISoTOQCQtlPGinUhnqGpqSzpUHPMNnIKuaSA6xuoK7RnOi2ARR effg== X-Gm-Message-State: AOAM532fcgI7LVIp1ALTXHrIQ7SYQV9Z/RCKdVWj70otcI1liPH0b7q/ rnbbbqtx7lnWL2FoInJH2YU6F8aKTLGPKTVv X-Google-Smtp-Source: ABdhPJwsdWbtbJtOtXvFD0vfg/VHE1WKYeMUXeN2ZJo8MM+gyoIui3wEyNDP67qjC817StoRNRGlpQ== X-Received: by 2002:ac2:5dd1:: with SMTP id x17mr276362lfq.252.1611271987142; Thu, 21 Jan 2021 15:33:07 -0800 (PST) Received: from eriador.lan ([188.162.64.145]) by smtp.gmail.com with ESMTPSA id l28sm726969ljb.42.2021.01.21.15.33.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Jan 2021 15:33:06 -0800 (PST) From: Dmitry Baryshkov To: dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v4 0/3] drm/bridge/lontium-lt9611uxc: fix handling of EDID/HPD Date: Fri, 22 Jan 2021 02:33:00 +0300 Message-Id: <20210121233303.1221784-1-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 22 Jan 2021 08:45:43 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jernej Skrabec , Jonas Karlman , David Airlie , Neil Armstrong , Andrzej Hajda , Vinod Koul , Laurent Pinchart , Manivannan Sadhasivam , Sam Ravnborg Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" These three patches provide fixes for HPD handling and EDID readout for Lontium lt9611uxc DSI-to-HDMI bridge driver. Changes since v3: - Protect hdmi_connected using ocm_mutex - Remove !! conversion from int to boolean - Add missing Reviewed-by tags. Changes since v2: - Declare lt9611uxc_hpd_work as static Changes since v1: - Split first patch into two smaller patches - Add Fixes tags Dmitry Baryshkov (3): drm/bridge/lontium-lt9611uxc: fix waiting for EDID to become available drm/bridge/lontium-lt9611uxc: fix get_edid return code drm/bridge/lontium-lt9611uxc: move HPD notification out of IRQ handler