mirror of
https://github.com/torvalds/linux.git
synced 2024-12-02 00:51:44 +00:00
drm/tegra: gr2d: Add compatible for Tegra114
Tegra114 has GR2D hardware block, support it by the 2D driver. Tested-by: Anton Bambura <jenneron@protonmail.com> Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
parent
efc8a109e5
commit
3ef170c25b
@ -1304,6 +1304,7 @@ static const struct of_device_id host1x_drm_subdevs[] = {
|
||||
{ .compatible = "nvidia,tegra114-dc", },
|
||||
{ .compatible = "nvidia,tegra114-dsi", },
|
||||
{ .compatible = "nvidia,tegra114-hdmi", },
|
||||
{ .compatible = "nvidia,tegra114-gr2d", },
|
||||
{ .compatible = "nvidia,tegra114-gr3d", },
|
||||
{ .compatible = "nvidia,tegra124-dc", },
|
||||
{ .compatible = "nvidia,tegra124-sor", },
|
||||
|
@ -161,7 +161,12 @@ static const struct gr2d_soc tegra30_gr2d_soc = {
|
||||
.version = 0x30,
|
||||
};
|
||||
|
||||
static const struct gr2d_soc tegra114_gr2d_soc = {
|
||||
.version = 0x35,
|
||||
};
|
||||
|
||||
static const struct of_device_id gr2d_match[] = {
|
||||
{ .compatible = "nvidia,tegra114-gr2d", .data = &tegra114_gr2d_soc },
|
||||
{ .compatible = "nvidia,tegra30-gr2d", .data = &tegra30_gr2d_soc },
|
||||
{ .compatible = "nvidia,tegra20-gr2d", .data = &tegra20_gr2d_soc },
|
||||
{ },
|
||||
|
Loading…
Reference in New Issue
Block a user