[PATCH v3 0/2] NVIDIA Tegra DRM driver

2012-11-16 Thread Alex Courbot
On Friday 16 November 2012 11:36:36 Alex Courbot wrote:
> On Friday 16 November 2012 05:28:21 Thierry Reding wrote:
> > This third version of the patch series cleans up some minor issues that
> > were found in the previous versions, such as deferred probe not working
> > properly and the display remaining enabled after the driver is removed.
> > 
> > I've also put the two patches in this series into the tegra/drm/for-3.8
> > branch of my repository on gitorious[0].
> 
> Pulled from your branch and tried to test on my Ventana, but for some reason
> nothing ever gets displayed. The only DRM-related message I ever get in my
> log is
> 
> [0.820483] [drm] Initialized drm 1.1.0 20060810
> 
> Things were working perfectly with v2 - has something changed with e.g. the
> DT bindings?

Argh, the patches that add host1x nodes into tegra20.dtsi were not into your 
for-3.8 branch. Things are fine now, therefore this series is 

Tested-and-acked-by: Alexandre Courbot 

Thanks,
Alex.



[PATCH v3 0/2] NVIDIA Tegra DRM driver

2012-11-16 Thread Alex Courbot
On Friday 16 November 2012 05:28:21 Thierry Reding wrote:
> This third version of the patch series cleans up some minor issues that
> were found in the previous versions, such as deferred probe not working
> properly and the display remaining enabled after the driver is removed.
> 
> I've also put the two patches in this series into the tegra/drm/for-3.8
> branch of my repository on gitorious[0].

Pulled from your branch and tried to test on my Ventana, but for some reason 
nothing ever gets displayed. The only DRM-related message I ever get in my log 
is

[0.820483] [drm] Initialized drm 1.1.0 20060810

Things were working perfectly with v2 - has something changed with e.g. the DT 
bindings?

Alex.



[PATCH v3 0/2] NVIDIA Tegra DRM driver

2012-11-16 Thread Mark Zhang
Thierry,

By the way, when do you plan to send drm patches for Tegra 3?
I'm wondering if you don't have a Tegra 3 board for testing, I can do
that for you.

Mark
On 11/16/2012 05:28 AM, Thierry Reding wrote:
> This third version of the patch series cleans up some minor issues that
> were found in the previous versions, such as deferred probe not working
> properly and the display remaining enabled after the driver is removed.
> 
> I've also put the two patches in this series into the tegra/drm/for-3.8
> branch of my repository on gitorious[0].
> 
> Thierry
> 
> [0]: git://gitorious.org/thierryreding/linux.git
> 
> Thierry Reding (2):
>   drm: Add NVIDIA Tegra20 support
>   drm: tegra: Add HDMI support
> 
>  .../bindings/gpu/nvidia,tegra20-host1x.txt |  191 +++
>  drivers/gpu/drm/Kconfig|2 +
>  drivers/gpu/drm/Makefile   |1 +
>  drivers/gpu/drm/tegra/Kconfig  |   23 +
>  drivers/gpu/drm/tegra/Makefile |7 +
>  drivers/gpu/drm/tegra/dc.c |  833 
>  drivers/gpu/drm/tegra/dc.h |  388 ++
>  drivers/gpu/drm/tegra/drm.c|  115 ++
>  drivers/gpu/drm/tegra/drm.h|  234 
>  drivers/gpu/drm/tegra/fb.c |   56 +
>  drivers/gpu/drm/tegra/hdmi.c   | 1334 
> 
>  drivers/gpu/drm/tegra/hdmi.h   |  575 +
>  drivers/gpu/drm/tegra/host1x.c |  322 +
>  drivers/gpu/drm/tegra/output.c |  272 
>  drivers/gpu/drm/tegra/rgb.c|  228 
>  15 files changed, 4581 insertions(+)
>  create mode 100644 
> Documentation/devicetree/bindings/gpu/nvidia,tegra20-host1x.txt
>  create mode 100644 drivers/gpu/drm/tegra/Kconfig
>  create mode 100644 drivers/gpu/drm/tegra/Makefile
>  create mode 100644 drivers/gpu/drm/tegra/dc.c
>  create mode 100644 drivers/gpu/drm/tegra/dc.h
>  create mode 100644 drivers/gpu/drm/tegra/drm.c
>  create mode 100644 drivers/gpu/drm/tegra/drm.h
>  create mode 100644 drivers/gpu/drm/tegra/fb.c
>  create mode 100644 drivers/gpu/drm/tegra/hdmi.c
>  create mode 100644 drivers/gpu/drm/tegra/hdmi.h
>  create mode 100644 drivers/gpu/drm/tegra/host1x.c
>  create mode 100644 drivers/gpu/drm/tegra/output.c
>  create mode 100644 drivers/gpu/drm/tegra/rgb.c
> 


[PATCH v3 0/2] NVIDIA Tegra DRM driver

2012-11-16 Thread Mark Zhang
Hi Thierry,

Thank you for your hard work.

The series,

Acked-by: Mark Zhang 
Reviewed-by: Mark Zhang 
Tested-by: Mark Zhang 

On Ventana, LVDS and HDMI worked.
PS: Alex's power sequence patch is needed to enable panel and backlight.
Also we need to define dc and hdmi nodes in tegra20-ventana.dts.
We may publish the patches for different boards next.

Mark
On 11/16/2012 05:28 AM, Thierry Reding wrote:
> This third version of the patch series cleans up some minor issues that
> were found in the previous versions, such as deferred probe not working
> properly and the display remaining enabled after the driver is removed.
> 
> I've also put the two patches in this series into the tegra/drm/for-3.8
> branch of my repository on gitorious[0].
> 
> Thierry
> 
> [0]: git://gitorious.org/thierryreding/linux.git
> 
> Thierry Reding (2):
>   drm: Add NVIDIA Tegra20 support
>   drm: tegra: Add HDMI support
> 
>  .../bindings/gpu/nvidia,tegra20-host1x.txt |  191 +++
>  drivers/gpu/drm/Kconfig|2 +
>  drivers/gpu/drm/Makefile   |1 +
>  drivers/gpu/drm/tegra/Kconfig  |   23 +
>  drivers/gpu/drm/tegra/Makefile |7 +
>  drivers/gpu/drm/tegra/dc.c |  833 
>  drivers/gpu/drm/tegra/dc.h |  388 ++
>  drivers/gpu/drm/tegra/drm.c|  115 ++
>  drivers/gpu/drm/tegra/drm.h|  234 
>  drivers/gpu/drm/tegra/fb.c |   56 +
>  drivers/gpu/drm/tegra/hdmi.c   | 1334 
> 
>  drivers/gpu/drm/tegra/hdmi.h   |  575 +
>  drivers/gpu/drm/tegra/host1x.c |  322 +
>  drivers/gpu/drm/tegra/output.c |  272 
>  drivers/gpu/drm/tegra/rgb.c|  228 
>  15 files changed, 4581 insertions(+)
>  create mode 100644 
> Documentation/devicetree/bindings/gpu/nvidia,tegra20-host1x.txt
>  create mode 100644 drivers/gpu/drm/tegra/Kconfig
>  create mode 100644 drivers/gpu/drm/tegra/Makefile
>  create mode 100644 drivers/gpu/drm/tegra/dc.c
>  create mode 100644 drivers/gpu/drm/tegra/dc.h
>  create mode 100644 drivers/gpu/drm/tegra/drm.c
>  create mode 100644 drivers/gpu/drm/tegra/drm.h
>  create mode 100644 drivers/gpu/drm/tegra/fb.c
>  create mode 100644 drivers/gpu/drm/tegra/hdmi.c
>  create mode 100644 drivers/gpu/drm/tegra/hdmi.h
>  create mode 100644 drivers/gpu/drm/tegra/host1x.c
>  create mode 100644 drivers/gpu/drm/tegra/output.c
>  create mode 100644 drivers/gpu/drm/tegra/rgb.c
> 


[PATCH v3 0/2] NVIDIA Tegra DRM driver

2012-11-16 Thread Terje Bergström
On 15.11.2012 23:28, Thierry Reding wrote:
> This third version of the patch series cleans up some minor issues that
> were found in the previous versions, such as deferred probe not working
> properly and the display remaining enabled after the driver is removed.
> 
> I've also put the two patches in this series into the tegra/drm/for-3.8
> branch of my repository on gitorious[0].

Excellent work. Thanks a lot Thierry!

I tested this and the device tree patches on my Tegra20 board. For both:

Acked-by: Terje Bergstrom 
Tested-by: Terje Bergstrom 

Best regards,
Terje



Re: [PATCH v3 0/2] NVIDIA Tegra DRM driver

2012-11-16 Thread Terje Bergström
On 15.11.2012 23:28, Thierry Reding wrote:
> This third version of the patch series cleans up some minor issues that
> were found in the previous versions, such as deferred probe not working
> properly and the display remaining enabled after the driver is removed.
> 
> I've also put the two patches in this series into the tegra/drm/for-3.8
> branch of my repository on gitorious[0].

Excellent work. Thanks a lot Thierry!

I tested this and the device tree patches on my Tegra20 board. For both:

Acked-by: Terje Bergstrom 
Tested-by: Terje Bergstrom 

Best regards,
Terje

___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [PATCH v3 0/2] NVIDIA Tegra DRM driver

2012-11-16 Thread Alex Courbot
On Friday 16 November 2012 11:36:36 Alex Courbot wrote:
> On Friday 16 November 2012 05:28:21 Thierry Reding wrote:
> > This third version of the patch series cleans up some minor issues that
> > were found in the previous versions, such as deferred probe not working
> > properly and the display remaining enabled after the driver is removed.
> > 
> > I've also put the two patches in this series into the tegra/drm/for-3.8
> > branch of my repository on gitorious[0].
> 
> Pulled from your branch and tried to test on my Ventana, but for some reason
> nothing ever gets displayed. The only DRM-related message I ever get in my
> log is
> 
> [0.820483] [drm] Initialized drm 1.1.0 20060810
> 
> Things were working perfectly with v2 - has something changed with e.g. the
> DT bindings?

Argh, the patches that add host1x nodes into tegra20.dtsi were not into your 
for-3.8 branch. Things are fine now, therefore this series is 

Tested-and-acked-by: Alexandre Courbot 

Thanks,
Alex.

___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [PATCH v3 0/2] NVIDIA Tegra DRM driver

2012-11-16 Thread Alex Courbot
On Friday 16 November 2012 05:28:21 Thierry Reding wrote:
> This third version of the patch series cleans up some minor issues that
> were found in the previous versions, such as deferred probe not working
> properly and the display remaining enabled after the driver is removed.
> 
> I've also put the two patches in this series into the tegra/drm/for-3.8
> branch of my repository on gitorious[0].

Pulled from your branch and tried to test on my Ventana, but for some reason 
nothing ever gets displayed. The only DRM-related message I ever get in my log 
is

[0.820483] [drm] Initialized drm 1.1.0 20060810

Things were working perfectly with v2 - has something changed with e.g. the DT 
bindings?

Alex.

___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[PATCH v3 0/2] NVIDIA Tegra DRM driver

2012-11-15 Thread Thierry Reding
This third version of the patch series cleans up some minor issues that
were found in the previous versions, such as deferred probe not working
properly and the display remaining enabled after the driver is removed.

I've also put the two patches in this series into the tegra/drm/for-3.8
branch of my repository on gitorious[0].

Thierry

[0]: git://gitorious.org/thierryreding/linux.git

Thierry Reding (2):
  drm: Add NVIDIA Tegra20 support
  drm: tegra: Add HDMI support

 .../bindings/gpu/nvidia,tegra20-host1x.txt |  191 +++
 drivers/gpu/drm/Kconfig|2 +
 drivers/gpu/drm/Makefile   |1 +
 drivers/gpu/drm/tegra/Kconfig  |   23 +
 drivers/gpu/drm/tegra/Makefile |7 +
 drivers/gpu/drm/tegra/dc.c |  833 
 drivers/gpu/drm/tegra/dc.h |  388 ++
 drivers/gpu/drm/tegra/drm.c|  115 ++
 drivers/gpu/drm/tegra/drm.h|  234 
 drivers/gpu/drm/tegra/fb.c |   56 +
 drivers/gpu/drm/tegra/hdmi.c   | 1334 
 drivers/gpu/drm/tegra/hdmi.h   |  575 +
 drivers/gpu/drm/tegra/host1x.c |  322 +
 drivers/gpu/drm/tegra/output.c |  272 
 drivers/gpu/drm/tegra/rgb.c|  228 
 15 files changed, 4581 insertions(+)
 create mode 100644 
Documentation/devicetree/bindings/gpu/nvidia,tegra20-host1x.txt
 create mode 100644 drivers/gpu/drm/tegra/Kconfig
 create mode 100644 drivers/gpu/drm/tegra/Makefile
 create mode 100644 drivers/gpu/drm/tegra/dc.c
 create mode 100644 drivers/gpu/drm/tegra/dc.h
 create mode 100644 drivers/gpu/drm/tegra/drm.c
 create mode 100644 drivers/gpu/drm/tegra/drm.h
 create mode 100644 drivers/gpu/drm/tegra/fb.c
 create mode 100644 drivers/gpu/drm/tegra/hdmi.c
 create mode 100644 drivers/gpu/drm/tegra/hdmi.h
 create mode 100644 drivers/gpu/drm/tegra/host1x.c
 create mode 100644 drivers/gpu/drm/tegra/output.c
 create mode 100644 drivers/gpu/drm/tegra/rgb.c

-- 
1.8.0



[PATCH v3 0/2] NVIDIA Tegra DRM driver

2012-11-15 Thread Thierry Reding
This third version of the patch series cleans up some minor issues that
were found in the previous versions, such as deferred probe not working
properly and the display remaining enabled after the driver is removed.

I've also put the two patches in this series into the tegra/drm/for-3.8
branch of my repository on gitorious[0].

Thierry

[0]: git://gitorious.org/thierryreding/linux.git

Thierry Reding (2):
  drm: Add NVIDIA Tegra20 support
  drm: tegra: Add HDMI support

 .../bindings/gpu/nvidia,tegra20-host1x.txt |  191 +++
 drivers/gpu/drm/Kconfig|2 +
 drivers/gpu/drm/Makefile   |1 +
 drivers/gpu/drm/tegra/Kconfig  |   23 +
 drivers/gpu/drm/tegra/Makefile |7 +
 drivers/gpu/drm/tegra/dc.c |  833 
 drivers/gpu/drm/tegra/dc.h |  388 ++
 drivers/gpu/drm/tegra/drm.c|  115 ++
 drivers/gpu/drm/tegra/drm.h|  234 
 drivers/gpu/drm/tegra/fb.c |   56 +
 drivers/gpu/drm/tegra/hdmi.c   | 1334 
 drivers/gpu/drm/tegra/hdmi.h   |  575 +
 drivers/gpu/drm/tegra/host1x.c |  322 +
 drivers/gpu/drm/tegra/output.c |  272 
 drivers/gpu/drm/tegra/rgb.c|  228 
 15 files changed, 4581 insertions(+)
 create mode 100644 
Documentation/devicetree/bindings/gpu/nvidia,tegra20-host1x.txt
 create mode 100644 drivers/gpu/drm/tegra/Kconfig
 create mode 100644 drivers/gpu/drm/tegra/Makefile
 create mode 100644 drivers/gpu/drm/tegra/dc.c
 create mode 100644 drivers/gpu/drm/tegra/dc.h
 create mode 100644 drivers/gpu/drm/tegra/drm.c
 create mode 100644 drivers/gpu/drm/tegra/drm.h
 create mode 100644 drivers/gpu/drm/tegra/fb.c
 create mode 100644 drivers/gpu/drm/tegra/hdmi.c
 create mode 100644 drivers/gpu/drm/tegra/hdmi.h
 create mode 100644 drivers/gpu/drm/tegra/host1x.c
 create mode 100644 drivers/gpu/drm/tegra/output.c
 create mode 100644 drivers/gpu/drm/tegra/rgb.c

-- 
1.8.0

___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [PATCH v3 0/2] NVIDIA Tegra DRM driver

2012-11-15 Thread Mark Zhang
Thierry,

By the way, when do you plan to send drm patches for Tegra 3?
I'm wondering if you don't have a Tegra 3 board for testing, I can do
that for you.

Mark
On 11/16/2012 05:28 AM, Thierry Reding wrote:
> This third version of the patch series cleans up some minor issues that
> were found in the previous versions, such as deferred probe not working
> properly and the display remaining enabled after the driver is removed.
> 
> I've also put the two patches in this series into the tegra/drm/for-3.8
> branch of my repository on gitorious[0].
> 
> Thierry
> 
> [0]: git://gitorious.org/thierryreding/linux.git
> 
> Thierry Reding (2):
>   drm: Add NVIDIA Tegra20 support
>   drm: tegra: Add HDMI support
> 
>  .../bindings/gpu/nvidia,tegra20-host1x.txt |  191 +++
>  drivers/gpu/drm/Kconfig|2 +
>  drivers/gpu/drm/Makefile   |1 +
>  drivers/gpu/drm/tegra/Kconfig  |   23 +
>  drivers/gpu/drm/tegra/Makefile |7 +
>  drivers/gpu/drm/tegra/dc.c |  833 
>  drivers/gpu/drm/tegra/dc.h |  388 ++
>  drivers/gpu/drm/tegra/drm.c|  115 ++
>  drivers/gpu/drm/tegra/drm.h|  234 
>  drivers/gpu/drm/tegra/fb.c |   56 +
>  drivers/gpu/drm/tegra/hdmi.c   | 1334 
> 
>  drivers/gpu/drm/tegra/hdmi.h   |  575 +
>  drivers/gpu/drm/tegra/host1x.c |  322 +
>  drivers/gpu/drm/tegra/output.c |  272 
>  drivers/gpu/drm/tegra/rgb.c|  228 
>  15 files changed, 4581 insertions(+)
>  create mode 100644 
> Documentation/devicetree/bindings/gpu/nvidia,tegra20-host1x.txt
>  create mode 100644 drivers/gpu/drm/tegra/Kconfig
>  create mode 100644 drivers/gpu/drm/tegra/Makefile
>  create mode 100644 drivers/gpu/drm/tegra/dc.c
>  create mode 100644 drivers/gpu/drm/tegra/dc.h
>  create mode 100644 drivers/gpu/drm/tegra/drm.c
>  create mode 100644 drivers/gpu/drm/tegra/drm.h
>  create mode 100644 drivers/gpu/drm/tegra/fb.c
>  create mode 100644 drivers/gpu/drm/tegra/hdmi.c
>  create mode 100644 drivers/gpu/drm/tegra/hdmi.h
>  create mode 100644 drivers/gpu/drm/tegra/host1x.c
>  create mode 100644 drivers/gpu/drm/tegra/output.c
>  create mode 100644 drivers/gpu/drm/tegra/rgb.c
> 
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [PATCH v3 0/2] NVIDIA Tegra DRM driver

2012-11-15 Thread Mark Zhang
Hi Thierry,

Thank you for your hard work.

The series,

Acked-by: Mark Zhang 
Reviewed-by: Mark Zhang 
Tested-by: Mark Zhang 

On Ventana, LVDS and HDMI worked.
PS: Alex's power sequence patch is needed to enable panel and backlight.
Also we need to define dc and hdmi nodes in tegra20-ventana.dts.
We may publish the patches for different boards next.

Mark
On 11/16/2012 05:28 AM, Thierry Reding wrote:
> This third version of the patch series cleans up some minor issues that
> were found in the previous versions, such as deferred probe not working
> properly and the display remaining enabled after the driver is removed.
> 
> I've also put the two patches in this series into the tegra/drm/for-3.8
> branch of my repository on gitorious[0].
> 
> Thierry
> 
> [0]: git://gitorious.org/thierryreding/linux.git
> 
> Thierry Reding (2):
>   drm: Add NVIDIA Tegra20 support
>   drm: tegra: Add HDMI support
> 
>  .../bindings/gpu/nvidia,tegra20-host1x.txt |  191 +++
>  drivers/gpu/drm/Kconfig|2 +
>  drivers/gpu/drm/Makefile   |1 +
>  drivers/gpu/drm/tegra/Kconfig  |   23 +
>  drivers/gpu/drm/tegra/Makefile |7 +
>  drivers/gpu/drm/tegra/dc.c |  833 
>  drivers/gpu/drm/tegra/dc.h |  388 ++
>  drivers/gpu/drm/tegra/drm.c|  115 ++
>  drivers/gpu/drm/tegra/drm.h|  234 
>  drivers/gpu/drm/tegra/fb.c |   56 +
>  drivers/gpu/drm/tegra/hdmi.c   | 1334 
> 
>  drivers/gpu/drm/tegra/hdmi.h   |  575 +
>  drivers/gpu/drm/tegra/host1x.c |  322 +
>  drivers/gpu/drm/tegra/output.c |  272 
>  drivers/gpu/drm/tegra/rgb.c|  228 
>  15 files changed, 4581 insertions(+)
>  create mode 100644 
> Documentation/devicetree/bindings/gpu/nvidia,tegra20-host1x.txt
>  create mode 100644 drivers/gpu/drm/tegra/Kconfig
>  create mode 100644 drivers/gpu/drm/tegra/Makefile
>  create mode 100644 drivers/gpu/drm/tegra/dc.c
>  create mode 100644 drivers/gpu/drm/tegra/dc.h
>  create mode 100644 drivers/gpu/drm/tegra/drm.c
>  create mode 100644 drivers/gpu/drm/tegra/drm.h
>  create mode 100644 drivers/gpu/drm/tegra/fb.c
>  create mode 100644 drivers/gpu/drm/tegra/hdmi.c
>  create mode 100644 drivers/gpu/drm/tegra/hdmi.h
>  create mode 100644 drivers/gpu/drm/tegra/host1x.c
>  create mode 100644 drivers/gpu/drm/tegra/output.c
>  create mode 100644 drivers/gpu/drm/tegra/rgb.c
> 
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [PATCH v3 0/2] NVIDIA Tegra DRM driver

2012-11-15 Thread Stephen Warren
On 11/15/2012 02:28 PM, Thierry Reding wrote:
> This third version of the patch series cleans up some minor issues that
> were found in the previous versions, such as deferred probe not working
> properly and the display remaining enabled after the driver is removed.
> 
> I've also put the two patches in this series into the tegra/drm/for-3.8
> branch of my repository on gitorious[0].

The series,

Tested-by: Stephen Warren 

(on Harmony, using the HDMI output)

___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[PATCH v3 0/2] NVIDIA Tegra DRM driver

2012-11-15 Thread Stephen Warren
On 11/15/2012 02:28 PM, Thierry Reding wrote:
> This third version of the patch series cleans up some minor issues that
> were found in the previous versions, such as deferred probe not working
> properly and the display remaining enabled after the driver is removed.
> 
> I've also put the two patches in this series into the tegra/drm/for-3.8
> branch of my repository on gitorious[0].

The series,

Tested-by: Stephen Warren 

(on Harmony, using the HDMI output)