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: 367881 Delivered-To: patch@linaro.org Received: by 2002:a02:a60d:0:0:0:0:0 with SMTP id c13csp1001370jam; Thu, 21 Jan 2021 15:34:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJz5rbfOrwxCatOKJzIz4x8+tf0EI/lf3t8Wakf0dUGAUqsl3km2stPpnErh0cBU97kAaYvd X-Received: by 2002:a17:906:1302:: with SMTP id w2mr1256405ejb.413.1611272092153; Thu, 21 Jan 2021 15:34:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611272092; cv=none; d=google.com; s=arc-20160816; b=K2UT77zFS/m4W6pcKrmbYgs1FZ+lulqR9DdJJzIvfcaQ+HaZNDvlNqXQpxZGB5zdx6 czpRY/cNcvsU9ABV/ixkESaQiOOnf8uFcgI7FqQtQcWcL7AfQXY20osCnfL6FgiPsDLM nht6urKTbQI+RLPWUW3AzF5hmLV65S+C4a4TffhDMYgSIlFl1Uzs3mdjWrKI6ThRBwIh Ftdw29QX4idC/UguHiWtRQq5PfJ9GXcN4zMD255b42c2f9Mda7Fz41/GPuKz3aArBVul bw6a9fcgc+/rk1VntY3o35+b8q1Txc3hhHjR8ciziNLh8rYta2VDIiL7NLntS2mEw19f J2jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=V6TNPYLJ/iTyhc4r9Xcvd9mWakKDvfSC0jfUqMNIv0I=; b=Kii4pTdcN8lUxtNdd4iF+iVtOQ6ixAUakasPlpbuKBbHhx1Oi/j/QfEFynM6kGgt/2 E8mQkINcfM2beb4bp1HbuR1Sdoe5qh8wTBkMLTURGELwEeuNAsE4gmAfb4BYc/RNhtDm qSgkuc+K9gsAfjGP5BX9F3FTR380QEQjMrIeso+MQw3TPmYawR4Shm8erE1O+TH63Fhh FGCce9nmB9RBin3jNk1Q3CV/8Q3IUuk5rRDaQ+rD4Sntw2pUgAEvAAAwuGz6as4pZT9Y JOgpk3gdKQiXVyK+5q/S0EnKMH3avlThXGq7nyY5Wz4dcD/NirzHLkj+9uIlC/qj9CiI oKFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="xDLeMku/"; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id go33si2315156ejc.40.2021.01.21.15.34.51; Thu, 21 Jan 2021 15:34:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="xDLeMku/"; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726516AbhAUXdu (ORCPT + 15 others); Thu, 21 Jan 2021 18:33:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725829AbhAUXdt (ORCPT ); Thu, 21 Jan 2021 18:33:49 -0500 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ACAFAC061756 for ; Thu, 21 Jan 2021 15:33:08 -0800 (PST) Received: by mail-lf1-x129.google.com with SMTP id m25so5006651lfc.11 for ; Thu, 21 Jan 2021 15:33:08 -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=Lh78kXOt1FaMIlsDu51WEEk4q4E8YsvVtFGB5PH2eUnjIDp+q5gTgZgtHnw+jNMOWm xHaEWAjcuPHVk6vJK/hLhtFvxQK5pV+T+O5BS1or6EEmY3CakyFp8I4qhNdVXlGPzBwj oWkjA10viGQdvf+NpHZ68CgXqqC3nVwtc2Jr8wt736TbFD16uY+GtXpm2/9L1k8HQlzD TDQein9BlSqXpTFnYA7a++0aO1r0F+nDQxSuW/YSEXqaNaCdFxIn02oGkDZOTBzMoVxw hg2l3rsfCvFiacBiqwT8ZgXlwaO+hfoGaoTSbioItsWGCwThyoc4KGts1y4kWYpifEpG Rxyg== X-Gm-Message-State: AOAM532NV0Wqcp+rVdGpogMvM/N0m85qnmHmLFJOEWWW1/glZaLMBxv4 2RXZL0gUVF06tnZG72++TokLsQ== 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 Cc: Daniel Vetter , David Airlie , Andrzej Hajda , Neil Armstrong , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Vinod Koul , Sam Ravnborg , Manivannan Sadhasivam 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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 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