Skip to content

drm_hwcomposer: Extract more BO data by Imagination importer v2

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

Fixes: e3ed48d7 ("drm_hwcomposer: Add Imagination platform support") Signed-off-by: Roman Stratiienko roman.stratiienko@globallogic.com

Edited by Roman Stratiienko

Merge request reports

Loading