OSDN Git Service

drm/tegra: sor: Unify eDP and DP support
authorThierry Reding <treding@nvidia.com>
Thu, 27 Jun 2019 10:34:57 +0000 (12:34 +0200)
committerThierry Reding <treding@nvidia.com>
Mon, 28 Oct 2019 10:18:56 +0000 (11:18 +0100)
commitd278e4a9714d9c52429e670c5a3cf2e7ad7e67f9
treeebd872f7077840144ff245966519b240d8f010a2
parentd23691f647855ff765c67d281ec73c59104d9eb1
drm/tegra: sor: Unify eDP and DP support

The SOR0 on Tegra210 does, contrary to what was previously assumed, in
fact support DisplayPort. The difference between SOR0 and SOR1 is that
the latter supports audio and HDCP over DP, whereas the former doesn't.

The code for eDP and DP is now almost identical and the differences can
easily be parameterized based on the presence of a panel. There is no
need any longer to duplicate the code.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/sor.c