[PATCH] drm: zte: add overlay plane support

2016-12-20 Thread Shawn Guo
Hi Ville, On Thu, Dec 08, 2016 at 05:57:55PM +0200, Ville Syrjälä wrote: > On Thu, Dec 08, 2016 at 11:12:41AM +0800, Shawn Guo wrote: > > > +static void zx_vl_plane_atomic_update(struct drm_plane *plane, > > + struct drm_plane_state *old_state) > > +{ > > + str

[PATCH] drm: zte: add overlay plane support

2016-12-08 Thread Ville Syrjälä
On Thu, Dec 08, 2016 at 11:12:41AM +0800, Shawn Guo wrote: > +static void zx_vl_plane_atomic_update(struct drm_plane *plane, > + struct drm_plane_state *old_state) > +{ > + struct zx_plane *zplane = to_zx_plane(plane); > + struct drm_framebuffer *fb = plan

[PATCH] drm: zte: add overlay plane support

2016-12-08 Thread Shawn Guo
From: Shawn Guo It enables VOU VL (Video Layer) to support overlay plane with scaling function. VL0 has some quirks on scaling support. We chose to skip it and only adds VL1 and VL2 into DRM core for now. Signed-off-by: Shawn Guo --- drivers/gpu/drm/zte/zx_plane.c | 290