[PATCH v4 3/3] drm: zte: add overlay plane support

2017-01-10 Thread Shawn Guo
Hi Sean, On Mon, Jan 09, 2017 at 11:27:44AM -0500, Sean Paul wrote: > > +static inline void zx_osd_int_update(struct zx_crtc *zcrtc) > > +{ > > + struct zx_vou_hw *vou = zcrtc->vou; > > + int i; > > + > > + vou_chn_set_update(zcrtc); > > + zx_plane_set_update(zcrtc->primary

[PATCH v4 3/3] drm: zte: add overlay plane support

2017-01-09 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 choose to skip it and only adds VL1 and VL2 into DRM core for now. Function zx_plane_atomic_disable() gets moved around with no changes to save a forward d

[PATCH v4 3/3] drm: zte: add overlay plane support

2017-01-09 Thread Sean Paul
On Mon, Jan 9, 2017 at 9:35 AM, Shawn Guo wrote: > From: Shawn Guo > > It enables VOU VL (Video Layer) to support overlay plane with scaling > function. VL0 has some quirks on scaling support. We choose to skip it > and only adds VL1 and VL2 into DRM core for now. > > Function zx_plane_atomic_d