Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp1601915lqg; Sun, 3 Mar 2024 19:11:50 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUiJmCW7txte8bZhsld815t48aUTamVY1jMNDjMPqFWT7/HhaikS+u4mL4cbgeFnh1z4u90UAy1wx1srLg5jM8pWy3zTtoC3X9tsbdHLQ== X-Google-Smtp-Source: AGHT+IHbpwRclesQAIVIKBVhxt82pPLiCvVKM4nlq7qmvaW3/1ARr9XbeptVIRm4a6zY3YL1HZOw X-Received: by 2002:a17:902:d4cd:b0:1dc:b531:82d with SMTP id o13-20020a170902d4cd00b001dcb531082dmr8736538plg.5.1709521910502; Sun, 03 Mar 2024 19:11:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709521910; cv=pass; d=google.com; s=arc-20160816; b=YQqmo/vD22L2rU4+MQsi4wHlgLQjUnO4JEy2DpzokoKKJ3KIhQGqTK/l3Xdx4nKHjj 0ekSud8grAdvGZSxr6PV5g9pnOJy87A7fkLfXigo5ChiJP/8cszG0FKWrjcDdRtT5Vp5 qBHWQLEHgE/KNtmzOzoW+5HjSTxMnZcLiqSOst+O395P5vlaJIkQKSDV2urm91sAm/lt un8CT2V2fT4uEBE9rNKZg04yULCe/aNk4T23E8t0LllTU64BlLI2PEK1fgwBRFuTRgAb erypmiulRIp7jLTEhGeSv8/sYTQnDk0U5G3Eu7Igz5EG+grf6pHDyPbneX4QSulo8qnp LAAA== 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-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-90000-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ite.com.tw Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id k14-20020a170902d58e00b001dc179c3a06si7827399plh.588.2024.03.03.19.11.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Mar 2024 19:11:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-90000-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; 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-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-90000-linux.lists.archive=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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 57F52B20BEA for ; Mon, 4 Mar 2024 03:09:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 908674416; Mon, 4 Mar 2024 03:09:44 +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 ; 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 To: CC: Allen Chen , Pin-yen Lin , Kuro Chung , Kenneth Haung , "open list:DRM DRIVERS" , Jernej Skrabec , Jonas Karlman , Laurent Pinchart , open list 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: List-Subscribe: List-Unsubscribe: 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 From: kuro chung 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 (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(-) -- 2.25.1