linux-tegra.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2] drm: Add NVIDIA Tegra30 support
@ 2012-11-20  7:26 Mark Zhang
       [not found] ` <1353396376-24121-1-git-send-email-markz-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
  2012-11-20  7:37 ` Thierry Reding
  0 siblings, 2 replies; 4+ messages in thread
From: Mark Zhang @ 2012-11-20  7:26 UTC (permalink / raw)
  To: airlied-cv59FeDIM0c,
	thierry.reding-RM9K5IK7kjKj5M59NBduVrNAH6kLmebB,
	swarren-DDmLM1+adcrQT0dZR+AlfA
  Cc: dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA, 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.

Signed-off-by: Mark Zhang <markz-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
---
 drivers/gpu/drm/tegra/dc.c     |    1 +
 drivers/gpu/drm/tegra/host1x.c |    3 +++
 2 files changed, 4 insertions(+)

diff --git a/drivers/gpu/drm/tegra/dc.c b/drivers/gpu/drm/tegra/dc.c
index 53b9852..37bd759 100644
--- a/drivers/gpu/drm/tegra/dc.c
+++ b/drivers/gpu/drm/tegra/dc.c
@@ -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", },
 	{ },
 };
diff --git a/drivers/gpu/drm/tegra/host1x.c b/drivers/gpu/drm/tegra/host1x.c
index 1f728cd..28c28ac 100644
--- a/drivers/gpu/drm/tegra/host1x.c
+++ b/drivers/gpu/drm/tegra/host1x.c
@@ -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", },
 	{ },
 };
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH V2] drm: Add NVIDIA Tegra30 support
       [not found] ` <1353396376-24121-1-git-send-email-markz-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
@ 2012-11-20  7:33   ` Mark Zhang
  0 siblings, 0 replies; 4+ messages in thread
From: Mark Zhang @ 2012-11-20  7:33 UTC (permalink / raw)
  To: Mark Zhang
  Cc: airlied-cv59FeDIM0c@public.gmane.org,
	thierry.reding-RM9K5IK7kjKj5M59NBduVrNAH6kLmebB@public.gmane.org,
	Stephen Warren,
	dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

Stephen & Thierry,

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

Mark
On 11/20/2012 03:26 PM, Mark Zhang wrote:
> 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.
> 
> Signed-off-by: Mark Zhang <markz-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> ---
>  drivers/gpu/drm/tegra/dc.c     |    1 +
>  drivers/gpu/drm/tegra/host1x.c |    3 +++
>  2 files changed, 4 insertions(+)
> 
> diff --git a/drivers/gpu/drm/tegra/dc.c b/drivers/gpu/drm/tegra/dc.c
> index 53b9852..37bd759 100644
> --- a/drivers/gpu/drm/tegra/dc.c
> +++ b/drivers/gpu/drm/tegra/dc.c
> @@ -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", },
>  	{ },
>  };
> diff --git a/drivers/gpu/drm/tegra/host1x.c b/drivers/gpu/drm/tegra/host1x.c
> index 1f728cd..28c28ac 100644
> --- a/drivers/gpu/drm/tegra/host1x.c
> +++ b/drivers/gpu/drm/tegra/host1x.c
> @@ -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", },
>  	{ },
>  };
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH V2] drm: Add NVIDIA Tegra30 support
  2012-11-20  7:26 [PATCH V2] drm: Add NVIDIA Tegra30 support Mark Zhang
       [not found] ` <1353396376-24121-1-git-send-email-markz-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
@ 2012-11-20  7:37 ` Thierry Reding
  2012-11-20  7:42   ` Mark Zhang
  1 sibling, 1 reply; 4+ messages in thread
From: Thierry Reding @ 2012-11-20  7:37 UTC (permalink / raw)
  To: Mark Zhang; +Cc: airlied, swarren, dri-devel, linux-kernel, linux-tegra

[-- Attachment #1: Type: text/plain, Size: 447 bytes --]

On Tue, Nov 20, 2012 at 03:26:16PM +0800, Mark Zhang wrote:
> 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.
> 
> Signed-off-by: Mark Zhang <markz@nvidia.com>

Hi Mark,

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

Thierry

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH V2] drm: Add NVIDIA Tegra30 support
  2012-11-20  7:37 ` Thierry Reding
@ 2012-11-20  7:42   ` Mark Zhang
  0 siblings, 0 replies; 4+ messages in thread
From: Mark Zhang @ 2012-11-20  7:42 UTC (permalink / raw)
  To: Thierry Reding
  Cc: linux-tegra@vger.kernel.org, Stephen Warren,
	linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org

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

On 11/20/2012 03:37 PM, Thierry Reding wrote:
> * PGP Signed by an unknown key
> 
> On Tue, Nov 20, 2012 at 03:26:16PM +0800, Mark Zhang wrote:
>> 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.
>>
>> Signed-off-by: Mark Zhang <markz@nvidia.com>
> 
> 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
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-11-20  7:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-20  7:26 [PATCH V2] drm: Add NVIDIA Tegra30 support Mark Zhang
     [not found] ` <1353396376-24121-1-git-send-email-markz-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2012-11-20  7:33   ` Mark Zhang
2012-11-20  7:37 ` Thierry Reding
2012-11-20  7:42   ` Mark Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).