[PATCH v1 1/2] drm/tegra: dc: rgb: Move PCLK shifter programming to CRTC
Thierry Reding
thierry.reding at gmail.com
Wed Oct 6 18:10:45 UTC 2021
On Thu, Sep 30, 2021 at 01:28:04AM +0300, Dmitry Osipenko wrote:
> Asus TF700T tablet uses TC358768 DPI->DSI bridge that sits between Tegra's
> DPI output and display panel input. Bridge requires to have stable PCLK
> output before RGB encoder is enabled because it uses PCLK by itself to
> clock internal logic and bridge is programmed before Tegra's encoder is
> enabled. Hence the PCLK clock shifter must be programmed when CRTC is
> enabled, otherwise clock is unstable and bridge hangs because of it.
> Move the shifter programming from RGB encoder into CRTC.
>
> Tested-by: Maxim Schwalm <maxim.schwalm at gmail.com> #TF700T
> Signed-off-by: Dmitry Osipenko <digetx at gmail.com>
> ---
> drivers/gpu/drm/tegra/dc.c | 6 ++++++
> drivers/gpu/drm/tegra/rgb.c | 4 ----
> 2 files changed, 6 insertions(+), 4 deletions(-)
Applied, thanks.
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20211006/bb273e9e/attachment.sig>
More information about the dri-devel
mailing list