]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/memory/tegra/tegra30.c
memory: tegra: Add gr2d and gr3d to DRM IOMMU group
[linux.git] / drivers / memory / tegra / tegra30.c
index 14788fc2f9e88e9e7cc84893d5dbcf27d1c05b0f..8947bee6d0324b9e4744889595d4b388e27f3d2a 100644 (file)
@@ -931,16 +931,19 @@ static const struct tegra_smmu_swgroup tegra30_swgroups[] = {
        { .name = "isp",  .swgroup = TEGRA_SWGROUP_ISP,  .reg = 0x258 },
 };
 
-static const unsigned int tegra30_group_display[] = {
+static const unsigned int tegra30_group_drm[] = {
        TEGRA_SWGROUP_DC,
        TEGRA_SWGROUP_DCB,
+       TEGRA_SWGROUP_G2,
+       TEGRA_SWGROUP_NV,
+       TEGRA_SWGROUP_NV2,
 };
 
 static const struct tegra_smmu_group_soc tegra30_groups[] = {
        {
-               .name = "display",
-               .swgroups = tegra30_group_display,
-               .num_swgroups = ARRAY_SIZE(tegra30_group_display),
+               .name = "drm",
+               .swgroups = tegra30_group_drm,
+               .num_swgroups = ARRAY_SIZE(tegra30_group_drm),
        },
 };