]> 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)
commit7ab6e20e854fbae34b34d22b79ece80e44f32f46
treed1f60e7ff96a89fc3f73fda27172a761ae76ac7b
parentf9bb4b753eb00c02014e4467a28609f4f6ac7f88
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