[PATCH 5/7] drm/omap: gem: dumb: pitch is an output

2014-11-05 Thread Daniel Vetter
On Wed, Nov 05, 2014 at 02:25:17PM +0100, Thierry Reding wrote: > From: Thierry Reding > > When creating a dumb buffer object using the DRM_IOCTL_MODE_CREATE_DUMB > IOCTL, only the width, height, bpp and flags fields are inputs. The > caller is not guaranteed to zero out or set handle, pitch and

[PATCH 5/7] drm/omap: gem: dumb: pitch is an output

2014-11-05 Thread Thierry Reding
From: Thierry Reding When creating a dumb buffer object using the DRM_IOCTL_MODE_CREATE_DUMB IOCTL, only the width, height, bpp and flags fields are inputs. The caller is not guaranteed to zero out or set handle, pitch and size. Drivers must not treat these values as possible inputs, otherwise th