Tegra DRM device tree bindings

2012-06-26 Thread Thierry Reding
On Tue, Jun 26, 2012 at 11:41:43AM -0600, Stephen Warren wrote: > On 06/26/2012 08:02 AM, Terje Bergstr?m wrote: > > On 26.06.2012 16:41, Thierry Reding wrote: > > > >> On Tue, Jun 26, 2012 at 04:01:05PM +0300, Terje Bergstr?m wrote: > >>> We also assign certain host1x common resources per device

Tegra DRM device tree bindings

2012-06-26 Thread Stephen Warren
On 06/26/2012 08:32 PM, Mark Zhang wrote: >> On 06/26/2012 07:46 PM, Mark Zhang wrote: > On Tue, 26 Jun 2012 12:55:13 +0200 > Thierry Reding wrote: >> ... I'm not sure I understand how information about the carveout would be obtained from the IOMMU API, though. >>> >>> I think th

Tegra DRM device tree bindings

2012-06-26 Thread Stephen Warren
On 06/26/2012 07:46 PM, Mark Zhang wrote: >>> On Tue, 26 Jun 2012 12:55:13 +0200 >>> Thierry Reding wrote: ... >> I'm not sure I understand how information about the carveout would be >> obtained from the IOMMU API, though. > > I think that can be similar with current gart implementation. Define

RE: Tegra DRM device tree bindings

2012-06-26 Thread Mark Zhang
> On 06/26/2012 07:46 PM, Mark Zhang wrote: > >>> On Tue, 26 Jun 2012 12:55:13 +0200 > >>> Thierry Reding wrote: > ... > >> I'm not sure I understand how information about the carveout would be > >> obtained from the IOMMU API, though. > > > > I think that can be similar with current gart implemen

RE: Tegra DRM device tree bindings

2012-06-26 Thread Mark Zhang
> > On Tue, 26 Jun 2012 12:55:13 +0200 > > Thierry Reding wrote: > > > > > > Old Signed by an unknown key > > > > > > Hi, > > > > > > while I haven't got much time to work on the actual code right now, > > > I think it might still be useful if we could get the device tree > > > binding to a point

Tegra DRM device tree bindings

2012-06-26 Thread Terje Bergström
On 26.06.2012 16:41, Thierry Reding wrote: > On Tue, Jun 26, 2012 at 04:01:05PM +0300, Terje Bergstr?m wrote: >> We also assign certain host1x common resources per device by convention, >> f.ex. sync points, channels etc. We currently encode that information in >> the device node (3D uses sync poi

Tegra DRM device tree bindings

2012-06-26 Thread Stephen Warren
On 06/26/2012 01:51 PM, Thierry Reding wrote: > On Tue, Jun 26, 2012 at 12:10:42PM -0600, Stephen Warren wrote: >> On 06/26/2012 04:55 AM, Thierry Reding wrote: >>> Hi, >>> >>> while I haven't got much time to work on the actual code right >>> now, I think it might still be useful if we could get

Tegra DRM device tree bindings

2012-06-26 Thread Hiroshi Doyu
Hi Thierry, On Tue, 26 Jun 2012 12:55:13 +0200 Thierry Reding wrote: > * PGP Signed by an unknown key > > Hi, > > while I haven't got much time to work on the actual code right now, I > think it might still be useful if we could get the device tree binding > to a point where everybody is happy

Tegra DRM device tree bindings

2012-06-26 Thread Terje Bergström
On 26.06.2012 13:55, Thierry Reding wrote: > host1x { > compatible = "nvidia,tegra20-host1x", "simple-bus"; > reg = <0x5000 0x00024000>; > interrupts = <0 64 0x04 /* cop syncpt */ > 0 65 0x04 /* mpcore syncpt */ >

Tegra DRM device tree bindings

2012-06-26 Thread Thierry Reding
On Tue, Jun 26, 2012 at 04:02:24PM +0300, Hiroshi Doyu wrote: > Hi Thierry, > > On Tue, 26 Jun 2012 12:55:13 +0200 > Thierry Reding wrote: > > > * PGP Signed by an unknown key > > > > Hi, > > > > while I haven't got much time to work on the actual code right now, I > > think it might still be

Tegra DRM device tree bindings

2012-06-26 Thread Thierry Reding
On Tue, Jun 26, 2012 at 02:47:56PM +0200, Lucas Stach wrote: > Hello Thierry, > > I still haven't found the time to look at device tree things in detail, > but still some comments inline. Overall I think the tree looks ok and is > a great thing to get started. > > Am Dienstag, den 26.06.2012, 12:

Tegra DRM device tree bindings

2012-06-26 Thread Thierry Reding
On Tue, Jun 26, 2012 at 04:01:05PM +0300, Terje Bergstr?m wrote: > On 26.06.2012 13:55, Thierry Reding wrote: > > > host1x { > > compatible = "nvidia,tegra20-host1x", "simple-bus"; > > reg = <0x5000 0x00024000>; > > interrupts = <0 64 0x04 /* cop syncp

Tegra DRM device tree bindings

2012-06-26 Thread Lucas Stach
Hello Thierry, I still haven't found the time to look at device tree things in detail, but still some comments inline. Overall I think the tree looks ok and is a great thing to get started. Am Dienstag, den 26.06.2012, 12:55 +0200 schrieb Thierry Reding: > Hi, > > while I haven't got much time t

Re: Tegra DRM device tree bindings

2012-06-26 Thread Stephen Warren
On 06/26/2012 01:31 PM, Thierry Reding wrote: > On Tue, Jun 26, 2012 at 11:43:38AM -0600, Stephen Warren wrote: >> On 06/26/2012 07:41 AM, Thierry Reding wrote: >>> On Tue, Jun 26, 2012 at 04:01:05PM +0300, Terje Bergström >>> wrote: On 26.06.2012 13:55, Thierry Reding wrote: >> ... > stat

Re: Tegra DRM device tree bindings

2012-06-26 Thread Stephen Warren
On 06/26/2012 01:27 PM, Thierry Reding wrote: > On Tue, Jun 26, 2012 at 11:41:43AM -0600, Stephen Warren wrote: >> On 06/26/2012 08:02 AM, Terje Bergström wrote: >>> On 26.06.2012 16:41, Thierry Reding wrote: >>> On Tue, Jun 26, 2012 at 04:01:05PM +0300, Terje Bergström wrote: > We a

Re: Tegra DRM device tree bindings

2012-06-26 Thread Stephen Warren
On 06/26/2012 04:55 AM, Thierry Reding wrote: > Hi, > > while I haven't got much time to work on the actual code right now, I > think it might still be useful if we could get the device tree binding > to a point where everybody is happy with it. That'll also save me some > time once I get to writi

Re: Tegra DRM device tree bindings

2012-06-26 Thread Stephen Warren
On 06/26/2012 07:01 AM, Terje Bergström wrote: > On 26.06.2012 13:55, Thierry Reding wrote: ... >> An alternative would be to call of_platform_populate() from the host1x [alternative to making the host1x node contain compatible="simple-bus".] >> driver. This has the advantage that it could integr

Re: Tegra DRM device tree bindings

2012-06-26 Thread Stephen Warren
On 06/26/2012 07:41 AM, Thierry Reding wrote: > On Tue, Jun 26, 2012 at 04:01:05PM +0300, Terje Bergström wrote: >> On 26.06.2012 13:55, Thierry Reding wrote: ... >>> status = "disabled"; >>> >>> gart = <&gart>; >>> >>> /* video-encoding/decoding */ mpe { reg = <0x5404 >>> 0x0004>; interr

Re: Tegra DRM device tree bindings

2012-06-26 Thread Stephen Warren
On 06/26/2012 08:02 AM, Terje Bergström wrote: > On 26.06.2012 16:41, Thierry Reding wrote: > >> On Tue, Jun 26, 2012 at 04:01:05PM +0300, Terje Bergström wrote: >>> We also assign certain host1x common resources per device by convention, >>> f.ex. sync points, channels etc. We currently encode th

Tegra DRM device tree bindings

2012-06-26 Thread Stephen Warren
On 06/26/2012 01:31 PM, Thierry Reding wrote: > On Tue, Jun 26, 2012 at 11:43:38AM -0600, Stephen Warren wrote: >> On 06/26/2012 07:41 AM, Thierry Reding wrote: >>> On Tue, Jun 26, 2012 at 04:01:05PM +0300, Terje Bergstr?m >>> wrote: On 26.06.2012 13:55, Thierry Reding wrote: >> ... > stat

Tegra DRM device tree bindings

2012-06-26 Thread Stephen Warren
On 06/26/2012 01:27 PM, Thierry Reding wrote: > On Tue, Jun 26, 2012 at 11:41:43AM -0600, Stephen Warren wrote: >> On 06/26/2012 08:02 AM, Terje Bergstr?m wrote: >>> On 26.06.2012 16:41, Thierry Reding wrote: >>> On Tue, Jun 26, 2012 at 04:01:05PM +0300, Terje Bergstr?m wrote: > We a

Tegra DRM device tree bindings

2012-06-26 Thread Thierry Reding
Hi, while I haven't got much time to work on the actual code right now, I think it might still be useful if we could get the device tree binding to a point where everybody is happy with it. That'll also save me some time once I get to writing the code because I won't have to redo it over again. =)

Re: Tegra DRM device tree bindings

2012-06-26 Thread Thierry Reding
On Tue, Jun 26, 2012 at 12:10:42PM -0600, Stephen Warren wrote: > On 06/26/2012 04:55 AM, Thierry Reding wrote: > > Hi, > > > > while I haven't got much time to work on the actual code right now, I > > think it might still be useful if we could get the device tree binding > > to a point where ever

Re: Tegra DRM device tree bindings

2012-06-26 Thread Thierry Reding
On Tue, Jun 26, 2012 at 11:46:42AM -0600, Stephen Warren wrote: > On 06/26/2012 07:01 AM, Terje Bergström wrote: > > On 26.06.2012 13:55, Thierry Reding wrote: > ... > >> An alternative would be to call of_platform_populate() from the host1x > > [alternative to making the host1x node contain compa

Re: Tegra DRM device tree bindings

2012-06-26 Thread Thierry Reding
On Tue, Jun 26, 2012 at 11:43:38AM -0600, Stephen Warren wrote: > On 06/26/2012 07:41 AM, Thierry Reding wrote: > > On Tue, Jun 26, 2012 at 04:01:05PM +0300, Terje Bergström wrote: > >> On 26.06.2012 13:55, Thierry Reding wrote: > ... > >>> status = "disabled"; > >>> > >>> gart = <&gart>; > >>> >

Re: Tegra DRM device tree bindings

2012-06-26 Thread Thierry Reding
On Tue, Jun 26, 2012 at 11:41:43AM -0600, Stephen Warren wrote: > On 06/26/2012 08:02 AM, Terje Bergström wrote: > > On 26.06.2012 16:41, Thierry Reding wrote: > > > >> On Tue, Jun 26, 2012 at 04:01:05PM +0300, Terje Bergström wrote: > >>> We also assign certain host1x common resources per device

Tegra DRM device tree bindings

2012-06-26 Thread Stephen Warren
On 06/26/2012 04:55 AM, Thierry Reding wrote: > Hi, > > while I haven't got much time to work on the actual code right now, I > think it might still be useful if we could get the device tree binding > to a point where everybody is happy with it. That'll also save me some > time once I get to writi

Tegra DRM device tree bindings

2012-06-26 Thread Stephen Warren
On 06/26/2012 07:01 AM, Terje Bergstr?m wrote: > On 26.06.2012 13:55, Thierry Reding wrote: ... >> An alternative would be to call of_platform_populate() from the host1x [alternative to making the host1x node contain compatible="simple-bus".] >> driver. This has the advantage that it could integr

Tegra DRM device tree bindings

2012-06-26 Thread Stephen Warren
On 06/26/2012 07:41 AM, Thierry Reding wrote: > On Tue, Jun 26, 2012 at 04:01:05PM +0300, Terje Bergstr?m wrote: >> On 26.06.2012 13:55, Thierry Reding wrote: ... >>> status = "disabled"; >>> >>> gart = <&gart>; >>> >>> /* video-encoding/decoding */ mpe { reg = <0x5404 >>> 0x0004>; interr

Tegra DRM device tree bindings

2012-06-26 Thread Stephen Warren
On 06/26/2012 08:02 AM, Terje Bergstr?m wrote: > On 26.06.2012 16:41, Thierry Reding wrote: > >> On Tue, Jun 26, 2012 at 04:01:05PM +0300, Terje Bergstr?m wrote: >>> We also assign certain host1x common resources per device by convention, >>> f.ex. sync points, channels etc. We currently encode th

Re: Tegra DRM device tree bindings

2012-06-26 Thread Terje Bergström
On 26.06.2012 16:41, Thierry Reding wrote: > On Tue, Jun 26, 2012 at 04:01:05PM +0300, Terje Bergström wrote: >> We also assign certain host1x common resources per device by convention, >> f.ex. sync points, channels etc. We currently encode that information in >> the device node (3D uses sync poi

Re: Tegra DRM device tree bindings

2012-06-26 Thread Hiroshi Doyu
Hi Thierry, On Tue, 26 Jun 2012 12:55:13 +0200 Thierry Reding wrote: > * PGP Signed by an unknown key > > Hi, > > while I haven't got much time to work on the actual code right now, I > think it might still be useful if we could get the device tree binding > to a point where everybody is happy

Re: Tegra DRM device tree bindings

2012-06-26 Thread Terje Bergström
On 26.06.2012 13:55, Thierry Reding wrote: > host1x { > compatible = "nvidia,tegra20-host1x", "simple-bus"; > reg = <0x5000 0x00024000>; > interrupts = <0 64 0x04 /* cop syncpt */ > 0 65 0x04 /* mpcore syncpt */ >

Re: Tegra DRM device tree bindings

2012-06-26 Thread Thierry Reding
On Tue, Jun 26, 2012 at 04:02:24PM +0300, Hiroshi Doyu wrote: > Hi Thierry, > > On Tue, 26 Jun 2012 12:55:13 +0200 > Thierry Reding wrote: > > > * PGP Signed by an unknown key > > > > Hi, > > > > while I haven't got much time to work on the actual code right now, I > > think it might still be

Re: Tegra DRM device tree bindings

2012-06-26 Thread Thierry Reding
On Tue, Jun 26, 2012 at 02:47:56PM +0200, Lucas Stach wrote: > Hello Thierry, > > I still haven't found the time to look at device tree things in detail, > but still some comments inline. Overall I think the tree looks ok and is > a great thing to get started. > > Am Dienstag, den 26.06.2012, 12:

Re: Tegra DRM device tree bindings

2012-06-26 Thread Thierry Reding
On Tue, Jun 26, 2012 at 04:01:05PM +0300, Terje Bergström wrote: > On 26.06.2012 13:55, Thierry Reding wrote: > > > host1x { > > compatible = "nvidia,tegra20-host1x", "simple-bus"; > > reg = <0x5000 0x00024000>; > > interrupts = <0 64 0x04 /* cop syncp

Re: Tegra DRM device tree bindings

2012-06-26 Thread Lucas Stach
Hello Thierry, I still haven't found the time to look at device tree things in detail, but still some comments inline. Overall I think the tree looks ok and is a great thing to get started. Am Dienstag, den 26.06.2012, 12:55 +0200 schrieb Thierry Reding: > Hi, > > while I haven't got much time t

Tegra DRM device tree bindings

2012-06-26 Thread Thierry Reding
Hi, while I haven't got much time to work on the actual code right now, I think it might still be useful if we could get the device tree binding to a point where everybody is happy with it. That'll also save me some time once I get to writing the code because I won't have to redo it over again. =)

<    1   2