Re: [PATCH v8 11/11] drm: sti: Add DRM driver itself

2016-04-22 Thread Daniel Vetter
On Wed, Jul 30, 2014 at 7:42 PM, Benjamin Gaignard wrote: > +static int sti_drm_crtc_page_flip(struct drm_crtc *crtc, > + struct drm_framebuffer *fb, > + struct drm_pending_vblank_event *event, > + uint

Re: [PATCH v8 11/11] drm: sti: Add DRM driver itself

2014-07-31 Thread Benjamin Gaignard
It is a regression that I have introduce with universal plane. I have fix it and refresh v8 branch. I have map CRTC on hardware mixers IP. I could have one or two mixers, its depends of the chipset and I use one graphic input (GDP) per mixer as primary plane. Other GPD are used as overlay planes.

Re: [PATCH v8 11/11] drm: sti: Add DRM driver itself

2014-07-30 Thread Rob Clark
On Wed, Jul 30, 2014 at 3:48 PM, Daniel Vetter wrote: > On Wed, Jul 30, 2014 at 7:42 PM, Benjamin Gaignard > wrote: >> @@ -87,11 +90,50 @@ static int sti_compositor_bind(struct device *dev, >> struct device *master, >> struct sti_compositor *compo = dev_get_drvdata(dev); >> struc

Re: [PATCH v8 11/11] drm: sti: Add DRM driver itself

2014-07-30 Thread Daniel Vetter
On Wed, Jul 30, 2014 at 7:42 PM, Benjamin Gaignard wrote: > @@ -87,11 +90,50 @@ static int sti_compositor_bind(struct device *dev, struct > device *master, > struct sti_compositor *compo = dev_get_drvdata(dev); > struct drm_device *drm_dev = data; > unsigned int i, crtc =

[PATCH v8 11/11] drm: sti: Add DRM driver itself

2014-07-30 Thread Benjamin Gaignard
Make the link between all the hardware drivers and DRM/KMS interface. Create the driver itself and make it register all the sub-components. Use GEM CMA helpers for buffer allocation. Signed-off-by: Benjamin Gaignard Reviewed-by: Rob Clark --- drivers/gpu/drm/sti/Kconfig | 8 + driver