]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: Tightly bind RGB output to DC
authorThierry Reding <treding@nvidia.com>
Wed, 30 Oct 2013 08:55:33 +0000 (09:55 +0100)
committerThierry Reding <treding@nvidia.com>
Tue, 3 Dec 2013 09:04:22 +0000 (10:04 +0100)
commitbdfbcb0b0f3f4f321d772b86aa53177aecab8ce2
treee426d6294466d2b1f713d7add1b6cc228d01261d
parenta7e0fd00cf443862d7a33dbc9422e04297b610a6
drm/tegra: Tightly bind RGB output to DC

Previously the association to a DC was done via the encoder's .crtc
field. That has the disadvantage that when an encoder is detached from
its CRTC, that field is set to NULL, leading to situations where it is
impossible to access the DC registers required by the RGB output.

However, the coupling between DC and RGB output is really fixed on
Tegra. While they can be detached logically in DRM, the RGB output can
rely on the DC's existence.

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