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)
commitf25d0a68beb868147571e395de52ced0c55f6cd4
treed1f60e7ff96a89fc3f73fda27172a761ae76ac7b
parentbfeffd155283772bbe78c6a05dec7c0128ee500c
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