intel / IA-Hardware-Composer

35 stars 81 forks source link

Hwc2.3 get display identification data #639

Closed MicheleL-Intel closed 5 years ago

MicheleL-Intel commented 5 years ago

This commit has been validated on APL NUC and Gordon Peak with 3 connected displays. This PR transfers the commit to Github since Android Q will be released shortly (presumably tomorrow).

Add HWC2.3 GetDisplayIdentificationData

This API retrieves the EDID metadata for all display devices connected to a video source. The metadata identifies the port, and describes the display type, such as HDMI or DisplayPort and their capabilities. The data blob returned by the API contains the supported EDID format, typically EDID 1.3, as specified in VESA E-EDID Standard Release A Revision 1. Note that EDID 1.4 metadata format is not supported since the format is incompatible with the HDMI specification.

Tests: Validated on Gordon Peak with three connected displays Tracked-On: https://jira.devtools.intel.com/browse/OAM-71878 Signed-off-by: Michele Lim michele.lim@intel.com

Shao-Feng commented 5 years ago

Hi Michele,

same with the #638 Need to format codes for passing travis-ci checking https://travis-ci.org/intel/IA-Hardware-Composer/jobs/580029987

run below command

git show HEAD | clang-format-diff-3.9 -p 1 -style=file -i

and add the updated files into your patch

MicheleL-Intel commented 5 years ago

Closing this PR since it contains two commits which is incorrect. Replaced by PR #642