commit | aeccd89eaafec467cb9449cce5c64152a240c138 | [log] [tgz] |
---|---|---|
author | Rob Herring <robh@kernel.org> | Fri Oct 06 17:20:05 2017 -0500 |
committer | Robert Foss <robert.foss@collabora.com> | Mon Oct 09 14:36:19 2017 +0200 |
tree | 912540af41097f2f7117ad09d81732b0d0a97e1d | |
parent | 89095cc77c719336d4e0774b03447f75bf834c87 [diff] |
platformdrmgeneric: get the gralloc usage directly from the handle 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 <robh@kernel.org> Reviewed-by: Robert Foss <robert.foss@collabora.com> Tested-by: Robert Foss <robert.foss@collabora.com>