drm_hwcomposer: Partially implement HWC2 API am: ac8741504b
am: 46a1916dbf

Change-Id: Ifc7219375787d1fe3e5555be353041726478ba63