]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: Refactor CEC support
authorThierry Reding <treding@nvidia.com>
Mon, 10 Dec 2018 16:34:54 +0000 (17:34 +0100)
committerThierry Reding <treding@nvidia.com>
Wed, 16 Jan 2019 12:09:32 +0000 (13:09 +0100)
commitcd6a4d204f1333b9c9b8071097bf2175cace87f7
treed1f60e7ff96a89fc3f73fda27172a761ae76ac7b
parentd6952d4b95d3a6897fcea7446c97f59f8d24556b
drm/tegra: Refactor CEC support

Most of the CEC support code already lives in the "output" library code.
Move registration and unregistration to the library code as well to make
use of the same code with HDMI on Tegra210 and later via the SOR.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/drm.h
drivers/gpu/drm/tegra/hdmi.c
drivers/gpu/drm/tegra/output.c