[PATCH] drm/sun4i: Check that the plane coordinates are not negative

2016-10-12 Thread Maxime Ripard
On Mon, Oct 03, 2016 at 06:18:40PM +0200, Boris Brezillon wrote: > On Mon, 3 Oct 2016 14:58:11 +0200 > Maxime Ripard wrote: > > > Hi Boris, > > > > On Fri, Sep 30, 2016 at 06:08:26PM +0200, Boris Brezillon wrote: > > > On Fri, 30 Sep 2016 16:33:20 +0200 > > > Maxime Ripard wrote: > > > > > >

[PATCH] drm/sun4i: Check that the plane coordinates are not negative

2016-10-03 Thread Boris Brezillon
On Mon, 3 Oct 2016 14:58:11 +0200 Maxime Ripard wrote: > Hi Boris, > > On Fri, Sep 30, 2016 at 06:08:26PM +0200, Boris Brezillon wrote: > > On Fri, 30 Sep 2016 16:33:20 +0200 > > Maxime Ripard wrote: > > > > > Our planes cannot be set at negative coordinates. Make sure we reject such > > > c

[PATCH] drm/sun4i: Check that the plane coordinates are not negative

2016-10-03 Thread Maxime Ripard
Hi Boris, On Fri, Sep 30, 2016 at 06:08:26PM +0200, Boris Brezillon wrote: > On Fri, 30 Sep 2016 16:33:20 +0200 > Maxime Ripard wrote: > > > Our planes cannot be set at negative coordinates. Make sure we reject such > > configuration. > > > > Reported-by: Boris Brezillon > > Signed-off-by: Max

[PATCH] drm/sun4i: Check that the plane coordinates are not negative

2016-09-30 Thread Ville Syrjälä
On Fri, Sep 30, 2016 at 06:33:48PM +0200, Boris Brezillon wrote: > On Fri, 30 Sep 2016 19:22:11 +0300 > Ville Syrjälä wrote: > > > On Fri, Sep 30, 2016 at 06:08:26PM +0200, Boris Brezillon wrote: > > > On Fri, 30 Sep 2016 16:33:20 +0200 > > > Maxime Ripard wrote: > > > > > > > Our planes ca

[PATCH] drm/sun4i: Check that the plane coordinates are not negative

2016-09-30 Thread Ville Syrjälä
On Fri, Sep 30, 2016 at 06:08:26PM +0200, Boris Brezillon wrote: > On Fri, 30 Sep 2016 16:33:20 +0200 > Maxime Ripard wrote: > > > Our planes cannot be set at negative coordinates. Make sure we reject such > > configuration. > > > > Reported-by: Boris Brezillon > > Signed-off-by: Maxime Ripard

[PATCH] drm/sun4i: Check that the plane coordinates are not negative

2016-09-30 Thread Boris Brezillon
On Fri, 30 Sep 2016 19:22:11 +0300 Ville Syrjälä wrote: > On Fri, Sep 30, 2016 at 06:08:26PM +0200, Boris Brezillon wrote: > > On Fri, 30 Sep 2016 16:33:20 +0200 > > Maxime Ripard wrote: > > > > > Our planes cannot be set at negative coordinates. Make sure we reject such > > > configuration

[PATCH] drm/sun4i: Check that the plane coordinates are not negative

2016-09-30 Thread Boris Brezillon
On Fri, 30 Sep 2016 16:33:20 +0200 Maxime Ripard wrote: > Our planes cannot be set at negative coordinates. Make sure we reject such > configuration. > > Reported-by: Boris Brezillon > Signed-off-by: Maxime Ripard > --- > drivers/gpu/drm/sun4i/sun4i_layer.c | 3 +++ > 1 file changed, 3 insert

[PATCH] drm/sun4i: Check that the plane coordinates are not negative

2016-09-30 Thread Maxime Ripard
Our planes cannot be set at negative coordinates. Make sure we reject such configuration. Reported-by: Boris Brezillon Signed-off-by: Maxime Ripard --- drivers/gpu/drm/sun4i/sun4i_layer.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/sun4i/sun4i_layer.c b/drivers/gpu/d