Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2793708rdb; Mon, 5 Feb 2024 19:26:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IGLuWpVVey5yVmSz6jkUQHlYWw/xbFYrecBSgpFsM6hx14yWhDD1mXyn29eAp8S551awfez X-Received: by 2002:a05:6870:d10e:b0:214:fdd8:f08b with SMTP id e14-20020a056870d10e00b00214fdd8f08bmr1838803oac.36.1707190015988; Mon, 05 Feb 2024 19:26:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707190015; cv=pass; d=google.com; s=arc-20160816; b=nkySoaSApgp4PELoa6CbfYeYwfROwaS/Uy7ynQ4gcAw4lAOCf+w9onpWERz7GQouqZ 0/6DVzel5q9MuNUXpm+ahdaDIX9nXjDd8cTg5e2sglGWSgKJmsl/RpT5c2qRs/1akLbk jYViO3alnyvRm/b0Y6CIgh6ECraEdBvFWuuhFrK8dBPfMpAp4ueBGh77NB6y5F/KqQK2 S63fucQLDL8zDaMWmh3JmdHkPdnUJcfE5AT28owChRaEfcYCs3mOveuw9QwblR2XCfDK 2FLInsPYfAC3uBYTdc/+A6g2LDYjrFP+cXfJkUk8snp34bOUBX+LK5UIuylukcUZ9i0s tmQw== 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=yRocNbYAv0o1LDOLTf19hzFWuhthm9QITxsxnExRzNU=; fh=WoikwJHT6NHCe4GeS7LfOkBgsxeTE1bvT5MqU9gyxPU=; b=pCyde4p8fQhEk2k5jJ+10m5m7owkxxSx92GJoTpMebk2QwK3Yb+lmEUh+d7Ko7X8cC YQqexcOY3/+KhOpC68Bsubk2Ez6wlC0Ui8VTYn7fanSU7YXEczG8Co0Vi/ZJlqt6b560 GjSJ4rwnkr99zQaZvOjNWHuVAdfVXFzxypwZIoG9bjje94I/s+3DHVfF2ur4XwDmC1gi gO63d9bttXZ7gWEurm5nZO8iLhS2HIbOYZkPtk+9IOoMa7ngy4BcYb5pO1P85zAVmVBQ STxoLS7rFkt6NBGzI2x8TeJRmvTJ0cH4YSCGADFWJUYylRbAtt5g/JnUMYzVqhkwgYNR /I9Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ite.com.tw header.s=dkim header.b=QqhHu8qc; 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-54251-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54251-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ite.com.tw X-Forwarded-Encrypted: i=1; AJvYcCWgP3x3CLmkfD+gt2n4PdioYA/RMAvhegff9ysptyL9mN2hqhcHVINbMjuIoBu/ih/QSetla79ERyRr12a7doiE052So0bDLBGxfjhwcQ== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 24-20020a630c58000000b005d8b5584dd8si948738pgm.802.2024.02.05.19.26.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 19:26:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-54251-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=QqhHu8qc; 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-54251-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54251-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 30E41B23B2D for ; Tue, 6 Feb 2024 03:25:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6ADD17428A; Tue, 6 Feb 2024 03:25:51 +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="QqhHu8qc" 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 116F55026D for ; Tue, 6 Feb 2024 03:25:47 +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=1707189950; cv=none; b=fhaOTeQ2dLEZorKN9JWgD4bjb19sJ2xXUn+lFsZArqqR9tgOolXey4vYwi4JDv9jCGs+QNbYIs/QfBIDqbXARbizNEpApj5t7S2S9sfgeC73nQneTRfWbakagsEtNE8R7pOsA7Z1oQChDcXHp7gNpI/IRns7Ni9PFLfHFlpjClM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707189950; c=relaxed/simple; bh=yRocNbYAv0o1LDOLTf19hzFWuhthm9QITxsxnExRzNU=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=L11d9J9bMGBIT4Xx9OgM7oMp6yuJCBQH9VDUkjkw5wLIZRVSteCVtx5orS20MvCzTPwh4sP30fQb13N7ZRbINmvj0hMW05Crvo9bRkQwoYk4F3rsaBgXW9LYnKyGU0Ry7JX9fYUy8glKPOu+uW79Vnx3tFmvaHPUrO70IsJ+UQo= 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=QqhHu8qc; 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:references: in-reply-to:content-transfer-encoding:mime-version; bh=yRocNbYAv0o1LDOLTf19hzFWuhthm9QITxsxnExRzNU=; b=QqhHu8qc8LMv/+IQarQYRLXXTJ0n8k8S6Rhwx3Qdkoa/zOrvvWfx1MQ4 vJgrkJieqZfXAxZsjVG3KZTAKYnGNpWgelti9ptV4Otvyem6Fv3sIHumu lmVH9KfYBUeTeHVI5V9MjuAS0az1gOszlgT/o9WTDZH4gDrvaSUv7miyG tHz5YkMvS9plYcWSWUEHT1SofVNFzxaPYV9LQEJzW/tzNhox8vyf6qB+K 2fWFwmGpZH4+jrS2s2n5VJMlj/+2OrdSGCJuMMJPvT+JRiBz0xTgwQYhf c2dUo8VKRbvldE78F6lJBWzcZmObjeJlJf02s4yBdA2YHsj23RYdR7B6z Q==; Received: from unknown (HELO mse.ite.com.tw) ([192.168.35.30]) by ironport.ite.com.tw with ESMTP; 06 Feb 2024 11:25:46 +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 4163Pgc8050603; Tue, 6 Feb 2024 11:25:42 +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; Tue, 6 Feb 2024 11:25:41 +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; Tue, 6 Feb 2024 11:25:41 +0800 From: To: CC: , , , , , , , , , , , Subject: RE: [PATCH] UPSTREAM: drm/bridge: it6505: fix hibernate to resume no display issue Thread-Topic: [PATCH] UPSTREAM: drm/bridge: it6505: fix hibernate to resume no display issue Thread-Index: AQHaWKmgnb6ilPbqZU+EAROdJJqexrD8pI6g Date: Tue, 6 Feb 2024 03:25:41 +0000 Message-ID: <268c752f453d4cbdbc5c05ee251af252@ite.com.tw> References: <20240206031857.113981-1-kuro.chung@ite.com.tw> In-Reply-To: <20240206031857.113981-1-kuro.chung@ite.com.tw> Accept-Language: en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-tm-snts-smtp: 4A621066F75D306F1CE949A6B21D910DF838BFF0DC51E6F19C34138F76B57E362002:8 Content-Type: text/plain; charset="big5" 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 4163Pgc8050603 SGkgUGluLXllbiwgDQoNCgkJSSB3YW50IHRvIHVwbG9hZCB0aGUgcGF0Y2ggdG8gbGV0IHRoZSBw YXRjaCBjb3VsZCBiZSByZXZpZXcgb24gd2Vic2l0ZSwgaHR0cHM6Ly9jaHJvbWl1bS1yZXZpZXcu Z29vZ2xlc291cmN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