]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Parse HDR metadata info from EDID
authorUma Shankar <uma.shankar@intel.com>
Thu, 16 May 2019 14:10:08 +0000 (19:40 +0530)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 22 May 2019 19:46:35 +0000 (22:46 +0300)
commitb39abf1bf91adae027f0c864b3c1b3b8204f06f7
treebd90115b580733d61769a1aec0b505dba16cfb25
parent29d3aa4e40e3b805cd997b506cca06256a8b45ff
drm: Parse HDR metadata info from EDID

HDR metadata block is introduced in CEA-861.3 spec.
Parsing the same to get the panel's HDR metadata.

v2: Rebase and added Ville's POC changes to the patch.

v3: No Change

v4: Addressed Shashank's review comments

v5: Addressed Shashank's comment and added his RB.

v6: Addressed Jonas Karlman review comments.

v7: Adressed Ville's review comments and fixed the issue
with length handling.

v8: Put the length check as per the convention followed in
existing code, as suggested by Ville.

Signed-off-by: Uma Shankar <uma.shankar@intel.com>
Reviewed-by: Shashank Sharma <shashank.sharma@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1558015817-12025-4-git-send-email-uma.shankar@intel.com
drivers/gpu/drm/drm_edid.c