Skip to content

hwc3: Implement getDisplayPhysicalOrientation()

Tim Van Patten requested to merge timvp/drm-hwcomposer:b/362680696 into main

Implement ComposerClient::getDisplayPhysicalOrientation() by querying the DRM display panel orientation property and translating the result to the correct common::Transform enum value.

The result is used by SurfaceFlinger to correctly rotate the image before displaying it to the user.

Bug: 362680696 Test: Manual verification on Bugzzy Change-Id: I07a928ba455998198c22554a5aee88f8db7b0b53

Merge request reports

Loading