summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-03-19hdcp: fix buffer overflow in stream genandroid-15-beta-2_r0.8android-15-beta-2_r0.7android-15-beta-1_r0.8android-15-beta-1_r0.7android-gs-shusky-5.15-android15-dpandroid-gs-shusky-5.15-android15-betaandroid-gs-akita-5.15-android15-betaJi Soo Shin
Bug: 323964895 Change-Id: I99f1411764fba00fdfe3d08bbdc6dfd5d30d9c8d Signed-off-by: Ji Soo Shin <jisshin@google.com> (cherry picked from commit 16a8149b3e0f1ef388abf2b3e38516a0a17bcdfe)
2024-03-13hdcp: fix selftest regression due to repeater auth changeJi Soo Shin
Bug: 325864695 Change-Id: I0959370e829bd0a74d3b194c3165d6b4601884cf Signed-off-by: Ji Soo Shin <jisshin@google.com> (cherry picked from commit 81a627457f5423f99fbe1ab5ec47bf90b3c870f9)
2024-01-21Merge android14-gs-pixel-5.15-24Q2 into android14-gs-pixel-5.15PixelBot AutoMerger
SBMerger: 571992243 Change-Id: I01318b85b2510f0777728e10f2062ebbaf5b9a3a Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
2024-01-19hdcp: suppport physical disconnect eventandroid-u-qpr3-beta-2_r0.8android-u-qpr3-beta-2.1_r0.8android-15-dp-2_r0.7android-gs-shusky-5.15-android14-qpr3-betaJi Soo Shin
Bug: 303820069 Bug: 316869499 Bug: 320577683 Bug: 317854575 Change-Id: I29219338dc43f2ca6f3aa5a72188cbc4300ce336 Signed-off-by: Ji Soo Shin <jisshin@google.com>
2023-12-31Merge android14-gs-pixel-5.15-24Q2 into android14-gs-pixel-5.15PixelBot AutoMerger
SBMerger: 571992243 Change-Id: I3b709a9c38573b4d6fc2297fcfe182e85e01b27b Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
2023-12-19hdcp: retry auth on repeater auth failuresandroid-u-qpr3-beta-1_r0.8android-15-dp-1_r0.8Ji Soo Shin
Bug: 309658050 Change-Id: If11159a187901f2a7b930d1f220c4bdc135f7938 Signed-off-by: Ji Soo Shin <jisshin@google.com>
2023-12-17Merge android14-gs-pixel-5.15-24Q2 into android14-gs-pixel-5.15PixelBot AutoMerger
SBMerger: 571992243 Change-Id: Ia1e910e0adb02e854d9a4a21dad05ca5ae72c52d Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
2023-12-14Revert "Set up OWNERS"Cyan Hsieh
Revert submission 2521855-285981567 Reason for revert: open for 5.15 in-market kernel development Reverted changes: /q/submissionid:2521855-285981567 Bug: 313355593 Bug: 309749142 Change-Id: I4ff797d4aa3fe3d394fa48f51cac29734e0b31b4
2023-11-19Merge android14-gs-pixel-5.15-24Q1 into android14-gs-pixel-5.15PixelBot AutoMerger
SBMerger: 571992243 Change-Id: I729daaef46a71e8d95e525e0f0ff27349c412883 Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
2023-11-15hdcp: update protection level to drm connectorandroid-u-qpr2-beta-3_r0.8android-u-qpr2-beta-3.1_r0.8android-14.0.0_r0.77android-14.0.0_r0.67android-14.0.0_r0.57android-gs-shusky-5.15-android14-qpr2-betaandroid-gs-shusky-5.15-android14-qpr2Ji Soo Shin
Bug: 307592398 Change-Id: Ie3a7c3f690db74c59dfcca449b8d19f2b5c5ab63 Signed-off-by: Ji Soo Shin <jisshin@google.com>
2023-10-29Merge android14-gs-pixel-5.15-24Q1 into android14-gs-pixel-5.15PixelBot AutoMerger
SBMerger: 571992243 Change-Id: I65d6195d0f438192d0eac3df527ebd5596bc64e7 Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
2023-10-23hdcp: fix regression introduced by hdcp delay increaseandroid-u-qpr2-beta-2_r0.8Ji Soo Shin
HDCP schedule delay increased and now selftest is failing since it expects HDCP auth to be done in certain amount of time. De-couple this time dependency by explicitly waiting the same amount of time. Bug: 307280363 Change-Id: I4aff5d4071c4110f065b38c24cc5d48944d3714e Signed-off-by: Ji Soo Shin <jisshin@google.com>
2023-10-22Merge android14-gs-pixel-5.15-24Q1 into android14-gs-pixel-5.15PixelBot AutoMerger
SBMerger: 571992243 Change-Id: I908de84880a4ad65992b0784dcc36014aef21d76 Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
2023-10-18hdcp: Add DisplayPort statistics for max and current HDCP version.Weizhung Ding
Bug: 266898132 Test: cat /sys/devices/platform/hdcp/hdcp1_success_count Change-Id: I9c604c3a37b848b64970c4a325b40d2d4c06e8d9 Signed-off-by: Weizhung Ding <weizhungding@google.com>
2023-09-17Merge android14-gs-pixel-5.15-24Q1 into android14-gs-pixel-5.15PixelBot AutoMerger
SBMerger: 558810260 Change-Id: I087b30000e7069c4b771cfb8d3bc4162cb75f541 Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
2023-09-17Merge android14-gs-pixel-5.15-udc-qpr1 into android14-gs-pixel-5.15-24Q1android-u-qpr2-beta-1_r0.7PixelBot AutoMerger
SBMerger: 558810260 Change-Id: I311b981b16d04f504c425c11ec70e51897ed4209 Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
2023-09-14hdcp: increase hdcp trigger delayandroid-u-qpr1-beta-2_r0.8android-u-qpr1-beta-2.2_r0.7android-u-qpr1-beta-2.1_r0.8android-14.0.0_r0.81android-14.0.0_r0.80android-14.0.0_r0.45android-14.0.0_r0.38android-gs-shusky-5.15-u-qpr1-beta2android-gs-shusky-5.15-android14-qpr1-betaandroid-gs-shusky-5.15-android14-qpr1android-gs-akita-5.15-android14-d2Ji Soo Shin
Per analysis in b/285943080, it is suggested that we have increased time between DP and HDCP trigger as it can cause mirror image to not show off correctly depending on timing. Bug: 285943080 Change-Id: I39e7b0f9d74fb420b3cad22d9c3a959b88cefeff Signed-off-by: Ji Soo Shin <jisshin@google.com>
2023-07-30Merge android14-gs-pixel-5.15-udc-qpr1 into android14-gs-pixel-5.15PixelBot AutoMerger
SBMerger: 526756187 Change-Id: I6aa57ade4d6317bf6f67c1de3db039755c241fa5 Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
2023-07-25hdcp: add cancel_delayed_work()Petri Gynther
Sometimes external monitors send HPD_UNPLUG right after DP connection has been established. This is usually due to bad DP link quality. HDCP stack needs to react properly to these quick disconnects. Need to call cancel_delayed_work() if delayed HDCP work is pending. Bug: 274517648 Signed-off-by: Petri Gynther <pgynther@google.com> Change-Id: Id2a42f08d4843a55e490c844ed0afb6c55203a4e
2023-06-10Set up OWNERSWilson Sung
Point to kernel/private/google-modules/soc/gs:OWNERS Bug: 285981567 Change-Id: Ib558a9d7604bd5c3620ea2b7d2b4bce8b6fc0529 Signed-off-by: Wilson Sung <wilsonsung@google.com>
2023-05-31Merge "hdcp: abort during compare_xprime routines" into android14-gs-pixel-5.15android-14.0.0_r0.8android-14.0.0_r0.18main-16k-gs-shusky-5.15android-gs-shusky-udc-d1android-gs-shusky-5.15-android14-d1Treehugger Robot
2023-05-31hdcp: abort during compare_xprime routinesJi Soo Shin
Bug: 285100547 Change-Id: Ie1d5cfaa09ff275d98c7e7a866bd497811d9c8a3 Signed-off-by: Ji Soo Shin <jisshin@google.com>
2023-05-30hdcp: enable hdcp by defaultJi Soo Shin
IRQ_HPD is now enabled and now all HDCP1.x HDCP2.x tests pass. Bug: 279061304 Change-Id: I2a489b7f61f995ba0c4535b852b554024fa0a3a1 Signed-off-by: Ji Soo Shin <jisshin@google.com>
2023-05-05hdcp: trusty modules are moved to modulesJi Soo Shin
Bug: 271907961 Change-Id: I595c325a041aced9c5e41a168153e47b92d0c87e Signed-off-by: Ji Soo Shin <jisshin@google.com>
2023-05-03Merge "hdcp/samsung: update display headers location" into ↵Taylor Nelms
android14-gs-pixel-5.15
2023-05-03hdcp: increase time to start HDCP negoJi Soo Shin
After d1-dev merge, seems to take more time for DP to be ready to process HDCP nego Bug: 274517648 Change-Id: I0ed715588257ede1c2e3d8db5077db37ee164785 Signed-off-by: Ji Soo Shin <jisshin@google.com>
2023-05-02hdcp/samsung: update display headers locationTaylor Nelms
Display headers and BUILD files have moved to display/samsung. Update paths to reflect new location. Bug: 234150324 Test: successful compilation Change-Id: Id284a6e8157ab49cad42792018c5426c61f8fc13 Signed-off-by: Taylor Nelms <tknelms@google.com>
2023-04-20hdcp: remove deprecated APIsJi Soo Shin
Bug: 274517648 Change-Id: I61655bc498c4cd192289f69bc593a5bb45b5c89e
2023-04-20hdcp: centralize authentication to this kernel driver.Ji Soo Shin
We need centralized authentication driver that will holistically attempt HDCP2 auth then HDCP1 auth then so on. To realize this means that we need to integrate HDCP1 driver originally from DP driver side more seamlessly here and migrate even more features. This helps DP driver to have even simpler interface to HDCP. Bug: 274950373 Bug: 274517648 Change-Id: I7e11f6ea6b38abc75d0f518bf003db154870ee9d
2023-04-13zuma: migrate hdcp1.3 featuresJi Soo Shin
Bug: 271268975 Bug: 271270186 Bug: 274950373 Bug: 277216601 Bug: 275583366 Change-Id: Ifbf466111721219e9dd583e1baf6f59449e481f8
2023-03-23zuma: enable KLEAF buildJi Soo Shin
Bug: 274822214 Change-Id: Iec1ef9ae9b5a2373c1c0df205d5d8fdd071d9fd7 Signed-off-by: Ji Soo Shin <jisshin@google.com>
2023-03-03zuma: add connect infoJi Soo Shin
Bug: 271584067 Change-Id: I406fb19782d26838a99f50524f765b6ff6ddedca
2023-03-02zuma: fix selftest regressionJi Soo Shin
To pass Receiver CTS, we had to read cert entirely and not just parts at a time. Update selftest to reflect this new expectation. Bug: 271269142 Change-Id: I35433825b31924a2e5917b93bbdfbc032d988eac Signed-off-by: Ji Soo Shin <jisshin@google.com>
2023-03-01zuma: pass HDCP 2.3 CTS Receiver TestsJi Soo Shin
Couple bugs were found by the receiver tests. We must read entire certificate at a time. We must also write type as well. Bug: 271269142 Change-Id: I28bca10abd7e452dd7554f09d6f0795fae1df121 Signed-off-by: Ji Soo Shin <jisshin@google.com>
2023-02-17zuma: fix selftest regressionJi Soo Shin
New widevine TA check_protection now returns HDCP_NO_DIGITAL_OUTPUT during authentication. Additionally, it requires authentication within 3 seconds which means declaring DP_CONNECT isn't fast enough (which waits 2.5 seconds before triggering HDCP auth). Bug: 243411142 Test: "echo 1 > /dev/hdcp2" Change-Id: I1c85a13213091979c1f280cfca5650f78c8ccb08 Signed-off-by: Ji Soo Shin <jisshin@google.com>
2023-02-09zuma: trusty integrationJi Soo Shin
In this code: 1) we delete all the unused code 2) we redirect LDFW smc calls to Trusty TIPC calls. Bug: 265774740 Change-Id: I9708f83486d612b0342210936406aa6151231fd4 Signed-off-by: Ji Soo Shin <jisshin@google.com>
2023-02-08zuma: lassen drops HDCP code baseJi Soo Shin
This is a verbatim copy from Lassen from par/2205740. Bug: 265774740 Change-Id: I0b892d002d828589540163c238e957ac629ccc29 Signed-off-by: Ji Soo Shin <jisshin@google.com>
2023-02-07Initial empty repositoryInna Palant