Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp218051lql; Sun, 10 Mar 2024 23:24:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWUEQo4ELbRcn/XvISgx77pFru5Xw2E1hNKBFz3cfzwkc6dLrhddkJ21/zYrwacIsycMHhcjGwnHwQMU7t2p64yfZMNEoyR+3ZFJlyX1A== X-Google-Smtp-Source: AGHT+IHHWipZX1u7DcZ8ujjWWsXQvEHAWliON9gkhRgnh0S9smIxMSbJR2E4AS8GGlORzzRb3uhq X-Received: by 2002:a05:6808:2225:b0:3c1:f61c:a1d with SMTP id bd37-20020a056808222500b003c1f61c0a1dmr7910107oib.47.1710138251477; Sun, 10 Mar 2024 23:24:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710138251; cv=pass; d=google.com; s=arc-20160816; b=J6Ntji8nM7joVTH7TlVn7xvx1rBHmYfFV87mQXU6wPyKYkuiTbLdOHXnqLhpxRFnPF 0sH+bZNlbWNC+DiL/93O1yE+WOlciomx/UQONQVPMX38m4vC2joQy1RlZ9k3ZzzA0T2Z nX9Gu+uigGjn7+wH056rUY0JW6lsJvsYcQs0kAM5p8g0a0VrMcnncm/FAXq7faFTjLaw 3YA9vQAlC/9PsFuyilM1a6+RlU9No2xTsTij2eFRLDEaTpcJjuONOVsiUHRIJ2RuLozf wJL/UzbHXP8J42Qz0oy1CPc25pYD9zqcl5QI4y7ztuMi7sA2tSQWuT/QNxQVImkjUGox 5Izw== 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=J77vapNj8pKkBjmHn3kK6SevoUW55fRcQjccfKM2LQw=; fh=VmwmYyHCdenqxN2DIZ6mxglZJJSdxEgIsSd+9U0y9fM=; b=WhDLUDxRAiBmGpX1kIWYfRwOfeN5a+0M8Yhd2Zh/8WNt5iwGaBmUilxGN0cyFB66V/ 30JVS3Ly1ZauMFZlHhS1e8v3of2gGnquOzEb8xysNLdTE9HKvakoyeQoHDO4hiO3SbB/ gMnlHL28m96QCqhexg/fDERPy3Qn6Ex0qMKu/U1zOBbUqSIPbRfXnfzAqSANHgJS0HrZ zNxLy7oXo2oWtGujNBeS8l5AiH62j9iTPPlI3GVhbvjhWjhCS9htUKiBqjtWNzbbQ+qH s+qFRapFFcxFapwZ09QepndkzPvAJw9Z945tTsqTzu5aGzqs3wdfSazYK7qDPkwIF9sS Cgyg==; 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=oEKfVs3D; 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-98496-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98496-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 sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id bx26-20020a056a02051a00b005ce08c4bff5si4649933pgb.760.2024.03.10.23.24.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Mar 2024 23:24:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-98496-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=temperror (no key for signature) header.i=@ite.com.tw header.s=dkim header.b=oEKfVs3D; 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-98496-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98496-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 62DE7B20B88 for ; Mon, 11 Mar 2024 06:24:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6586BE54C; Mon, 11 Mar 2024 06:24:01 +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="oEKfVs3D" Received: from ironport.ite.com.tw (HC210-202-87-179.vdslpro.static.apol.com.tw [210.202.87.179]) (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 7134DCA47 for ; Mon, 11 Mar 2024 06:23:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.202.87.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710138240; cv=none; b=Ppv5NObjuB2F2y/KNAAlDjYscvb5INSKzBB8q5TbToqjNrNYP76jQoL0pCrMCadN+3nXIQ/spyWeX7Ecg96twPcWSULHAP57W711AGdTiudW5/VDe+c+78stZ3ESUmWeiN6+iujDsvBXlaTnNgKoTobptH3L6oeWoEcTsuObKnU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710138240; c=relaxed/simple; bh=J77vapNj8pKkBjmHn3kK6SevoUW55fRcQjccfKM2LQw=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=KH4X6RRIy8pFw317M8oYVUtSArzCM0OgpoJ5Kcb8d/MG/kFJsww8NHaMUGKNXD1QQ2WNVMchW5qJM4FGhQoAxtZR42h4u+V/Dyfvxdlnhalu+SCAbgk7FplcB/bBuH+HBdiecmvYrG24TthC7yG74xOrpUZ7wT39WzRCxuagxrA= 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=oEKfVs3D reason="key not found in DNS"; arc=none smtp.client-ip=210.202.87.179 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=J77vapNj8pKkBjmHn3kK6SevoUW55fRcQjccfKM2LQw=; b=oEKfVs3DG+EfDzT+5qpeG8KTD5iIWWYUCVDzTgjV77cND+HYBr/KJLkz CVnqLASaevl1lzewB9IaIxnPic6maNXa4ZcaYrkv0CxB4Vg8UF4ZnIaJO N7GQMQr3URLJR7zCf3J2d88zU5WNn+ZX6qO8piEiyWzIjnDZd7G1FX8gt dk0c0SwHxRCCiqWUzmPu799ZEUBV5avFKGYFMjXUw/tahRLdStkcnLL0b fieZf14z4rvQSOKzPd4aKZ5bR/h2yvrCNHyop7IxnL8MrQblUmhRWZq9O gLFVROBb0t/3A06JH0CeoSnAG6j1z1dZMWxoBypPKR+UzJ8wo0CcBTe1w w==; Received: from unknown (HELO mse.ite.com.tw) ([192.168.35.30]) by ironport.ite.com.tw with ESMTP; 11 Mar 2024 14:23:48 +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 42B6Ng4l035291; Mon, 11 Mar 2024 14:23:42 +0800 (GMT-8) (envelope-from kuro.chung@ite.com.tw) Received: from CSBMAIL1.internal.ite.com.tw (192.168.65.58) 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, 11 Mar 2024 14:23:42 +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; Mon, 11 Mar 2024 14:23:42 +0800 From: To: CC: , , , , , , , , , , , , , , , Subject: RE: [PATCH v4 1/1] drm/bridge: it6505: fix hibernate to resume no display issue Thread-Topic: [PATCH v4 1/1] drm/bridge: it6505: fix hibernate to resume no display issue Thread-Index: AQHacfEPSHH9ad2lwEK8fZpiBJbxCLEx2URQ Date: Mon, 11 Mar 2024 06:23:41 +0000 Message-ID: <0a90f94e7f1f4b6ebb2ec1b3b8a3f05f@ite.com.tw> References: <20240308090548.269625-1-kuro.chung@ite.com.tw> <20240308090548.269625-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: 4049F96699DCAB84EB159C18A3F948D2E7F7F4880A8E1FCDC9ED43F3ED373CDD2002: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 42B6Ng4l035291 SGkgUGluLXllbiBMaW4sIA0KDQoxLiBXaGF0IHdvdWxkIGhhcHBlbiBpZiB3ZSByZW1vdmUgdGhl IGxvb3AgYW5kIG9ubHkgY2hlY2sgdGhlIH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4uIik7DQo+ICsNCg0KSSBzdGlsbCBkb24ndCBzZWUgYW55IGNvZGUgY29tbWVu dCBhcm91bmQgdGhlIGZvbGxvd2luZyBzZWN0aW9uLg0KDQo+ICsgICAgICAgZm9yIChpID0gMDsg aSA8IDEwOyBpKyspIHsNCj4gKyAgICAgICAgICAgICAgIHVzbGVlcF9yYW5nZSgxMDAwMCwgMTEw MDApOw0KPiArICAgICAgICAgICAgICAgaW50X3N0YXR1c1syXSA9IGl0NjUwNV9yZWFkKGl0NjUw NSwgSU5UX1NUQVRVU18wMyk7DQo+ICsgICAgICAgICAgICAgICByZWdfMGQgPSBpdDY1MDVfcmVh ZChpdDY1MDUsIFJFR19TWVNURU1fU1RTKTsNCj4gKyAgICAgICAgICAgICAgIGl0NjUwNV93cml0 ZShpdDY1MDUsIElOVF9TVEFUVVNfMDMsIGludF9zdGF0dXNbMl0pOw0KPiArDQo+ICsgICAgICAg ICAgICAgICBEUk1fREVWX0RFQlVHX0RSSVZFUihkZXYsICJyZWcwOCA9IDB4JTAyeCIsIGludF9z dGF0dXNbMl0pOw0KPiArICAgICAgICAgICAgICAgRFJNX0RFVl9ERUJVR19EUklWRVIoZGV2LCAi cmVnMEQgPSAweCUwMngiLCByZWdfMGQpOw0KPiArDQo+ICsgICAgICAgICAgICAgICBpZiAoKHJl Z18wZCAmIFZJREVPX1NUQikgJiYgKHJlZ18wZCA+PSAwKSkNCj4gKyAgICAgICAgICAgICAgICAg ICAgICAgYnJlYWs7DQo+ICsNCj4gKyAgICAgICAgICAgICAgIGlmIChpdDY1MDVfaXNfdmlkZW9f ZXJyb3JfaW50KGludF9zdGF0dXMpKSB7DQo+ICsgICAgICAgICAgICAgICAgICAgICAgIGl0NjUw NV92aWRlb19yZXNldChpdDY1MDUpOw0KPiArICAgICAgICAgICAgICAgICAgICAgICBEUk1fREVW X0RFQlVHX0RSSVZFUihkZXYsICJWaWRlbyBFcnJvciByZXNldCB3YWl0IHZpZGVvICglZCkiLCBp KTsNCj4gK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