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(-) -- 2.14.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel