]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit7602fa1d29f5c4e92d6a36e79000a0f55c317a32
treee426d6294466d2b1f713d7add1b6cc228d01261d
parent37826519c4dca037bda5d008b4d687c2e6f8d405
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