Re: [Mesa-dev] [PATCH 07/34] gbm: Export a per plane getter for offset

2017-02-03 Thread Ben Widawsky
On 17-01-31 11:40:04, Jason Ekstrand wrote: On Mon, Jan 23, 2017 at 10:19 PM, Ben Widawsky wrote: Unlike stride, there was no previous offset getter, so it can be right on the first try. v2: Return EINVAL when plane is greater than total planes to make it match the similar APIs. Avoid leak af

Re: [Mesa-dev] [PATCH 07/34] gbm: Export a per plane getter for offset

2017-01-31 Thread Jason Ekstrand
On Mon, Jan 23, 2017 at 10:19 PM, Ben Widawsky wrote: > Unlike stride, there was no previous offset getter, so it can be right > on the first try. > > v2: Return EINVAL when plane is greater than total planes to make it > match the similar APIs. > Avoid leak after fromPlanar (Daniel) > Make sure

[Mesa-dev] [PATCH 07/34] gbm: Export a per plane getter for offset

2017-01-23 Thread Ben Widawsky
Unlike stride, there was no previous offset getter, so it can be right on the first try. v2: Return EINVAL when plane is greater than total planes to make it match the similar APIs. Avoid leak after fromPlanar (Daniel) Make sure when getting offsets we consider dumb images (Daniel) Signed-off-by: