Message ID | 20240506094644.887842-1-kuro.chung@ite.com.tw (mailing list archive) |
---|---|
Headers | show
Return-Path: <dri-devel-bounces@lists.freedesktop.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id C8ACEC25B5C for <dri-devel@archiver.kernel.org>; Mon, 6 May 2024 09:36:03 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3667B112273; Mon, 6 May 2024 09:36:03 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=fail reason="key not found in DNS" (0-bit key; unprotected) header.d=ite.com.tw header.i=@ite.com.tw header.b="iC9UhoEb"; dkim-atps=neutral Received: from ironport.ite.com.tw (60-251-196-230.hinet-ip.hinet.net [60.251.196.230]) by gabe.freedesktop.org (Postfix) with ESMTPS id C28AB112B3B for <dri-devel@lists.freedesktop.org>; Mon, 6 May 2024 09:36:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ite.com.tw; s=dkim; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=8SFYDKm8OC4xUxF8bgpqvbQooZqRTrwAdouVI63ou1w=; b=iC9UhoEbTuhXCmmCiRgAepBQ3ZN7B2oq0/n70XRDhRKpnYokrzq1zIa7 5M1y2I6qkIh5kbS8SWbruDnyP15cdw0sRf59RtP9ALdvw+hm9AnzevdGw S8QFFXQM7WS8xyPsFhP6i0+tAOA499aTsIKIzhslyy1Si8g5H/BiXuOll 8MUSPNWnqwrFZH52AdjfEF5P5zD3v5RZ6arTNytmRw54VVBtWvNsmtRX6 M6xhRc4wCYNeHWYvFTcU6L7XhV4V3RpVBa+VUxYQcRJm/JEZ/uHdX+Azm FQ+1UnOKFIUNCJCC9lPvEEg8Dursf+WoGWpvkgmFsI2UVIWPWt1Zc9uPZ A==; Received: from unknown (HELO mse.ite.com.tw) ([192.168.35.30]) by ironport.ite.com.tw with ESMTP; 06 May 2024 17:35:59 +0800 Received: from CSBMAIL1.internal.ite.com.tw (CSBMAIL1.internal.ite.com.tw [192.168.65.58]) by mse.ite.com.tw with ESMTP id 4469Ztbv076496; Mon, 6 May 2024 17:35:55 +0800 (GMT-8) (envelope-from kuro.chung@ite.com.tw) Received: from ite-XPS-13-9360.internal.ite.com.tw (192.168.72.42) by CSBMAIL1.internal.ite.com.tw (192.168.65.58) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 6 May 2024 17:35:54 +0800 From: kuro <kuro.chung@ite.com.tw> To: CC: Allen Chen <allen.chen@ite.com.tw>, Pin-yen Lin <treapking@chromium.org>, Kuro Chung <kuro.chung@ite.com.tw>, Kenneth Haung <kenneth.hung@ite.com.tw>, "open list:DRM DRIVERS" <dri-devel@lists.freedesktop.org>, Jernej Skrabec <jernej.skrabec@gmail.com>, Jonas Karlman <jonas@kwiboo.se>, Laurent Pinchart <Laurent.pinchart@ideasonboard.com>, open list <linux-kernel@vger.kernel.org> Subject: [PATCH v7 0/1] drm/bridge: it6505: fix hibernate to resume no display issue Date: Mon, 6 May 2024 17:46:43 +0800 Message-ID: <20240506094644.887842-1-kuro.chung@ite.com.tw> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [192.168.72.42] X-ClientProxiedBy: CSBMAIL1.internal.ite.com.tw (192.168.65.58) To CSBMAIL1.internal.ite.com.tw (192.168.65.58) X-TM-SNTS-SMTP: A46FF6935D4B88CF96C74D974E4941A1CFE1E4F05EA5BB26EA581C7F586BC3C22002:8 X-MAIL: mse.ite.com.tw 4469Ztbv076496 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> |
Series |
drm/bridge: it6505: fix hibernate to resume no display issue
|
expand
|
From: Kuro <kuro.chung@ite.com.tw> New patch description for v7 patch modify code from it6505_set_bits(it6505, REG_VID_BUS_CTRL1, TX_FIFO_RESET, 0x02); to it6505_set_bits(it6505, REG_VID_BUS_CTRL1, TX_FIFO_RESET, TX_FIFO_RESET); for macro define New patch description for v6 patch remove the unrelated patch change (split into anoter patch) remove extra line New patch description for v5 patch after customer feedback and test finished, update again, kernel build pass. New patch description for v4 patch update by reviewer Pin-yen Lin comment, remove function it6505_irq_video_fifo_error/it6505_irq_io_latch_fifo_overflow update by reviewer Pin-yen Lin comment, update Signed-off-by column New patch description for v3 patch update upstream MAINTAINERS mail list New patch description for v2 patch Missing declaration for i variable in function it6505_irq_video_error_handler , add it by this patch Origianl description for v1 patch drm/bridge: it6505: fix hibernate to resume no display issue ITE added a FIFO reset bit for input video. When system power resume, the TTL input of it6505 may get some noise before video signal stable and the hardware function reset is required. But the input FIFO reset will also trigger error interrupts of output module rising. Thus, it6505 have to wait a period can clear those expected error interrupts caused by manual hardware reset in one interrupt handler calling to avoid interrupt looping. allen (1): UPSTREAM: drm/bridge: it6505: fix hibernate to resume no display issue drivers/gpu/drm/bridge/ite-it6505.c | 73 +++++++++++++++++++---------- 1 file changed, 49 insertions(+), 24 deletions(-)