Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp164184pxa; Fri, 21 Aug 2020 04:15:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8Lukwpn1s7ND2ta+nmekWSVTOnrzlDyrUN3fhwMdjwiA+/RsKvDbtgLYZeA81bi11DVCZ X-Received: by 2002:a17:906:e24f:: with SMTP id gq15mr2365200ejb.46.1598008534460; Fri, 21 Aug 2020 04:15:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598008534; cv=none; d=google.com; s=arc-20160816; b=fovGnL2XhYqIYBNQHVmtzRf6MiIsTneunJQXq4kqzOKgOaXI6mzC9SHd4BgMzQOama OVXrPVXG+IM3YXYO+svQ1zrk/ruMXEdBW2/SdqhBXtLaitCjnRKIWatu74MKZPSN6e0b 55rHsDUmN7a6F521MaZ9mleQBluwRYA16zxX1Nhz0bU8hD4YUliDDQeft50Rtdpyewc4 pUQW+NnvUsLmq7DRP1c3liBQ5S40+kMN9dpLlY3l8ZHhOMX6fVbJLucMui/jM1IUEu0C YJZytp3oiKmAq0puTEah83tFdMyE7YidEEPg7ug4l1iHakcm9KJ9pNcdBWtvjeDlwJJQ bS4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:references :in-reply-to:sensitivity:importance:date:subject:cc:to:from :message-id:mime-version:dkim-signature; bh=3hICDB8bk52dFVQc3BFBE3kOtnHrBZBdOB6EMWbL2iU=; b=C3M/FPBWiTvtIAr4aTTVu2iVML5XXPhedq/Fgi6AEzsnQbbz/OVa4C32i+Us+LvLHf P6k9hiKOhTs5wZnawjuSQPHNfoCUwehoKrbmUrnQ+HCPdw4IccUa9nlsBgjIpK2qjYmR qgLxPx9942vHKOYkHk+7Z7WJonbiAhJVlJA3d9c6xitAVg2jHDmQuytgd87egyqxEx2R AH/vKrKVPy5IhBL8G7KXyTizse0yAlGtnrWAbCcBNJAD4D06igIyaU27Te2FBB6OKvpZ yYzNSOmSxk+bhkdeuJGyTdxEfOrDZ+/6AcXx02UwF6JkXfIQtt26CvR7CQ2WHT5U8j+7 EbXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=hE19nQIK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b16si964280edw.147.2020.08.21.04.15.10; Fri, 21 Aug 2020 04:15:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=hE19nQIK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727899AbgHULOR (ORCPT + 99 others); Fri, 21 Aug 2020 07:14:17 -0400 Received: from mout.gmx.net ([212.227.17.22]:49297 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726907AbgHULOP (ORCPT ); Fri, 21 Aug 2020 07:14:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1598008382; bh=3hICDB8bk52dFVQc3BFBE3kOtnHrBZBdOB6EMWbL2iU=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=hE19nQIKsQiQl/Bzl7LQ4OEg0BX321SpOmsxPONZ3+/OGmWIDrJtEzACdx/bwvqrn 1V3QJtWMg6r/CAXLpCapgK4tvJpc3QUE0t4adpbQOMjV93iFKYylD4IAyd9a79X7+H Sf9g/+pS6ckCNG4Z+JXdJhgG90PS4/ApiohlOoP0= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [185.76.97.101] ([185.76.97.101]) by web-mail.gmx.net (3c-app-gmx-bs37.server.lan [172.19.170.89]) (via HTTP); Fri, 21 Aug 2020 13:13:02 +0200 MIME-Version: 1.0 Message-ID: From: Frank Wunderlich To: frank-w@public-files.de Cc: linux-mediatek@lists.infradead.org, Matthias Brugger , Frank Wunderlich , Chun-Kuang Hu , Daniel Vetter , David Airlie , chunhui dai , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Philipp Zabel , linux-arm-kernel@lists.infradead.org Subject: Aw: Re: [PATCH v5 3/7] drm/mediatek: disable tmds on mt2701 Content-Type: text/plain; charset=UTF-8 Date: Fri, 21 Aug 2020 13:13:02 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <0E911554-482A-47C2-B2C6-136486C5ACB5@public-files.de> References: <20200819081752.4805-1-linux@fw-web.de> <20200819081752.4805-4-linux@fw-web.de> <0E911554-482A-47C2-B2C6-136486C5ACB5@public-files.de> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:qQ4/QXcY7aHug4GJ2xC3UHeSxq5y48c2pvLvlG6DRO/NMKGYWoyQwtVQ37sT6Iw2tCo9j WCKmpdZA+cTKW69yQWXhnYpUZUmALV8zop6WyiuuqnOlgKYjp5SDOuFI4iXNCwt0xaMW577Qsf4d GPoF68X2Ms6m4c7uyd8zyf3lCvsTyHOwKsTRThS9n78XKRGZpOuXSHdczxiiomx7Cb1MK4H/5baj nrYfg8g1zE46ft9EsWJp9+YZy4LaebVzAcJAxu6PPD9DeHN3zUo3QGl95pZbpvqgABWDEm8OI5H6 Pc= X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:YCk7Kw/svWM=:R2+qY8dmS+nNu0rNZbnzI5 zHruvXFt1cp3+5drBm1BUX5H1Bn386hNGlWqkArpNzOQJOUffN0vC0HyeDbmd2r4MwsgB1Yy4 /ucUHi9FUNCGk8qIEokq9vhX0sdKl6ILinIcwT+eZqr1vckoWitNw0WqS3XAnqHfSNf7oUmby xR7KXqgG50c5SjxSuBxybmExGF7grmzVIDeCySvALaE+Vcn5a3Pi6OkIpCyvu/Z1DBguvOHRV wAGhnUMGM31uiFSWEUdyhrIS7gh0cXM8U7e10y+1Ab5QvJ6fUPWveNxlGsFeXcB1V2xzIflkj ThtoiT6G8AEQYr3fLiYgC61i0POskwZyUtXfvpgCMlX7XxwejwnPiP0scWiCdfUgGXgd11jYb 7OUDvTQh5bElHROUdD99eQD5Ip98xnaDMqQC4nUcqsJO+Z8SrLAFUad6rhdqDhoFa9xSYbnpc CsClqD7bocnA8qYJ1+UUsV6qve52+8hecyizFEMdod3Zpab0J6QNLh/svJvy3yw1Zpz2QttDu 3+/jr9QRjPD/jlNify6PeqPMpbBVitnf2EJHyvzAZnbR8Jxgu/u2pGYDoy3Cq21Wye/lS+iIe 5ZNBjTZKhtgyT0dqjLTpD5jVLQ8UclEJHtK4rhef13kRuW2ziFiwzga0LK/LS7CdkAqJz3nbU qWHTQkQULFrybDoWZB5kL3N7zBhgbne3CizYJ7YHnjIV4J1NEiljG4kDa5/KH96QvdYo= Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Gesendet: Mittwoch, 19. August 2020 um 21:04 Uhr > Von: "Frank Wunderlich" > Another way to fix it maybe not enabling it (use the flag in mtk_hdmi_ph= y_power_on) there instead of disabling after enabling it. > > Maybe this is less hacky than current way (as ck hu pointed in v2). seems my last mail is not send right (did not got it from mailinglist and = it's not mapped in patchwork). i tried this approach, but this does not work, with checking the new flag = in mtk_hdmi_phy_power_on and only enabling tmds if this flag is not set re= sults in same behaviour like without the Patch (horizontally distorted ima= ge flickering on 1280x1024) - hdmi_phy->conf->hdmi_phy_enable_tmds(hdmi_phy); + if (!hdmi_phy->conf->pll_default_off) + hdmi_phy->conf->hdmi_phy_enable_tmds(hdmi_phy); seems like tmds needs to be initially enabled and can only disabled later regards Frank