Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp2086381rdb; Mon, 20 Nov 2023 01:12:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IFY4RAU9NNmhjy/kQZO6dHrISR65kGEFw52y7Vti6qjIxABr9x5o3pslDXro1SyGaQYY95B X-Received: by 2002:a05:6808:6543:b0:3b6:cda9:9f3f with SMTP id fn3-20020a056808654300b003b6cda99f3fmr10068240oib.50.1700471523273; Mon, 20 Nov 2023 01:12:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1700471523; cv=pass; d=google.com; s=arc-20160816; b=g5ZGpmg65pj/XTHc3qzggtXNhsAsWvCGuv1T9aG0w+SPunXMIMDasE7XbezkRxNHMo IONac01Qm9hHeGSrKQnvR9EsJXrGGKPFfl19f72SthrDpah7oEt0e/CP68GBMrg6zpdI Iaa1bP0eIKqyVjBKN53X7p8txUpmMwTIKxeqYfmGu+IaGSNVhkC0ftzJ6QRSKBWLENop 1hDWa9NLTQCJUuoNTZ0R/6E1Na0ZnzpCPC261tFfgVhOvAsJWwOAbuVgdGBP2U9WsGUV qU6+PJu0Wkzp0QRSxPTF4orkjjpr4KP9HcVyugrTv+T1oiZSsioJxUkfdpTDeIE+kjG6 Kb4A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :message-id:date:subject:cc:to:from:dkim-signature; bh=C9a0EpfhZ2nVvzSoynEzyvGwCDqHBkmm9qTg274uUho=; fh=PlsCIO4/DENOsC5nYtVG7VuEufxNqblWNTy+kUuct/8=; b=VMeHAYr6mpyQvubhaq5gm69WdPS3w/wVQGmy4VU5sTewysK0BZXikv4gVMJxf3rp/e uiO8KOU0knW+EJ9eNrF+AO9fBLUhUsdBWmIQCxc2/FyLJDqMZteAhk72SUsQgqmyWm2R i39AM0FgpWYHu/f5tHyOkt7ZZDOnA3nP+wjpxS5jvQtSwvvI8SHfdFetm+bHHJuW7yvV y58sVgOMluB2TdQ57DwBUYPbbvt3X3Rr++yOLE+5pL0cCUQyXM0q5egp1EdkXiasCeio B4Ri31Vpg43e8rk1lEwZWsB03lGhbjJxQV1GAa9Kh7J83jifVZu+lvAAZVprB0UhhojP GVAg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Analogixsemi.onmicrosoft.com header.s=selector2-Analogixsemi-onmicrosoft-com header.b=3cN+D37q; arc=pass (i=1 spf=pass spfdomain=analogixsemi.com dkim=pass dkdomain=analogixsemi.com dmarc=pass fromdomain=analogixsemi.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=analogixsemi.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id t14-20020a65608e000000b005bdf59618dcsi7643565pgu.641.2023.11.20.01.12.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 01:12:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@Analogixsemi.onmicrosoft.com header.s=selector2-Analogixsemi-onmicrosoft-com header.b=3cN+D37q; arc=pass (i=1 spf=pass spfdomain=analogixsemi.com dkim=pass dkdomain=analogixsemi.com dmarc=pass fromdomain=analogixsemi.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=analogixsemi.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id AB19A80A0DDF; Mon, 20 Nov 2023 01:11:57 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232240AbjKTJLd (ORCPT + 99 others); Mon, 20 Nov 2023 04:11:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232040AbjKTJLa (ORCPT ); Mon, 20 Nov 2023 04:11:30 -0500 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2130.outbound.protection.outlook.com [40.107.243.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 201E1AA for ; Mon, 20 Nov 2023 01:11:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Otqisjnb7Bvwli+5CY9W3Cu7q2ctP7gVztY8xmvPVmSrrY5k1Y9ZCFwz1vwv6x4sIJR40K20JsM4MM+r1bY3Cpze2FFffqa4z/S12F8cYVkK8+gzl+Dm86AvslWsNWQGv4x61WNBqzrifzJQu8P1ZmCtd3JCtX9kb2IQEN3t77GWjJ+4UmPGtvDNIbMNa1bjnpKlEqJcPK2eWcmhjYQC/ESE8rFOvgzJAam5c+o+fiK3C9vveQSG+/ZlYmKXpxRxfJbf8e5Sm1OGiHpF/b+4CHChdyBhZgadyFG+Hxfn55bcOaR6JbV0r2ZEXSD+84gCzZI4WM2UDzz8WFUNuzGvbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=C9a0EpfhZ2nVvzSoynEzyvGwCDqHBkmm9qTg274uUho=; b=ebGLKednbvpYrkY3aNc2QOcSqoNkG1dISLxDpjaTeLCoca6hCmuJNqXhvb/RPJub+D4WRIsGf4HgdzXw2QdFdHbAah5d7dYS4tLeH7+anvWyKy5mkQNj17wHc+HKcWrCt71yM4fDZzDZ1Su/M1fXIH3FQ4uMGFrOn0eVtZjs6OKct8Zf/TEFL2c9biOY6ENTyrP+TSTwIJ6qqXh07narItyiJEiKdOavCfdUFlI09pegMVktDfm0wAB5Jigp5vuQr+llbq16H3MlOVH+1jqJSwzddOkK7q4leiWb9jb+nsanSHXituhy/HSVoDkqe2OEoo7A0vx0rToeuqwCpEJarg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=analogixsemi.com; dmarc=pass action=none header.from=analogixsemi.com; dkim=pass header.d=analogixsemi.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Analogixsemi.onmicrosoft.com; s=selector2-Analogixsemi-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=C9a0EpfhZ2nVvzSoynEzyvGwCDqHBkmm9qTg274uUho=; b=3cN+D37quoarmmxPPchQu7isWNu25xvCCGa9izxzNJUASIAjwTW5di3QLHrkjAv+0nx7fOUg3OMCQwpNeb9634ntML1oRXAu60GiAENs9WNCqdpmhY3IQP9t+0i/xuCA5XG7TJlN3DOhjSiWn6VCzQEYQe5rYe2sA43YrYJilTg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=analogixsemi.com; Received: from BY5PR04MB6739.namprd04.prod.outlook.com (2603:10b6:a03:229::8) by BY5PR04MB6706.namprd04.prod.outlook.com (2603:10b6:a03:22e::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7002.27; Mon, 20 Nov 2023 09:11:23 +0000 Received: from BY5PR04MB6739.namprd04.prod.outlook.com ([fe80::6552:26cd:6ff4:9b3d]) by BY5PR04MB6739.namprd04.prod.outlook.com ([fe80::6552:26cd:6ff4:9b3d%4]) with mapi id 15.20.7002.027; Mon, 20 Nov 2023 09:11:22 +0000 From: Xin Ji To: Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter Cc: bliang@analogixsemi.com, qwen@analogixsemi.com, hsinyi@chromium.org, Xin Ji , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] Revert "drm/bridge: Add 200ms delay to wait FW HPD status stable" Date: Mon, 20 Nov 2023 17:10:36 +0800 Message-Id: <20231120091038.284825-1-xji@analogixsemi.com> X-Mailer: git-send-email 2.25.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SGXP274CA0013.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::25) To BY5PR04MB6739.namprd04.prod.outlook.com (2603:10b6:a03:229::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BY5PR04MB6739:EE_|BY5PR04MB6706:EE_ X-MS-Office365-Filtering-Correlation-Id: 241fe919-60e0-44ef-7aaa-08dbe9a8aa10 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: IpDXyibu/TdPuPiCNF5haChhM6kei60FGwyELaRPgGXFKLu0W4cpcyX0PFDHp4Q1N5sofXL8u3PGVoRvwsh7HK1RfBdAw+wAS6NT7tXCfRvoFPwzHoTc2BgzMJ5i4/PcOZgHfrtI7IfCsP/Pc54+8tX1PEFApSfqd7g7DCIGd6+o0ytEcqB41tXIHDkxwrQ6m2zmDaHijGLOoelVg1aIP4vwG+eEON8xKHgZUAy11y/5rctk73VLGhc6NPUb84LxsoPe1Bl+QQKodKT5m/wvqcm4nhNtccERiSqovkd4jWqWTif6llEkgGGRN7y+RcKdohDIv+mjZCLsjFCboXkNjEFKIDWzD5FoDRrYAv0uinwyw6y8Wa65N50vIqauyGj6+QENxDiz5cIIi27z9ZMuosl1+BnyMOAE2Er0mQS1l4fToS7iixVM4DR4JzA/83w227ffsnnreDMlqTmmUGud4p1z/opDAg3U9lVct6EGEAS0kblqcQvrP9213PYRVPrd9wrb8ZusEQ8Og4gLJBFgm3iVoDz0W9a2O5A0909XokpXQfwUfnjSDY3SoeSYVQ1AYRWM5S5555kKfXFw/FjPUpAvYdBgdTVV2HTk9V/hfS79PGYRSqs2wJVJ2QgYKIcl+dBsZyuFKVCHaL7Gl552wg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR04MB6739.namprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(136003)(366004)(396003)(376002)(346002)(39830400003)(230922051799003)(1800799012)(64100799003)(186009)(451199024)(41300700001)(36756003)(86362001)(5660300002)(4744005)(7416002)(2906002)(38350700005)(921008)(6666004)(83380400001)(6512007)(6506007)(478600001)(52116002)(6486002)(26005)(1076003)(2616005)(38100700002)(8676002)(4326008)(8936002)(66476007)(66556008)(316002)(110136005)(66946007);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?ddmri0g+NL9KtnJZIKwDF9lHnQ9afmAL9PVFUQp948nLs7YQE7ZqzoKDOPGR?= =?us-ascii?Q?Y3nONB8BaBVjrGa4KalgKrSLtH1gDxMEXAMD/Naj3kq4XO1qtJVIxaYf3BqA?= =?us-ascii?Q?mMzRN5MF+AKfek2vWO67KZwInEguGwivr5W6HsEvo7e56x5o0Dr12I4ZYL/k?= =?us-ascii?Q?fp94SDxcE5237Ns9jhoeYkiBkcR9GO33z7ndhO17Q4EnokaSlR/o0C9VCR0Q?= =?us-ascii?Q?/KThja0/0T57I9rmd3Qk2RP39c9yKYxgbCO02iZoSOKN8dgFKFr57N6H7ZLD?= =?us-ascii?Q?Da3NsZQWZP47824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XlN5Hjd?= =?us-ascii?Q?AMM3vZCBSZLY3NHsIeRscRXA1mhNy+w7CiSoyvRGImTXgKBhoSTjObOTACGx?= =?us-ascii?Q?0OjloKoUEnHtPqkc+g3rCSfpxuuI6tJpiNqngL8bPTIUpWy5oNmp79kY7im0?= =?us-ascii?Q?6R0ZaPB7FMTmqFzDLXLuRxpKYk17IEo9dKjqGMbDq3uOJ4hcPX9Xcjd0cMMS?= =?us-ascii?Q?O7HMlFX/hrJf19tnQWkqzanny0as3IwA6ffW3/6qoyb8UxCtSZW907+3LIa2?= =?us-ascii?Q?OO9Sr/xFPNuwGdzsfhm4HgXkAZG0By40H04rm+TZ/EAaHamr9w+BC9rcILSd?= =?us-ascii?Q?sDWKtPyT+iyNCcT7XWiXyQSfT1g1PTOryJkSFWdHvgPzVFgzMYP1UPl7Iazf?= =?us-ascii?Q?ywT/2ISwao8Ki7sABN8iqp1IImkfeCx4dWpxambu?= X-OriginatorOrg: analogixsemi.com X-MS-Exchange-CrossTenant-Network-Message-Id: 241fe919-60e0-44ef-7aaa-08dbe9a8aa10 X-MS-Exchange-CrossTenant-AuthSource: BY5PR04MB6739.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Nov 2023 09:11:22.5081 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: b099b0b4-f26c-4cf5-9a0f-d5be9acab205 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: IEQ67VTCEDaS+DWBJNM+zshBkVhKVGPEkklwkykW2yDZsEJh4nTc2A9Uuw1i3ddAuGKv3+z0vhY+E9cOxd+72Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR04MB6706 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Mon, 20 Nov 2023 01:11:58 -0800 (PST) This reverts commit 330140d7319fcc4ec68bd924ea212e476bf12275 200ms delay will cause panel display image later than backlight turn on, revert this patch. Signed-off-by: Xin Ji --- drivers/gpu/drm/bridge/analogix/anx7625.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/drm/bridge/analogix/anx7625.c b/drivers/gpu/drm/bridge/analogix/anx7625.c index 8f740154707d..51abe42c639e 100644 --- a/drivers/gpu/drm/bridge/analogix/anx7625.c +++ b/drivers/gpu/drm/bridge/analogix/anx7625.c @@ -1464,9 +1464,6 @@ static int _anx7625_hpd_polling(struct anx7625_data *ctx, if (ctx->pdata.intp_irq) return 0; - /* Delay 200ms for FW HPD de-bounce */ - msleep(200); - ret = readx_poll_timeout(anx7625_read_hpd_status_p0, ctx, val, ((val & HPD_STATUS) || (val < 0)), -- 2.25.1