Re: [PATCH hwc] platformdrmgeneric: get the gralloc usage directly from the handle

2017-10-09 Thread Robert Foss
Hey Rob, I tested the patch on the imx6/etnaviv platform, and it all works. So I pushed the patch with t-b && r-b tags attached. Rob. On Fri, 2017-10-06 at 17:20 -0500, Rob Herring wrote: > There's no point in using a gralloc perform() op to retrieve the > usage as > it is already stored in

[PATCH hwc] platformdrmgeneric: get the gralloc usage directly from the handle

2017-10-06 Thread Rob Herring
There's no point in using a gralloc perform() op to retrieve the usage as it is already stored in the handle like width, height, format, etc. So just copy it to the hwc_drm_bo_t and get it directly. Signed-off-by: Rob Herring --- I was a bit quick on the trigger with the