drm_hwcomposer: Extract more BO data by Imagination importer

Fields bo->hal_format and bo->pixel_stride should be set to pass validation
by Mapper HAL v2.1 and v3.0. Otherwise UI is missing and the following
message appears in the logcat:

2576 E GraphicBufferMapper: validateBufferSize(0xe663b3637400) failed: 7
2576 E hwc-drm-utils: Failed to import buffer handle err: 7
2576 E hwc-drm-two: Failed to import layer, ret=7

Also copy suballocs data for future usage.

Fixes: e3ed48d7 ("drm_hwcomposer: Add Imagination platform support")

Edited by Roman Stratiienko

Merge request reports