Bug 107896 - [Gemini Lake] HDMI 2.0 compliance test failed - HF1-13 TMDS Protocol- Scrambling <=3.4Gbps
Summary: [Gemini Lake] HDMI 2.0 compliance test failed - HF1-13 TMDS Protocol- Scrambl...
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: high major
Assignee: Clinton Taylor
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: Triaged, ReadyForDev
Keywords:
Depends on:
Blocks: 107905
  Show dependency treegraph
 
Reported: 2018-09-11 03:29 UTC by JingWu Lin
Modified: 2018-12-28 12:21 UTC (History)
2 users (show)

See Also:
i915 platform: GLK
i915 features: display/HDMI


Attachments
HF1-13 ERROR (10.92 KB, image/jpeg)
2018-09-11 03:29 UTC, JingWu Lin
no flags Details
kernel log (1.06 MB, text/plain)
2018-09-14 05:57 UTC, JingWu Lin
no flags Details
Test Patch for HDMI scrambling issues (1.33 KB, patch)
2018-10-03 00:57 UTC, Clinton Taylor
no flags Details | Splinter Review
HDMI 2.0 scrambling enable/disable fix (1.52 KB, patch)
2018-10-23 18:57 UTC, Clinton Taylor
no flags Details | Splinter Review

Description JingWu Lin 2018-09-11 03:29:28 UTC
Created attachment 141516 [details]
HF1-13 ERROR

GKL fails HDMI 2.0 compliance test HF1-13 TMDS Protocol- Scrambling <=3.4Gbps.

From MOI_CTS2.0u (HDMI2.0 certification rule), if more than one or no unscrambled control period per field exists than fail.
The HDMI analyzer detects 14.
Comment 1 Lakshmi 2018-09-11 06:31:23 UTC
Please try to reproduce the error using drm-tip (https://cgit.freedesktop.org/drm-tip) and kernel parameters drm.debug=0x1e log_buf_len=4M, and if the problem persists attach the full dmesg from boot.
Comment 2 JingWu Lin 2018-09-14 05:57:26 UTC
Created attachment 141556 [details]
kernel log
Comment 3 JingWu Lin 2018-09-14 05:57:41 UTC
board: GLK RVP
kernel: Linux version 4.19.0-rc2-drm-tip-2018y-09m-04d+
Comment 4 Lakshmi 2018-09-14 10:09:58 UTC
Priority is set to Highest as this is blocking the customer to pass GKL devices as they are lacking the logo/sticker (Compliance test - pass certificate).
Comment 5 Clinton Taylor 2018-10-03 00:57:52 UTC
Created attachment 141841 [details] [review]
Test Patch for HDMI scrambling issues

Here is a test patch the disable the HDMI Scrambler CTS and Scrambler Reset bits currently being set by the Linux driver. The QD980 reports HF1-13 passing, but requires a manual (xrandr) mode change between Iterations. Use view video feature to confirm scrambling is enabled and disabled correctly during mode change.

Switching between 720x480 and 720x576 appears to work after the hot plug is generated.
Comment 6 JingWu Lin 2018-10-03 08:59:33 UTC
Thanks. We'll try with this test patch in testing lab.
Comment 7 Clinton Taylor 2018-10-10 23:14:03 UTC
DRM is not reading the EDID after the HPD pulse from the QD980B between Iterations of the test execution. This is preventing the driver from turning off scrambling on the second iteration.
Comment 8 Clinton Taylor 2018-10-12 21:11:06 UTC
Updated patch V2 to Intel-gfx mailing list
Comment 9 Clinton Taylor 2018-10-12 21:44:04 UTC
Additional patch under test to solve scrambling disable after HPD. This is causing the Iteration 2 failure.
Comment 10 Clinton Taylor 2018-10-23 18:57:40 UTC
Created attachment 142162 [details] [review]
HDMI 2.0 scrambling enable/disable fix

This patch passes both iterations of HDMI 2.0 CTS HF1-13 and the single iteration of HF1-12 (2160p Format).
Comment 11 Lakshmi 2018-11-05 08:51:12 UTC
Update: This bug is not blocking anymore to the reporter. Testing is in progress, will take 1~2 weeks for the test results. Reducing the priority to High and status can be updated once the feedback is received.
Comment 12 Lakshmi 2018-11-14 10:56:18 UTC
JW, any updates here?
Comment 13 Clinton Taylor 2018-12-10 23:09:44 UTC
Patch V3 sent to Intel-gfx mailing list.
Comment 14 James Ausmus 2018-12-11 17:35:04 UTC
Patch pushed to dinq
Comment 15 Francesco Balestrieri 2018-12-28 09:21:17 UTC
JingWu Lin, do you confirm that the issue is resolved?


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.