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

2014-11-07 Thread Tomi Valkeinen
On 06/11/14 17:49, 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 size. > Drivers must

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

2014-11-06 Thread Rob Clark
On Thu, Nov 6, 2014 at 10:49 AM, 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 size. >

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

2014-11-06 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