No description
Find a file
Kuogee Hsieh b9de60b683 drm/msm/dp: do not reinitialize phy unless retry during link training
[ Upstream commit 0c1a2e69bc ]

DP PHY re-initialization done using dp_ctrl_reinitialize_mainlink() will
cause PLL unlocked initially and then PLL gets locked at the end of
initialization. PLL_UNLOCKED interrupt will fire during this time if the
interrupt mask is enabled.

However currently DP driver link training implementation incorrectly
re-initializes PHY unconditionally during link training as the PHY was
already configured in dp_ctrl_enable_mainlink_clocks().

Fix this by re-initializing the PHY only if the previous link training
failed.

[drm:dp_aux_isr] *ERROR* Unexpected DP AUX IRQ 0x01000000 when not busy

Fixes: c943b4948b ("drm/msm/dp: add displayPort driver support")
Closes: https://gitlab.freedesktop.org/drm/msm/-/issues/30
Signed-off-by: Kuogee Hsieh <quic_khsieh@quicinc.com>
Tested-by: Abhinav Kumar <quic_abhinavk@quicinc.com> # sc7280
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/551847/
Link: https://lore.kernel.org/r/1691533190-19335-1-git-send-email-quic_khsieh@quicinc.com
[quic_abhinavk@quicinc.com: added line break in commit text]
Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-10-19 23:05:33 +02:00
arch
block
certs
crypto
Documentation KEYS: trusted: allow use of kernel RNG for key material 2023-10-19 23:05:33 +02:00
drivers drm/msm/dp: do not reinitialize phy unless retry during link training 2023-10-19 23:05:33 +02:00
fs quota: Fix slow quotaoff 2023-10-19 23:05:33 +02:00
include KEYS: trusted: allow use of kernel RNG for key material 2023-10-19 23:05:33 +02:00
init
io_uring
ipc
kernel
lib lib/test_meminit: fix off-by-one error in test_pages() 2023-10-19 23:05:33 +02:00
LICENSES
mm
net net: prevent address rewrite in kernel_bind() 2023-10-19 23:05:33 +02:00
samples
scripts
security KEYS: trusted: Remove redundant static calls usage 2023-10-19 23:05:33 +02:00
sound ALSA: usb-audio: Fix microphone sound on Opencomm2 Headset 2023-10-19 23:05:33 +02:00
tools
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.