Platform term meaning used in drm_hwcomposer does not corrspond to the content of the platform directory. Platform directory consists of:
- Buffer information getters for different gralloc (currently called platorm).
- Composition planner logic (which has flaws and should be reworked into layer->plane mapping during validation stage logic).
- DrmGenericImpoter with reference counting logic.
Android-11 IMapper@4 metadata API offers generic way to access buffer information which makes other gralloc buffer information getters obsolate. Legacy getters should be maintained for some time until all known users will migrate to Mapper@4 API.