Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2529007pxp; Sun, 13 Mar 2022 21:38:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxocQjRaqx8PyJqmKlie2UzWhqu/pbhfr6Bob7AueHfAzIxCxrR4NP9QOxToz9dxlOkKLVp X-Received: by 2002:a05:6a00:2481:b0:4f6:b71f:3330 with SMTP id c1-20020a056a00248100b004f6b71f3330mr21958661pfv.47.1647232682309; Sun, 13 Mar 2022 21:38:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647232682; cv=none; d=google.com; s=arc-20160816; b=pCoqqIl8bSvCzf9sjujoxSQVySZWZbaiEY/Rk89UxxJfRXVdvmVKiGh07q22LGxbiu +NnXR6jABxmC0EQACebxVeFhAzoTY+wO4srXGde99yOOmBCmWnBxfDL79jTC/MwXKkQ2 oCrE3Xi/Xc27yNN/vN9BDH9CR6KCoBP29jTXcWR3IGOf+uFzZ9KiJcpxjx4pgqnHdWDt 3G7pEqmd7rmvXrn7BRIaIOhAYBH6ujE12QG6IDfOT6DkdS1Ori6VlkTJ4crd06SCtxsx UcolOqe+fuM5n1/UI1nlaAbuSpOT7uXvmHmrK0fiH76w5Ce6BVplEnqv5qf9xATRw9D5 oLpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=MdfBfkBUpL2bSvoudLMFBEa9b6pECpCEDNH8K1hwrao=; b=r5tVbWQfqkQZghl5J2QRZkaAjXz7XxqhPqotITG3V1PytEQsTv+w/MD6B0xDSkZg4o OPuPxRJrh63TOT4WCvexmm8LWeXjA58g7B+LgOsjMXI1bY89LyBI7gmh/ByrKTpGiDr7 vXrAGztTCUuSoBNyIwIJwDxxGQj80e5BXxTo1CRv30WJndN1+084P0YJBeHPztNIoxJB Jb47X4IaPCT125q4TE6wMusFx2nvKxqcxJSMYkzywrujUVAa7uXxm6X91kf0Xlaahj3S QtpnlqdJzQQOn30H5WJRqktBVibgHmOuNzM6UVV5YUDGY9QTsDwMYka2sNZ54pzw9twG QWeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=L2N2Stlx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g28-20020a63565c000000b0036c2db3654asi14970292pgm.720.2022.03.13.21.37.49; Sun, 13 Mar 2022 21:38:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=L2N2Stlx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234114AbiCMQQG (ORCPT + 99 others); Sun, 13 Mar 2022 12:16:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229983AbiCMQQE (ORCPT ); Sun, 13 Mar 2022 12:16:04 -0400 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A1FE35DC0 for ; Sun, 13 Mar 2022 09:14:56 -0700 (PDT) Received: by mail-lj1-x236.google.com with SMTP id q10so18623282ljc.7 for ; Sun, 13 Mar 2022 09:14:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=MdfBfkBUpL2bSvoudLMFBEa9b6pECpCEDNH8K1hwrao=; b=L2N2StlxKHhQG9J2PUUQ8BMT81Woo2WARfqwCCCaRsZCgYrB8qKZW7nYAVcxEV0MvG tAmI14/Fy2JGdqKqs3PVqlGuqRQ8BpIEoEsS7WIDwUntQH4fhtauk18n+SdaBbTbknEg T43aEH7UMyT7VepC/Q6G9X121xGeTZWPVzIIumRjSQd+j/Vsp8I3qJKLKqIHRBdZT7HA IFOc9cqMtBzSi/mt6pNoqCZZ9zAy3mGmED4YPsP4Q4Bi1DVExMV9Xnghx4G6cvj1mZcn G+f98Oe6HB9hQIR/VdLOmejfPMCiVKHSSa//IqLdDWqFJHs/Hn1z4ifHEnaaCzJ5VGYV oyIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=MdfBfkBUpL2bSvoudLMFBEa9b6pECpCEDNH8K1hwrao=; b=Qf1Ly8l6z4JIiLXxmLy/U0mLrbzGg81EowudykcqY14QSdHdu+mnPdmNcB2TGWi6Ty YWFuTP1iiQzOneyqtWjvVQWHL2KWVd3FydMF+jasCOb7p+oWxSr0SbE8OmMWp2OcMzPe yj/Le5HZvRZaewEHNYYRCOVEKx72u59EPRK6eZn+sZQ8u8Ah04AeqqgalLMvcbwpDf7U cxL4mXPLOhAMSj3CTe7wRfevPGqU1UHaZUvNNUx54HyQgfAcQTd69ohdYIatN9/lQZbS K5hRE14uPiD4g3M++XKjyjdAflSHd5Y91JoDdnWT8BWxJnp6UiegcYOYZXMDFoee1G0R DhQw== X-Gm-Message-State: AOAM532bmPKCGDh8vyst8U6XWkbJMY2DX9jOCZ7CnF1df4nSpLIffpkU J2qiJ4buNEMG7In41d7pL7Q= X-Received: by 2002:a2e:320c:0:b0:247:ec95:fdea with SMTP id y12-20020a2e320c000000b00247ec95fdeamr11940110ljy.288.1647188093586; Sun, 13 Mar 2022 09:14:53 -0700 (PDT) Received: from smtpclient.apple (31-178-191-245.dynamic.chello.pl. [31.178.191.245]) by smtp.gmail.com with ESMTPSA id f17-20020a2e1f11000000b00247f8eb86a7sm3158089ljf.108.2022.03.13.09.14.52 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 13 Mar 2022 09:14:53 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: [PATCH] drm/bridge: synopsys/dw-hdmi: set cec clock rate From: Piotr Oniszczuk In-Reply-To: Date: Sun, 13 Mar 2022 17:14:49 +0100 Cc: Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , David Airlie , Daniel Vetter , Pierre-Hugues Husson , Archit Taneja , Sascha Hauer , Robin Murphy , "open list:ARM/Rockchip SoC..." , =?utf-8?Q?Heiko_St=C3=BCbner?= , dri-devel@lists.freedesktop.org, "linux-kernel@vger.kernel.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: <20220126202427.3047814-1-pgwipeout@gmail.com> <3AFD1DD4-AF0A-4ECC-B4F5-E6BD6B9F1BB7@gmail.com> To: Peter Geis X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Wiadomo=C5=9B=C4=87 napisana przez Peter Geis w = dniu 13.03.2022, o godz. 13:56: >=20 >>=20 >=20 > I was worried about that, thanks for testing it. > Can you send me the cec_clk rate before and after this patch? >=20 Here it is: working: enable prepare protect = duty hardware clock count count count rate = accuracy phase cycle enable = --------------------------------------------------------------------------= ----------------------------- clk_hdmi_cec 1 2 0 32743 = 0 0 50000 Y non-working: enable prepare protect = duty hardware clock count count count rate = accuracy phase cycle enable = --------------------------------------------------------------------------= ----------------------------- clk_hdmi_cec 1 2 0 32768 = 0 0 50000 Y dmesg [ 52.745988] cec-dw_hdmi: message 44 timed out [ 54.879307] cec-dw_hdmi: message 44 timed out [ 57.012654] cec-dw_hdmi: message 88 timed out [ 59.145973] cec-dw_hdmi: message 88 timed out player: 2022-03-13 11:04:40.938355 E CECAdapter: = CLinuxCECAdapterCommunication::Write - ioctl CEC_TRANSMIT failed - = tx_status=3D00 errno=3D22 2022-03-13 11:04:40.938366 E CECAdapter: = CLinuxCECAdapterCommunication::Write - ioctl CEC_TRANSMIT failed - = tx_status=3D00 errno=3D22