drm/tegra: dc: Add Tegra210 support
authorThierry Reding <treding@nvidia.com>
Fri, 27 Mar 2015 09:31:58 +0000 (10:31 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 13 Aug 2015 11:47:41 +0000 (13:47 +0200)
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/dc.c
drivers/gpu/drm/tegra/drm.c

index 8229b3f8213aab43cd3c5ba7cd60b1ef49a93522..f05ec4f0f1b7997896aced52be9df5ae802880d0 100644 (file)
@@ -1828,8 +1828,20 @@ static const struct tegra_dc_soc_info tegra124_dc_soc_info = {
        .has_powergate = true,
 };
 
+static const struct tegra_dc_soc_info tegra210_dc_soc_info = {
+       .supports_border_color = false,
+       .supports_interlacing = true,
+       .supports_cursor = true,
+       .supports_block_linear = true,
+       .pitch_align = 64,
+       .has_powergate = true,
+};
+
 static const struct of_device_id tegra_dc_of_match[] = {
        {
+               .compatible = "nvidia,tegra210-dc",
+               .data = &tegra210_dc_soc_info,
+       }, {
                .compatible = "nvidia,tegra124-dc",
                .data = &tegra124_dc_soc_info,
        }, {
index 2965783fd0f8f63a2a83e2d945b9168fe1b30515..a3898c438ed22af083cc77f54772122c04b8921a 100644 (file)
@@ -1056,6 +1056,7 @@ static const struct of_device_id host1x_drm_subdevs[] = {
        { .compatible = "nvidia,tegra124-dc", },
        { .compatible = "nvidia,tegra124-sor", },
        { .compatible = "nvidia,tegra124-hdmi", },
+       { .compatible = "nvidia,tegra210-dc", },
        { /* sentinel */ }
 };