Skip to content

drm: apple: HDCP 2.2 with the standard Content Protection properties - #3302

Merged
RyanTheTide merged 6 commits into
mainfrom
feat/drm-apple-hdcp
Nov 27, 2026
Merged

RyanTheTide merged 6 commits into
mainfrom
feat/drm-apple-hdcp

Conversation

@RyanTheTide

@RyanTheTide RyanTheTide commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

What:
HDCP 2.2 on external displays for drm/apple, requested the standard way. Builds on #3256 (SEP HDCP client, merged).

  • The standard Content Protection (Undesired/Desired/Enabled) and HDCP Content Type (Type 0/1) connector properties on external DP, HDMI and USB-C connectors (never on a built-in panel). A compositor or player asks for protection as on any Linux GPU. ENABLED means the link is authenticated and encrypted.

  • How the hardware splits the work:

    • SEP: holds the transmitter's device keys and does every HDCP 2.2 crypto step. Reached through include/linux/apple-sep-hdcp.h (soc: apple: sep: add HDCP 2.2 transmitter client (ep 0x0e) #3256).
    • DCP: carries the protocol. Its DP device service reads and writes the receiver's HDCP 2.2 registers (the DisplayPort HDCP 2.2 map, also used behind the on-board DP to HDMI converter). A per-attempt auth-session service sends receiver events and takes progress reports.
    • This driver: runs the transmitter procedure between the two.
  • Commits:

    1. AFKv2 service reports with data (generic).
    2. The transmitter + policy, with no runtime caller.
    3. The runtime: service binding, sessions, properties.
    4. The DT binding apple,hdcp-channels.
    5. t8112/t604x values.

    Services bind by EPIC name. Per-SoC values come from the DT. No chip gates.

  • No module parameter: a display processor takes part when its DT node has apple,hdcp-channels (t8112, t604x here). While userspace does not ask for protection, DCP's sessions are declined and nothing changes on screen.

Spec behaviour (compliance)
  • Keys: km, ks, kd and the device keys never leave the SEP. No kernel or userspace interface takes or returns them. Only fields the protocol sends in the clear reach the driver: r_tx, r_rx, certificate, Ekpub(km) or Ekh(km)+m, Edkey(ks), r_iv, H′/L′/V′/M′ for the SEP to verify, and V. Relay buffers are freed with kfree_sensitive, and no message bytes are logged.
  • Revocation: the Receiver ID and every ReceiverID of a repeater go through drm_hdcp_check_ksvs_revoked() (the SRM userspace installs, as on i915). A revoked ID or an unreadable SRM fails closed.
  • Repeaters: MAX_DEVS/MAX_CASCADE exceeded fails. seq_num_V must start at 0. V′ is verified by the SEP and V's low half is acked.
  • Type 1: set through Stream_Manage, or the stream-type register for a receiver that is not a repeater. Enabled only after M′ verifies. Refused when an HDCP 1.x device or an HDCP 2.0 repeater is downstream.
  • Timing: the certificate is read after the 100 ms AKE_Send_Cert time. A Receiver ID without 20 ones fails the attempt. Encryption starts 200 ms after SKE. DCP turns RxStatus into session events and owns the receiver timeouts. RxStatus is read only when an event is overdue, because a DisplayPort read clears those bits. Behind the on-board converter DCP never raises the event, though the receiver has H′ ready.
  • Failure: any failed step, a session close, unplug, DPMS off, suspend or unbind turns encryption off, closes the SEP session and returns to DESIRED. The picture is never touched. Re-auth backs off from 1 s to 60 s. Link integrity stays with DCP, which closes the session on a re-auth request or a link failure.
  • What this does not claim: HDCP licensing is Apple's (device keys and firmware in the SEP and DCP); this only drives that hardware. HDCP 1.x sessions DCP offers are declined.

Tested:

  • J473 (Mac mini M2, T8112):
    • DP-2 (MSI via the on-board converter, repeater) reached Enabled, Type 0.
    • After s2idle it re-authenticated to Enabled with Type 1 without intervention.
    • The second pipe's repeater (USB-C adapter) completes AKE, LC and SKE with H′ and L′ verified, then DCP times out waiting for the repeater's ReceiverID list. macOS fails at the same point with the same receiver, so this matches macOS.
    • s2idle 1/1, Enforcing, 0 failed units, restored to fleet89 + night rules.
    • Kits hdcp12/hdcp13 (this tree + LAB debug logging); traces/display/20261127-hdcp/r10-hdcp12, r11-hdcp13.
  • J616s (MacBook Pro M4 Pro, T6040):
    • DP-3 (MSI over DP, not a repeater) reached Enabled, Type 0 and, after a disable, Enabled, Type 1.
    • s2idle 1/1, restored to fleet89.
    • j616s-r4-hdcp13.
  • Proof tool: a small libdrm program (atomic set Desired [+type], poll the property).
  • KUnit (arm64 qemu, drm/apple): 239 run, 236 pass, 3 skipped (pre-existing UCLAMP/OF_OVERLAY skips). The HDCP suites (wire, tx, policy, glue) all pass.
  • arm64 fleet89-config build clean.
  • Head c2acdf7a (review fixes), J473, default cmdline (kit 7.3.0-aurora-hdcp15, r13-hdcp15):
    • DP-2 requested at boot: Enabled after 7.3 s, with no DPMS cycle needed (DCP re-offers a session about every 1.6 s while it is declined).
    • DPMS off/on: Enabled again 5.8 s after power-on.
    • s2idle: re-authenticated with Type 1. No DCP "device close" timeout.
    • Restored, 0 failed units, Enforcing.
  • J616s at c2acdf7a: row pending (Mac reserved by another lane).
  • Earlier head ccd3793b (kit 7.3.0-aurora-hdcp14):
    • J473 r12-hdcp14: DP-2 Enabled Type 0 (7.4 s after DPMS); after s2idle, Enabled Type 1 (repeater). No device-close timeout. Restored, 0 failed, Enforcing.
    • J616s j616s-r6-hdcp14: DP-3 Enabled Type 0 (3.8 s after DPMS); after a disable, a new Type 1 request reached Enabled in 6.4 s. s2idle 1/1. Restored, 0 failed, Enforcing.

Risk:
two-way · Macs whose DT has apple,hdcp-channels (t8112, t604x). The driver starts the DCP DP device and HDCP interface endpoints where nothing started them before (T8112 classic path) and answers DCP's HDCP sessions, declining them unless userspace asks. It never touches the picture.

Not yet:

  • Re-request after a local disable: DCP keeps its idled session open and offers no new one, so a new request after turning protection off is served at the next DPMS, mode set, hotplug or resume. Re-running on the still-open session worked, but left DCP offering no session after s2idle, so it is not in this PR.
  • J616s after s2idle: seen at the earlier head (no re-enable, a 1 s device-close timeout). Suspend now ends the session before DCP sleeps; the J616s row at c2acdf7a will show whether that fixes it.
  • Link integrity: relies on DCP closing the session (no CP_IRQ/RxStatus handling once encrypted).
  • Coverage: T6050 external and T8132/M4 (iomfb_m4) paths are not wired.
  • Compositors: Mutter has no request path yet. A compositor would set Content Protection=Desired (+type) on the output showing protected content.
  • Linux browsers' Widevine L3 does not read this property.

An AFKv2 endpoint could send only payload-less open and close reports. The HDCP auth session takes the transmitter's progress as a standard service report with data (category report, subtype 0xc0, no flags). Allow that one form; everything else stays refused.

Signed-off-by: Ryan Murray <[email protected]>
The display coprocessor carries HDCP 2.2 to an external receiver and the
SEP holds the transmitter's keys and does its cryptography. Add the
transmitter that joins the two, without any runtime caller yet:

- dcp-hdcp-wire.h: the DCP services' message layouts. The DP device service
  reads and writes the receiver's HDCP 2.2 registers (the DisplayPort HDCP
  2.2 register map, also used behind an on-board DP to HDMI converter); an
  authentication session service per attempt calls the AP with the
  receiver's events and takes the transmitter's progress reports.
- dcp-hdcp-tx.c: the HDCP 2.2 transmitter procedure on the
  apple-sep-hdcp.h service: AKE with stored km or first pairing, locality
  check with retries, SKE, repeater authentication (topology limits,
  seq_num_V, V), stream management with the content type and one M'
  retry, the 200 ms wait, then encryption. Receiver IDs go through
  drm_hdcp_check_ksvs_revoked(); a revoked ID or an unreadable SRM fails
  closed. Type 1 is refused when RxInfo reports an HDCP 1.x device or an
  HDCP 2.0 repeater downstream. The certificate is read after the 100 ms
  AKE_Send_Cert time and a Receiver ID without twenty ones fails the
  attempt. DCP turns RxStatus into session events; RxStatus is read only
  when an event is overdue, since a DisplayPort read clears those bits.
- dcp-hdcp.h: the Content Protection policy (off, desired, authenticating,
  enabled), with back-off between failed attempts.

Only fields the protocol sends in the clear pass between the transmitter
and the SEP; km, ks and the device keys never leave the SEP.

KUnit: apple-dcp-hdcp-wire, apple-dcp-hdcp-tx, apple-dcp-hdcp.

Signed-off-by: Ryan Murray <[email protected]>
Expose the standard "Content Protection" and "HDCP Content Type" connector
properties on external DisplayPort, HDMI and USB-C connectors (never on a
built-in panel) and run the HDCP 2.2 transmitter over the DCP services:

- Bind the DP device service and the HDCP interface and auth-session
  services by EPIC name, on the classic and the compact announcement
  paths alike (their provider classes are shared with other services).
  Start the DP device and HDCP interface endpoints when nothing else
  drives them.
- Each auth session DCP announces gets a handler: DCP announces one per
  protocol version and closes each before it powers down. Sessions
  announced for HDCP 1.x are declined.
- Take a session DCP opens only while protection is desired; answer every
  session call; report the transmitter's progress; pair the device
  service's session query with its end call when the session closes.
- ENABLED only after the SEP's encryption enable and the final progress
  report. A failure, a session close, unplug, DPMS off, suspend or unbind
  turns encryption off, closes the SEP session and drops back to DESIRED;
  the picture is not touched. Re-authentication backs off from 1 s to 60 s.
  Link integrity stays with DCP, which closes the session on a
  re-authentication request or a link failure.
- The SEP channel comes from the display node's "apple,hdcp-channels".

DCP offers a session only when the link comes up, so a request made while
no session is offered is served at the next link-up (DPMS, mode set,
hotplug or resume).

Off by default: appledrm.hdcp=1 enables it.

KUnit: apple-dcp-hdcp-glue.

Signed-off-by: Ryan Murray <[email protected]>
The Secure Enclave HDCP interface channels assigned to a display
coprocessor; the first is its external output's HDCP 2.2 transmitter.

Signed-off-by: Ryan Murray <[email protected]>
Fill in "apple,hdcp-channels" from the Apple Device Tree for t8112 (dcp
5/6, dcpext 7/8) and t604x (dcp 5/6, dcpext0 7/8, dcpext1 9/10). The
t604x values come from a t6041 device tree; t6040 shares the layout.

Signed-off-by: Ryan Murray <[email protected]>
@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Non-author adversarial review at ccd3793b (merge train). I reviewed #3302's five commits on top of #3256. Verdict: changes needed, 4 blockers.

Blockers

  1. The feature needs a module param. dcp-hdcp.c:48-50 adds module_param(hdcp), default off. dcp_hdcp_init() (:995) and dcp_hdcp_attach_connector() (:1049) return early without it, and the Kconfig, header and body say "appledrm.hdcp=1 enables it". The production-ready rule says a feature must work with the default cmdline. apple,hdcp-channels in the DT should be the only switch.
  2. Unbind leaves dcp->hdcp dangling, with live endpoints.
    • dcp_hdcp_init() runs in dcp_start() during component bind, so h (devm_kzalloc) and the workqueue cleanup are freed on component unbind.
    • dcp_hdcp_fini() (:1023-1037) doesn't clear dcp->hdcp, doesn't disable the works, and doesn't shut down h->dpdev_ep/h->if_ep, the endpoints dcp_hdcp_start_one() started.
    • Results:
      • A message that arrives while RTKit drains goes through dcp_afkep() → dcp_hdcp_route() on freed h.
      • On rebind, dcp_hdcp_init() sees non-NULL dcp->hdcp and keeps the freed struct.
      • On T6041 dcpext, relay_teardown → dcp_hdcp_apply(TEARDOWN) can requeue teardown_work after the flush. Devres frees in reverse order, so that work runs against freed services.
    • Suggested fix: a dead flag, disable_work_sync on each work, shut down the endpoints HDCP started, and clear dcp->hdcp.
  3. Content Protection can read ENABLED with the cipher off.
    • teardown_work (:482) has no generation, and accepting AUTH_OPEN clears h->cancel (:679-684).
    • Sequence:
      • event_work is blocked in a SEP call (up to 1 s under the global lock), a relay call or a spec sleep.
      • DPMS off/on or a replug runs link_changed, which sets cancel and queues teardown_work.
      • DCP opens a new session, which clears cancel.
      • event_work loops (:569) and the new session reaches ENABLED.
      • Then teardown_work runs dcp_hdcp_abort(): encryption off, SEP close, DEV_END.
    • link.state stays ENABLED with no encryption.
    • Suggested fix: tear down synchronously in the event loop before a new run, or generation-check teardown_work and have dcp_hdcp_run() abort a stale tx first.
  4. The suspend teardown runs only after resume.
    • h->wq is WQ_FREEZABLE (:1010). dcp_s2r_suspend() calls dcp_hdcp_link_changed() (dcp.c:5548) after freezable queues are frozen, so teardown_work (encryption off, SEP close, DEV_END) and prop_work run after resume.
    • This matches the J616s row: a 1 s "device close" timeout at s2idle entry, while DCP waits for DEV_END, and no re-enable after resume. The body's "suspend turns encryption off" doesn't hold.
    • Suggested fix: synchronous teardown in suspend, or a non-freezable queue.

Non-blocking

  • dcp_hdcp_close() (:550) ignores dcp_hdcp_closed()'s action, so "an enabled one is redone at once" isn't implemented.
  • A queued CLOSE is checked against h->session_gen after a newer AUTH_OPEN has overwritten it. It can drop the new session (liveness only).
  • AUTH_OPEN with room < sizeof(word) returns -EPROTO but leaves state = AUTH until the next link change.
  • Unknown session commands are acked as success (:695-701).
  • DCP_HDCP_KICK_MS 5000×6, EVENT_SLACK_MS 500 and CALL_MS "+500" are not spec values. Justify them or drop them. The kick path also contradicts "asking DCP for a session is a follow-up".
  • Once encrypted there's no CP_IRQ/RxStatus handling, so link integrity relies on DCP closing the session. State that as a known limit.
  • When the SEP goes away there's no notification. ENABLED stays until the next sync. Per soc: apple: sep: add HDCP 2.2 transmitter client (ep 0x0e) #3256's header, treat -ENODEV/-EAGAIN as retry-later.
  • h->kicks is written from several contexts without atomics.
  • J473 row: Type 0 came back as "Type 1" after s2idle. Is the type state stale?
  • The t604x values come from a t6041 ADT, and the commit assumes the t6040 shares them.

Checked OK

  • The spec timings use the drm_hdcp constants (100 ms cert, 200 ms before encryption, L′/stream-ready).
  • Revocation goes through drm_hdcp_check_ksvs_revoked(), and a result above or below 0 fails.
  • Repeater: MAX_DEVS/CASCADE are checked, the count is 1..31, seq_num_V starts at 0 and seq_num_M is bounded. Type 1 is refused with HDCP 1.x/2.0 downstream. The repeater step is enforced before Finish.
  • DCP register replies are bounds-checked. km is zeroed and the relay buffers use kfree_sensitive. No secrets are logged.
  • No SEP or AFK call happens under a spinlock or h->lock. prop_work takes connection_mutex alone, so I found no deadlock.
  • The binding YAML is well-formed. There are no chip or firmware gates and no taint.

…d safely

Address the review of the HDCP series:

- No module parameter: a display processor takes part when its node has
  "apple,hdcp-channels" (and the SEP HDCP service is built in); while
  userspace does not ask for protection, DCP's sessions are declined.
- Unbind: the state is device-managed and goes with the component bind.
  dcp_hdcp_fini() now disables every work synchronously, ends what is open,
  shuts down the endpoints this file started and clears dcp->hdcp, so
  nothing routes to or requeues on freed state.
- A teardown that was asked for before DCP opened a newer session no longer
  ends that session: teardowns record the accepted-open count and skip when
  it moved; a new run aborts whatever an earlier session left open first.
- Suspend and DPMS off: the work queue is not freezable any more, and both
  paths wait for the teardown (encryption off, SEP session closed, the
  device service's end call) before DCP sleeps or the pipe goes down.
- The capability call goes out once per HDCP interface when it opens; the
  periodic re-send ("kick") is gone. A close of an earlier session after a
  newer open is ignored, and a close's action is applied.
- Comments justify the two non-spec margins (event slack, register call
  timeout).

KUnit: apple-dcp-hdcp-glue gains a stale-teardown and an unbind case.

Signed-off-by: Ryan Murray <[email protected]>
@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Thanks for the review. All four blockers are fixed in c2acdf7, which is pushed. Hardware rows at that head on the default cmdline (J473 and J616s) follow as soon as a Mac is free.

Blockers

  1. Module parameter: removed. A display processor takes part when its node has apple,hdcp-channels and APPLE_SEP_HDCP_INTERFACE is built in. While userspace doesn't ask, DCP's sessions are declined. I updated the Kconfig help and the header comment to match.

  2. Unbind: dcp_hdcp_fini() now:

    • sets cancel and runs disable_work_sync() on every work (event, teardown, prop, relay, caps), so a later queue_work() is a no-op;
    • aborts the SEP session and sends the device-service end call;
    • runs afk_shutdown() on the endpoints dcp_hdcp_start_one() started;
    • clears dcp->hdcp, so dcp_afkep()/dcp_hdcp_route() and every service callback (all go through dcp_hdcp_of()) see NULL.

    KUnit glue_fini_unpublishes checks this.

  3. ENABLED with the cipher off: teardowns record the accepted-open count (td_seq) when queued. teardown_work skips if a newer AUTH_OPEN was accepted since then. dcp_hdcp_run() aborts any leftover tx from an earlier session before it starts. KUnit glue_stale_teardown_skipped covers it.

  4. Suspend: the queue is no longer freezable. A new dcp_hdcp_quiesce() does the link change and then flush_work(teardown_work). It's used in dcp_s2r_suspend() and dcp_poweroff(), which are both process context and never on DCP's RX path, so encryption off, the SEP close and DEV_END reach DCP before it sleeps or the pipe goes down. This should also clear the J616s 1 s device-close timeout; the next J616s row will show it.

Non-blocking

  • dcp_hdcp_close() now applies the action from dcp_hdcp_closed(). It also ignores a CLOSE for a session that isn't the current one, which covers the stale queued CLOSE after a newer OPEN.
  • The kick path is gone. The capability call now goes out once per interface when it opens, as macOS does at boot. Asking DCP for a session is still a follow-up.
  • EVENT_SLACK_MS and CALL_MS are now commented as non-spec margins. The slack covers CP_IRQ → DCP → mailbox → workqueue and only decides when RxStatus is read as a fallback. The call timeout is DCP's own 500 ms AUX timeout plus the mailbox round trip.
  • Link integrity relies on DCP closing the session. That's listed as a known limit in the PR's "Not yet".
  • SEP -EAGAIN is already a hold that doesn't count as a failure. -ENODEV fails the attempt; the next sync retries once the SEP is back.
  • Type 1 after s2idle in the J473 row: expected. The row requested Type 1 (step 5) before the s2idle step, so the re-auth came back with the requested type.
  • t6040 values: I checked them against the J616s (t6040) ADT, not only t6041: dcp <5 6>, dcpext0 <7 8>, dcpext1 <9 10>. The t6041-j616c ADT has the same values.
  • Left as is: the -EPROTO on an AUTH_OPEN with a short reply (state stays AUTH until the next link change), and unknown session commands acked with success, since DCP needs an answer. They're logged at debug level.

KUnit: 241 run, 238 pass, 3 pre-existing skips.

@RyanTheTide
RyanTheTide changed the base branch from feat/sep-hdcp-client to main November 27, 2026 06:16
@RyanTheTide
RyanTheTide marked this pull request as ready for review November 27, 2026 07:02
@RyanTheTide
RyanTheTide requested review from a team as code owners November 27, 2026 07:02
@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Retargeted to main after #3256 merged, and marked ready.

J473 hardware row at head c2acdf7a (kit 7.3.0-aurora-hdcp15) on the default cmdline:

  • DP-2 requested at boot: Enabled after 7.3 s.
  • DPMS off/on: Enabled again 5.8 s after power-on.
  • s2idle: re-authenticated, Type 1.
  • No DCP device-close timeout at suspend.
  • Restored to fleet89, Enforcing, 0 failed units.

The J616s row at this head comes as soon as that Mac is free (another lane has it reserved). I also tried re-running on DCP's still-open session after a local disable. That served a re-request without waiting for a link-up, but after s2idle DCP offered no session at all, so I left it out of this PR and listed the limit under 'Not yet'.

@RyanTheTide

Copy link
Copy Markdown
Contributor Author

J616s (T6040) row at head c2acdf7a (kit 7.3.0-aurora-hdcp15, default cmdline), as a regression row: the MSI is not attached to the J616s right now. DP-3 shows disconnected on production fleet89 as well; its USB-C Right port has carried another Mac since this morning.

  • Boot: Enforcing, 0 failed units. Properties are correct: Content Protection on DP/HDMI/USB-C, none on eDP-1.
  • s2idle 1/1, with no DCP "device close" timeout and no warnings.
  • Restored to fleet89.

The J616s ENABLED proof (Type 0 after DPMS, Type 1 on a new request) is from head ccd3793b (j616s-r6-hdcp14). The review-fix commit has no T6040-specific code. A display row at this head needs the MSI reconnected.

@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Merge-train re-review at c2acdf7a: MERGE once pr-text is green. All four blockers from my ccd3793b review are fixed:

  1. No module param: hdcp is gone, and apple,hdcp-channels in the DT plus the SEP interface decide.
  2. Unbind: dcp_hdcp_fini() (dcp.c:7483) cancels, disable_work_syncs all five works, aborts, ends the device service, afk_shutdowns the if_ep/dpdev_ep it started, and clears dcp->hdcp.
  3. ENABLED with the cipher off: teardown_work returns when open_seq != td_seq, so a session DCP opened after the teardown request is left alone. dcp_hdcp_run() aborts a leftover sep_open session before starting.
  4. Suspend: the queue is no longer freezable, and dcp_hdcp_quiesce() (link change plus flush_work(teardown_work)) runs on the s2r suspend path (dcp.c:5548) and on DPMS off (dcp.c:9938), so encryption is off and DEV_END is sent before DCP sleeps.

Rows: J473 at this head on the default cmdline (r13-hdcp15), and J616s as the regression row at this head. #3256 is on main.

The non-blocking notes from the first review (the kick timeouts not being spec values, no CP_IRQ handling once encrypted, and so on) can be follow-ups.

@github-actions github-actions Bot added area:bringup Area from CODEOWNERS (bot) area:display Area from CODEOWNERS (bot) area:platform Area from CODEOWNERS (bot) blast:m2 Macs affected, from Merge risk (bot) ci-failing A check failed at the PR head (bot) door:two-way Revertible or not, from Merge risk (bot) needs-review No approving review from Core or Omarchy Mac yet (bot) labels Nov 27, 2026
@github-actions

Copy link
Copy Markdown

Merge readiness at c2acdf7a: not ready yet

Check Detail
CI at head no failing: pr-text / pr-text
Review no needs one approving review from Core or Omarchy Mac (not the author)
Requested changes ok none
Hardware row at head ok in the PR body at c2acdf7a
Conflicts ok none
PR text ok Risk: two-way · Macs whose DT has apple,hdcp-channels (t8112, t604x). The driver starts the DCP DP device and HDCP interface endpoints where nothing started them before (T8112 classic path) and answers DCP's HDCP sessions, declining them unless userspace asks. It never touches the picture.

Areas: area:bringup, area:display, area:platform

Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels.

@RyanTheTide
RyanTheTide merged commit deb2df2 into main Nov 27, 2026
9 of 14 checks passed
@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Reverted in #3374. This merge turned main's host tests red: the harness stubs for the new HDCP calls were missing, and this PR's host-tests job never ran after the retarget, which I missed. The code review and rows stand. To reland, open this as a new PR with the harness updates and a green python3 -I tools/asahi/run-host-tests.py. Three updates are ready: the dcpext26-startup and backlight-coldboot stubs, plus CONFIG_DRM_APPLE_HDCP=y in asahi.config. Four apple-dcp selftests still need stubs: service-rebind, provider-admission, ordered-rx and stale-crtc-poweroff.

RyanTheTide added a commit that referenced this pull request Nov 27, 2026
Picks up the revert of #3302 (fca33ed), whose host-test breakage came in with the previous main merge.

Signed-off-by: Ryan Murray <[email protected]>
RyanTheTide added a commit that referenced this pull request Nov 27, 2026
Picks up the revert of #3302 (fca33ed), whose host-test breakage came in with the previous main merge.

Signed-off-by: Ryan Murray <[email protected]>
@RyanTheTide
RyanTheTide deleted the feat/drm-apple-hdcp branch November 27, 2026 13:21
RyanTheTide added a commit to sithglan/aurora-linux that referenced this pull request Nov 27, 2026
…perties"

This reverts merge deb2df2 (aurora-silicon#3302). The merge turned main's host
tests red (Host tests run 45964990093; last green fcb1242): the host
harnesses that compile dcp.c excerpts have no stubs for the new HDCP
calls (dcpext26-startup-tests, backlight-coldboot-tests), the shared
asahi.config lacks the new CONFIG_DRM_APPLE_HDCP request
(hardware-defaults-tests), and four apple-dcp selftests fail
(service-rebind, provider-admission, ordered-rx, stale-crtc-poweroff).
The PR's host-tests job never ran after it was retargeted to main.
Reland it with the harness updates once run-host-tests.py is green.

Signed-off-by: Ryan Murray <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:bringup Area from CODEOWNERS (bot) area:display Area from CODEOWNERS (bot) area:platform Area from CODEOWNERS (bot) blast:m2 Macs affected, from Merge risk (bot) ci-failing A check failed at the PR head (bot) door:two-way Revertible or not, from Merge risk (bot) needs-review No approving review from Core or Omarchy Mac yet (bot)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant