Skip to contentSkip to conversation

drm: Add NVIDIA Tegra30 support

PATCH In review Mark Zhang 2 participants 4 messages Nov 20, 2012

Subsystems (3)
lore
Share & tools
lore

Mark Zhang

author
#0 lore raw

PATCH v2 1/1 drm: Add NVIDIA Tegra30 support

This patch is based on Thierry's drm patch for Tegra20:
- [PATCH v2 0/6] Device tree updates for host1x support
- [PATCH v3 0/2] NVIDIA Tegra DRM driver

It adds the support for NVIDIA Tegra30.

---
 drivers/gpu/drm/tegra/dc.c     |    1 +
 drivers/gpu/drm/tegra/host1x.c |    3 +++
 2 files changed, 4 insertions(+)
drivers/gpu/drm/tegra/dc.c +1 -0
index 53b9852..37bd759 100644
@@ -818,6 +818,7 @@ static int tegra_dc_remove(struct platform_device *pdev)
 }
 
 static struct of_device_id tegra_dc_of_match[] = {
+	{ .compatible = "nvidia,tegra30-dc", },
 	{ .compatible = "nvidia,tegra20-dc", },
 	{ },
 };
drivers/gpu/drm/tegra/host1x.c +3 -0
index 1f728cd..28c28ac 100644
@@ -66,6 +66,8 @@ static int host1x_remove_drm_client(struct host1x *host1x,
 static int host1x_parse_dt(struct host1x *host1x)
 {
 	static const char * const compat[] = {
+		"nvidia,tegra30-dc",
+		"nvidia,tegra30-hdmi",
 		"nvidia,tegra20-dc",
 		"nvidia,tegra20-hdmi",
 	};
@@ -268,6 +270,7 @@ int host1x_unregister_client(struct host1x *host1x,
 }
 
 static struct of_device_id tegra_host1x_of_match[] = {
+	{ .compatible = "nvidia,tegra30-host1x", },
 	{ .compatible = "nvidia,tegra20-host1x", },
 	{ },
 };
Signature · 1 line
1.7.9.5
author
#1 lore raw

Stephen & Thierry,

I downloaded all patches from patchwork so right now it should not have space issues.

Mark

Quoted 46 lines · Mark Zhang

This patch is based on Thierry's drm patch for Tegra20:
- [PATCH v2 0/6] Device tree updates for host1x support
- [PATCH v3 0/2] NVIDIA Tegra DRM driver

It adds the support for NVIDIA Tegra30.

---
 drivers/gpu/drm/tegra/dc.c     |    1 +
 drivers/gpu/drm/tegra/host1x.c |    3 +++
 2 files changed, 4 insertions(+)
drivers/gpu/drm/tegra/dc.c +1 -0
index 53b9852..37bd759 100644
@@ -818,6 +818,7 @@ static int tegra_dc_remove(struct platform_device *pdev)
 }
 
 static struct of_device_id tegra_dc_of_match[] = {
+	{ .compatible = "nvidia,tegra30-dc", },
 	{ .compatible = "nvidia,tegra20-dc", },
 	{ },
 };
drivers/gpu/drm/tegra/host1x.c +3 -0
index 1f728cd..28c28ac 100644
@@ -66,6 +66,8 @@ static int host1x_remove_drm_client(struct host1x *host1x,
 static int host1x_parse_dt(struct host1x *host1x)
 {
 	static const char * const compat[] = {
+		"nvidia,tegra30-dc",
+		"nvidia,tegra30-hdmi",
 		"nvidia,tegra20-dc",
 		"nvidia,tegra20-hdmi",
 	};
@@ -268,6 +270,7 @@ int host1x_unregister_client(struct host1x *host1x,
 }
 
 static struct of_device_id tegra_host1x_of_match[] = {
+	{ .compatible = "nvidia,tegra30-host1x", },
 	{ .compatible = "nvidia,tegra20-host1x", },
 	{ },
 };
#2 lore raw
In reply to Mark Zhang
Quoted 7 lines · Mark Zhang

This patch is based on Thierry's drm patch for Tegra20:
- [PATCH v2 0/6] Device tree updates for host1x support
- [PATCH v3 0/2] NVIDIA Tegra DRM driver

It adds the support for NVIDIA Tegra30.

Hi Mark,

I already carry an equivalent patch in both my tegra/next and tegra/drm/for-3.8 branches, thanks.

Thierry

author
#3 lore raw

All right. I guess you might already have this, just sent this to make things clear.

Quoted 21 lines · Thierry Reding

* PGP Signed by an unknown key

Quoted 7 lines · Mark Zhang

This patch is based on Thierry's drm patch for Tegra20:
- [PATCH v2 0/6] Device tree updates for host1x support
- [PATCH v3 0/2] NVIDIA Tegra DRM driver

It adds the support for NVIDIA Tegra30.

Hi Mark,

I already carry an equivalent patch in both my tegra/next and tegra/drm/for-3.8 branches, thanks.

Thierry

* Unknown Key
* 0x7F3EB3A1