[PATCH v2 2/2] drm: zte: add initial vou drm driver

2016-10-03 Thread Daniel Vetter
On Mon, Oct 3, 2016 at 12:36 PM, Emil Velikov wrote: >>> > +static int zx_gl_get_fmt(uint32_t format) >>> > +{ >>> > + switch (format) { >>> > + case DRM_FORMAT_ARGB: >>> > + case DRM_FORMAT_XRGB: >>> > + return GL_FMT_ARGB; >>> > + case DRM_FORMA

[PATCH v2 2/2] drm: zte: add initial vou drm driver

2016-10-03 Thread Emil Velikov
On 1 October 2016 at 01:22, Shawn Guo wrote: > Hi Emil, > > On Fri, Sep 30, 2016 at 01:34:14PM +0100, Emil Velikov wrote: >> Hi Shawn, >> >> A couple of fly-by suggestions, which I hope you'll find useful :-) > > Thanks for the suggestions. > >> On 24 September 2016 at 15:26, Shawn Guo wrote: >>

[PATCH v2 2/2] drm: zte: add initial vou drm driver

2016-09-30 Thread Shawn Guo
Hi Emil, On Fri, Sep 30, 2016 at 01:34:14PM +0100, Emil Velikov wrote: > Hi Shawn, > > A couple of fly-by suggestions, which I hope you'll find useful :-) Thanks for the suggestions. > On 24 September 2016 at 15:26, Shawn Guo wrote: > > > + > > + val = ((vm.hsync_len - 1) << SYNC_WIDE_

[PATCH v2 2/2] drm: zte: add initial vou drm driver

2016-09-30 Thread Emil Velikov
Hi Shawn, A couple of fly-by suggestions, which I hope you'll find useful :-) On 24 September 2016 at 15:26, Shawn Guo wrote: > + > + val = ((vm.hsync_len - 1) << SYNC_WIDE_SHIFT) & SYNC_WIDE_MASK; To save some writing/minimise the chances to typos getting, in you can have single/collect

[PATCH v2 2/2] drm: zte: add initial vou drm driver

2016-09-29 Thread Shawn Guo
Hi Sean, On Tue, Sep 27, 2016 at 11:48:37AM -0400, Sean Paul wrote: > On Sat, Sep 24, 2016 at 10:26 AM, Shawn Guo wrote: > > It adds the initial ZTE VOU display controller DRM driver. There are > > still some features to be added, like overlay plane, scaling, and more > > output devices support.

[PATCH v2 2/2] drm: zte: add initial vou drm driver

2016-09-29 Thread Shawn Guo
On Sun, Sep 25, 2016 at 10:58:09PM +0200, Daniel Vetter wrote: > On Sat, Sep 24, 2016 at 10:26:25PM +0800, Shawn Guo wrote: > > It adds the initial ZTE VOU display controller DRM driver. There are > > still some features to be added, like overlay plane, scaling, and more > > output devices support

[PATCH v2 2/2] drm: zte: add initial vou drm driver

2016-09-27 Thread Sean Paul
On Sat, Sep 24, 2016 at 10:26 AM, Shawn Guo wrote: > It adds the initial ZTE VOU display controller DRM driver. There are > still some features to be added, like overlay plane, scaling, and more > output devices support. But it's already useful with dual CRTCs and > HDMI monitor working. > > It'

[PATCH v2 2/2] drm: zte: add initial vou drm driver

2016-09-25 Thread Daniel Vetter
On Sat, Sep 24, 2016 at 10:26:25PM +0800, Shawn Guo wrote: > It adds the initial ZTE VOU display controller DRM driver. There are > still some features to be added, like overlay plane, scaling, and more > output devices support. But it's already useful with dual CRTCs and > HDMI monitor working.

[PATCH v2 2/2] drm: zte: add initial vou drm driver

2016-09-24 Thread Shawn Guo
It adds the initial ZTE VOU display controller DRM driver. There are still some features to be added, like overlay plane, scaling, and more output devices support. But it's already useful with dual CRTCs and HDMI monitor working. It's been tested on Debian Jessie LXDE desktop with modesetting dr