Message ID | 20240304031945.250763-1-kuro.chung@ite.com.tw |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-90000-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:fa17:b0:10a:f01:a869 with SMTP id ju23csp1192143dyc; Sun, 3 Mar 2024 19:09:56 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU+XltBXttI+RN7bXZrqqs80Zon11FJJQTWVrqpB032UrHrYDisu7GzAuVw9t14vH+rZ7vaW+kZjW405eYHvjCJ+neUlg== X-Google-Smtp-Source: AGHT+IFx7Z9khLVLI3vvHpgcm0B8c9avjOVyqLc3IkW3KAgzWTKWEUsojr4SNwa9OcgO9my8tizi X-Received: by 2002:a17:902:da85:b0:1dc:e58:8ab4 with SMTP id j5-20020a170902da8500b001dc0e588ab4mr10311848plx.9.1709521796524; Sun, 03 Mar 2024 19:09:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709521796; cv=pass; d=google.com; s=arc-20160816; b=GoaENTZg2Nq1KpfDaXxwaHhjCqdl8NBnRA6aX+NP7/UVpAqnYbM8drIlbsCaPjmfFR L+b6ExYIZqjUGuSNa74pjrxqs/vLaEGv3A4Lw4O3skBO9fn8MulNbkw6c1wXldGl0y1n 3R7m+OptQg6qa1qDR6JcEqD1yt9HbWaiVgKsUJurHEyAO6c7PA0ufBR3GebSO3CJVYdl /AJFbe/cUjgYeVXodFAk6TSmF+S/SBet9FZr3fEfpeLlXTOjxW24H+eAULBUva1DwxTL 9/Hjl6lw0AZctknbXasO/NVz/zqc0ynYbtwvctwDrf/oGrE8gHkCMaplvgy9iLyjYr/Q dzyw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=wDTq/D2hc/OJm7z52caZ+Fc3DqtMuNzZgV4Uj2VbYcU=; fh=Ijaf7wRnBDXuWs6o/aI9IOrzXriY8k2QlH7UESi9kS4=; b=j9uwtMyA0x0Ojc2xZ6+DUrad1GLH5NL4cXSOcNn8EW3w+2pBsBe9+2y/D4BMYbyKb0 qkzpoGeKjLPfaGYarVLYSc4b8KpuAQuVbn1JcB/jI/Q3YVPHPaOaFBzJMGlPsOhHvKZ3 Qzy9SToioADu4LQClMQgX/LjExyx22bKFrXOtYVpDWrMcykoK9a5nqq6e/ETvYsw4f1y n+3drVH2HM3TEGX57kN2uHqdEulu5G0Y3Q35Ml/jXGuZWeeSGV8RQa6ngLSUovWnNQuk bIYB64SeW6X+Nm4mMrLcaxW15lXj9uoOL0tUEVx8WqLGXgXF2YMdlIshzIb9qQsO2vvX DGng==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ite.com.tw header.s=dkim header.b=kdqTflJy; arc=pass (i=1 spf=pass spfdomain=ite.com.tw dkim=pass dkdomain=ite.com.tw dmarc=pass fromdomain=ite.com.tw); spf=pass (google.com: domain of linux-kernel+bounces-90000-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-90000-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ite.com.tw Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id i13-20020a170902eb4d00b001db5df6dfb7si7340435pli.421.2024.03.03.19.09.56 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Mar 2024 19:09:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-90000-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ite.com.tw header.s=dkim header.b=kdqTflJy; arc=pass (i=1 spf=pass spfdomain=ite.com.tw dkim=pass dkdomain=ite.com.tw dmarc=pass fromdomain=ite.com.tw); spf=pass (google.com: domain of linux-kernel+bounces-90000-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-90000-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ite.com.tw Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 5975A281414 for <ouuuleilei@gmail.com>; Mon, 4 Mar 2024 03:09:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8D47A523A; Mon, 4 Mar 2024 03:09:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ite.com.tw header.i=@ite.com.tw header.b="kdqTflJy" Received: from ironport.ite.com.tw (60-251-196-230.hinet-ip.hinet.net [60.251.196.230]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 558634409 for <linux-kernel@vger.kernel.org>; Mon, 4 Mar 2024 03:09:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=60.251.196.230 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709521783; cv=none; b=P8hD3sExNGVaFjNRipdKAk8zJxJ2LL/HYt8S4yKUJANJmgffSR9fCru3CPzQA4iFzikpwE/Nguf71bB5pKJCHomxYnDTHcaSaN6wJO6n6F0nS7No+1q/lS5C8Dy7TylVSDan3mOOXCnGFoFLnUYqDERvD9kR+gxzvzn6dpacBw0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709521783; c=relaxed/simple; bh=CYRgY/DN97Kc0KDDupR2bcXBj34QeHhtWH63gg8umAY=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=hhHVqJTgbe9JufWwbebvkr0KBJcialD8dweoUf/kmk+YmcggNMfZJH31T81fTRqt+BncVfkcm6zKiZk3nvUc75+5tzy24voC4oMhbnvgsLqA8D44d0eLct/qGfzTX3g0znj7CSAa1zgTzbiTj7uGBiPfjaAsNuqQZsxPQjul9qg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ite.com.tw; spf=pass smtp.mailfrom=ite.com.tw; dkim=pass (2048-bit key) header.d=ite.com.tw header.i=@ite.com.tw header.b=kdqTflJy; arc=none smtp.client-ip=60.251.196.230 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ite.com.tw Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ite.com.tw 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=wDTq/D2hc/OJm7z52caZ+Fc3DqtMuNzZgV4Uj2VbYcU=; b=kdqTflJyvp4GatjcXWJv1ijZSys5szMHMozkJrz1IzacHI2L0E/oRiAk CccGIXk8ypHwXpoSxdFNvXh3qKG6QDaR7ip9RPJtXP89LjkRw7ZcpCVxF BnZaNfS4ZQ4DcfnD7Zot9jJLJdOrZwnHmWfKbRv0CNVht8/vQ6UhwR+wS JZtDX1O4gBo8ur5b23Le6IdIa5L1Nklv/WcenqFco5GX/N/fH7EKp2HOQ AcWUAOBX5NnxSRX/PNWGtLb1vh1AHTaoDGtRsDi1M564Zo49Mxwlj1gfE mvm4iN02ZlV631q2L7uV1o8kYdDsEnDo8vMuOB4b7d3DDg19ZdWZaGLqp A==; Received: from unknown (HELO mse.ite.com.tw) ([192.168.35.30]) by ironport.ite.com.tw with ESMTP; 04 Mar 2024 11:08:29 +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 42438Rbj022561; Mon, 4 Mar 2024 11:08:27 +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, 4 Mar 2024 11:08:26 +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 v2 0/1] drm/bridge: it6505: fix hibernate to resume no display issue patch v2 Date: Mon, 4 Mar 2024 11:19:43 +0800 Message-ID: <20240304031945.250763-1-kuro.chung@ite.com.tw> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain 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: 7F0A6FCDE736CFB60C97BD189F2683B14FE28BD5CCD7DA3F713AB6A0ED3C61D12002:8 X-MAIL: mse.ite.com.tw 42438Rbj022561 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792563527107380232 X-GMAIL-MSGID: 1792563527107380232 |
Series |
drm/bridge: it6505: fix hibernate to resume no display issue patch v2
|
|
Message
kuro
March 4, 2024, 3:19 a.m. UTC
From: kuro chung <kuro.chung@ite.com.tw> 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. Signed-off-by: Allen Chen <allen.chen@ite.corp-partner.google.com> (cherry picked from commit Iaa3cd9da92a625496f579d87d0ab74ca9c4937c4) allen (1): UPSTREAM: drm/bridge: it6505: fix hibernate to resume no display issue drivers/gpu/drm/bridge/ite-it6505.c | 54 ++++++++++++++++++++++++----- 1 file changed, 45 insertions(+), 9 deletions(-)