mbox series

[0/2] Changes for DP 1.4 Compliance test 4.2.2.6

Message ID 20191030210844.19803-1-Jerry.Zuo@amd.com (mailing list archive)
Headers show
Series Changes for DP 1.4 Compliance test 4.2.2.6 | expand

Message

Zuo, Jerry Oct. 30, 2019, 9:08 p.m. UTC
Unlike DP 1.2 Compliance test 4.2.2.6, DP 1.4 requires to calculate real
CRC value of the last edid data block, and write it back.

Current edid CRC calculate routine adds the last CRC byte, and check if
non-zero or not. Need to return the actual CRC value when corruption is
detected.    

Jerry (Fangzhi) Zuo (2):
  drm: Add support for DP 1.4 Compliance edid corruption test 4.2.2.6
  drm/amd/display: Hook up drm interface for DP 1.4 edid corruption test

 .../drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c  | 35 +++++----------------
 drivers/gpu/drm/drm_dp_helper.c                    | 36 ++++++++++++++++++++++
 drivers/gpu/drm/drm_edid.c                         | 15 +++++++--
 include/drm/drm_connector.h                        |  7 +++++
 include/drm/drm_dp_helper.h                        |  3 ++
 5 files changed, 65 insertions(+), 31 deletions(-)