Add simplistic implementations for SetColorTransform and SetLayerColor
Several VTS testcases for VtsHalGraphicsComposerV2_1Target fails since required functions (SetColorTransform and SetLayerColor) is marked as unsupported by drm_hwcomposer. We can't make complete implementation of those features for our platform for now, so this is acceptable way to pass tests for us.
Commit da5839cf ("drm_hwcomposer: Add support for GetColorModes & SetCursorPosition") implements GetColorModes and SetCursorPosition simply by adding fields that store this values for future uses. Therefore we assume that it is okay to use this approach to at least support interface part.
This MR fixes two testcases, for SET_COLOR_TRANSFORM and SET_LAYER_COLOR. VTS test results before changes for our case:
Module | Passed | Failed | Total Tests |
---|---|---|---|
arm64-v8a VtsHalGraphicsComposerV2_1Target | 31 | 22 | 53 |
armeabi-v7a VtsHalGraphicsComposerV2_1Target | 31 | 22 | 53 |
VTS tests after adding simplistic implementation:
Module | Passed | Failed | Total Tests |
---|---|---|---|
arm64-v8a VtsHalGraphicsComposerV2_1Target | 33 | 20 | 53 |
armeabi-v7a VtsHalGraphicsComposerV2_1Target | 33 | 20 | 53 |