Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp416291lqc; Fri, 8 Mar 2024 00:59:45 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUL8q4F/l7ZLsECatNRlBbt4GrG9qnlqn/TqbEPKD1W5HDoUfjcheQdRyH+CgF+daLVXLRUAPNoAEftUFb8aPiMRRfX0mRktg4hhWRByg== X-Google-Smtp-Source: AGHT+IFrSvQX5umr2WTXuaxJbeFRXNPdwGI0MbewP6BBgoUrS2cmw5PZBRxOPtzwMWrB49hk+QEl X-Received: by 2002:a81:83ce:0:b0:608:4e7a:abc7 with SMTP id t197-20020a8183ce000000b006084e7aabc7mr20347820ywf.29.1709888385694; Fri, 08 Mar 2024 00:59:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709888385; cv=pass; d=google.com; s=arc-20160816; b=W+PQ/MwZ2xp7ownGYDO3ZtPRL8rxswSCoIG+T8QYDA2ow1C9yRTkq0J+K6RLQrhOr1 ffs6cu1NicVXc205nSGKabg6Ce6drHYT8OG2SMh3Yc3+gobkr/fwuQG7cbLQv+7zCg/h LRf0Wz2U9JEVNCJemQ2hfJAyfp+7maSSc6OQGF54l/tvMeDdUiHxLCUjOBne98eqW6yu 4VPMecC/BKiDoYY6vEAA/MsSvq9eoviuoRIwfOVoPYD59V+cd+g0h9tDzibv+2G1/7+d dqpkY2Y3hUsLpkiSD/1oUWhmHm6j/bwv8hnE6RjMNr2D4+BFKRHvQ1r/fcUpiufbM7XI p4Wg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:content-language:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:cc:to:from:dkim-signature; bh=m/Qd/jNyLRwRhfzNfiKmPzkZGpGSFMRbERjzfYUVHBw=; fh=K79lDe593WyDiJtlFUiTCYK9jyFbJ9tm0z6+1xes2kY=; b=t9FyyzPNge2rDiN/eDiU4oBbOJut6Smt07C+NnjDuB6WKRanCLy0n/54wCBIz8fZ+N chJhZ5EtSaDzQZZBSg0ESYs5nto3VGvHdBsLsWoa1u5gndaE6xpgz/ZRXSCjt616CfIH f4z0c+JiLcMLFH6Woc7D3BMB11ZN8ea/LDVVB3X9Zda2occKE50gm6g78q4Tyy8DiKU1 5L1vv0IKu2vyZ/bC69luv7tYhXuTAQLYTdCAXVhRZ6J/fmlVr/BGaOacZhtGhJGYxQ0p 7AGKb5GCmyXNtAUC5lXF3aonM4Pig/53ZW4QC3O9wixe3W+1FspX9TwqKE2I5QuqHPf4 4ssw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=temperror (no key for signature) header.i=@ite.com.tw header.s=dkim header.b=CcYXZQ4A; arc=pass (i=1 spf=pass spfdomain=ite.com.tw dmarc=pass fromdomain=ite.com.tw); spf=pass (google.com: domain of linux-kernel+bounces-96716-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-96716-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=QUARANTINE) header.from=ite.com.tw Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id e9-20020ac85989000000b0042ef3a4fec6si10349656qte.113.2024.03.08.00.59.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Mar 2024 00:59:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-96716-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=temperror (no key for signature) header.i=@ite.com.tw header.s=dkim header.b=CcYXZQ4A; arc=pass (i=1 spf=pass spfdomain=ite.com.tw dmarc=pass fromdomain=ite.com.tw); spf=pass (google.com: domain of linux-kernel+bounces-96716-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-96716-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=QUARANTINE) 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 4D1691C21EF5 for ; Fri, 8 Mar 2024 08:59:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D0E3E52F6C; Fri, 8 Mar 2024 08:59:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="key not found in DNS" (0-bit key) header.d=ite.com.tw header.i=@ite.com.tw header.b="CcYXZQ4A" 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 2741C524C3 for ; Fri, 8 Mar 2024 08:59:35 +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=1709888378; cv=none; b=uvC3P4XIm7xG0Qc3WHvtDHS4S52AhHyV1ybx8dtjoVGFQrCfonaQAPWmJ+tvi9FCgxho96HZbLy1/YbPPDOoXNgHUvqsZZTJylLsXhnztYlWdAcI8uDLJJBJHoYXNAthVLRbivthpHO9ilJMhz2eJn1fDbGkS9N48PlhsmyS0xM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709888378; c=relaxed/simple; bh=m/Qd/jNyLRwRhfzNfiKmPzkZGpGSFMRbERjzfYUVHBw=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=uSKSFQ2lmfOy4GkriDyISTqC7D4vMBX7PejmuyV2QPeGvJftUG91702tHPdtA+TQl+u9CzoHL9RAYeE2nFs/fXx87yxens4HwxoTl4p95BwDT0bX1QxlrPukls0B7bDjlWNC7f3xndRfj7xYkQx8iGjmhYRmycaPYi8lBe1tEyY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ite.com.tw; spf=pass smtp.mailfrom=ite.com.tw; dkim=fail (0-bit key) header.d=ite.com.tw header.i=@ite.com.tw header.b=CcYXZQ4A reason="key not found in DNS"; arc=none smtp.client-ip=60.251.196.230 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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:references: in-reply-to:content-transfer-encoding:mime-version; bh=m/Qd/jNyLRwRhfzNfiKmPzkZGpGSFMRbERjzfYUVHBw=; b=CcYXZQ4A2D+IXBtVR4MuGx3QtpI63yGmKRacY1iaCks3afjThGIzAdhY 7yPPxUHm2zi0DBvRcRo4UxCv3pgmwfBl9U1c7eloZs10spQRyvh1PsNRZ KJd1Qud6lRD9SB/AFrPqYlAnUgYBU1w/WM9ni66an+yMRQNxuwnIM0ZVM lPo6J3Smib3WqW+0LOT7j7x605hE0bGs+4ilponyjZY7suEwmY9lcQdmQ nfrTbH72feo11Bx70W31qFLVWZ5uA5VvEl9x45GUzZpS7RNKoaCrOuSu2 GkjMm9Bm5sytGrS6DfZaWrQgtuimoI90ky8ygi/RZcyPJoigF+ZH8YfhY A==; Received: from unknown (HELO mse.ite.com.tw) ([192.168.35.30]) by ironport.ite.com.tw with ESMTP; 08 Mar 2024 16:59:34 +0800 Received: from CSBMAIL1.internal.ite.com.tw (CSBMAIL2.internal.ite.com.tw [192.168.65.41]) by mse.ite.com.tw with ESMTP id 4288xV7t083761; Fri, 8 Mar 2024 16:59:31 +0800 (GMT-8) (envelope-from kuro.chung@ite.com.tw) Received: from CSBMAIL1.internal.ite.com.tw (192.168.65.58) by CSBMAIL2.internal.ite.com.tw (192.168.65.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Fri, 8 Mar 2024 16:59:30 +0800 Received: from CSBMAIL1.internal.ite.com.tw ([fe80::c9da:6689:2b22:a2d6]) by CSBMAIL1.internal.ite.com.tw ([fe80::c9da:6689:2b22:a2d6%3]) with mapi id 15.01.2507.035; Fri, 8 Mar 2024 16:59:30 +0800 From: To: CC: , , , , , , , , , , , , , , , Subject: RE: [PATCH v3 1/1] UPSTREAM: drm/bridge: it6505: fix hibernate to resume no display issue Thread-Topic: [PATCH v3 1/1] UPSTREAM: drm/bridge: it6505: fix hibernate to resume no display issue Thread-Index: AQHacGI5enQsNeEpPEi+my2OeMnhv7Eti/+Q Date: Fri, 8 Mar 2024 08:59:30 +0000 Message-ID: References: <20240306022003.259245-1-kuro.chung@ite.com.tw> <20240306022003.259245-2-kuro.chung@ite.com.tw> In-Reply-To: Accept-Language: en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-tm-snts-smtp: E29482C4A663611D01ECBFE1967ABA62BCEE8334DCC858AF7825E8BD0B5A3EAE2002:8 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MAIL:mse.ite.com.tw 4288xV7t083761 SGkgUGluLVllbiwNCg0KCVBsZWFzZSByZWFkIG15IGNvbW1lbnQgYXMgYmxvdywgdGhhbmsgeW91 IHZlcnkgbXVjaC4NCg0KLS0tLS1PcmlnaW5hbCBNZXNzY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