drm/tegra: Add Tegra186 display hub support
authorThierry Reding <treding@nvidia.com>
Mon, 13 Nov 2017 10:08:13 +0000 (11:08 +0100)
committerThierry Reding <treding@nvidia.com>
Wed, 13 Dec 2017 13:16:37 +0000 (14:16 +0100)
commitc4755fb9064f64083fe559e92a46df817fc5e07b
tree4e5f79fbdeb8fa7bf9a886a30f5168a25186db14
parent5acd351427361131c583dfb11c7bf4c364c98a9b
drm/tegra: Add Tegra186 display hub support

The display architecture has changed in several significant ways with
the new Tegra186 SoC. Shared between all display controllers is a set
of common resources referred to as the display hub. The hub generates
accesses to memory and feeds them into various composition pipelines,
each of which being a window that can be assigned to arbitrary heads.

Atomic state is subclassed in order to track the global bandwidth
requirements and select and adjust the hub clocks appropriately. The
plane code is shared to a large degree with earlier SoC generations,
except where the programming differs.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/Makefile
drivers/gpu/drm/tegra/dc.c
drivers/gpu/drm/tegra/dc.h
drivers/gpu/drm/tegra/drm.c
drivers/gpu/drm/tegra/drm.h
drivers/gpu/drm/tegra/hub.c [new file with mode: 0644]
drivers/gpu/drm/tegra/hub.h [new file with mode: 0644]
drivers/gpu/drm/tegra/plane.h