drm/tegra: dc: Support background color
authorThierry Reding <treding@nvidia.com>
Mon, 13 Nov 2017 10:20:48 +0000 (11:20 +0100)
committerThierry Reding <treding@nvidia.com>
Wed, 13 Dec 2017 12:42:09 +0000 (13:42 +0100)
commit7116e9a8022cd468a6a952e1d0d662da73f75ce5
tree43cdeb873e4172c58e5c30c19ee8469317a99f42
parent9b49f674eb205f9a01638ffc4b6add49741955ad
drm/tegra: dc: Support background color

Starting with Tegra124, the interface to set the background color (the
value generated for pixels that are not sourced from any window) is via
a different register. Earlier generations called this the border color.
Reverse the feature flag and assume that IP revisions that don't have
support for background color will support border color instead.

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