Skip to content

drm/apple: retain monitor identity with the native DP EDID provider - #297

Merged
RyanTheTide merged 1 commit into
aurora-wipfrom
fix/j700-native-edid-provider-20261013
Oct 13, 2026
Merged

RyanTheTide merged 1 commit into
aurora-wipfrom
fix/j700-native-edid-provider-20261013

Conversation

@RyanTheTide

Copy link
Copy Markdown
Contributor

H17P can announce its EDID provider as DCPDP13Service after a cable-orientation change. The guarded AV service accepted only AppleDCPDP2HDMI, leaving the display unnamed despite a working picture. Admit both observed provider classes while retaining the compartment, endpoint, channel/unit, owner, generation and epoch checks.

The production change is three lines; no diagnostic logging or device-specific option is added. The regression harness now runs the actual announcement, admission and publication functions across 64 alternating-provider cycles, including stale completion, reader pins, forged identities and auxiliary-service rejection.

Validation:

  • ASan/UBSan harness passes on this exact branch; the unmodified aurora-wip parent fails when the legitimate native provider should publish.
  • Neo R62, containing the same production change, recovered fresh EDID and Acer identity after both HDMI and native-provider announcements; 1080p180, colours and cursor passed. The native provider initialized on fresh channels 13 and 17.
  • Those hardware comparisons temporarily held the SuperSpeed root hub awake. That diagnostic was rolled back. Automatic PHY/runtime-PM recovery remains a separate open issue; this PR does not claim the complete DP stack is production-qualified.

Independently authored from authorized hardware protocol facts and the existing licensed public source. No private implementation or raw capture is included. Independent review and final production integration remain pending.

@RyanTheTide
RyanTheTide force-pushed the fix/j700-native-edid-provider-20261013 branch 2 times, most recently from 15b5ef1 to 8b368c6 Compare October 13, 2026 13:13
H17P can announce DCPDP13Service in the EDID AV compartment after an
attachment change. The HDMI-only class check rejects that otherwise
valid identity before OPEN, leaving the connector without an EDID owner.

Accept that exact native class alongside AppleDCPDP2HDMI under the
existing AFKV2 AV compartment, endpoint, channel and unit constraints.
Keep legacy handling, auxiliary-service policy and all attachment,
generation, epoch, ownership and retirement fences unchanged.

Exercise the actual announcement and admission functions with both
providers over 64 flip/revalidation/return cycles, including same-generation
revalidation. Retain forged identity, stale OPEN, owner, auxiliary,
reader/pending-command and legacy controls. The exact parent fails the
first legitimate native publication; the correction passes.

Independently authored from authorized hardware observations of provider
identifiers and the existing licensed source. No private implementation,
firmware control flow or raw trace content was copied.

Assisted-by: LLM
Signed-off-by: Ryan Murray <[email protected]>
@RyanTheTide
RyanTheTide force-pushed the fix/j700-native-edid-provider-20261013 branch from 8b368c6 to ea2e6a1 Compare October 13, 2026 13:18
@RyanTheTide
RyanTheTide marked this pull request as ready for review October 13, 2026 13:18
@RyanTheTide
RyanTheTide merged commit ea2e6a1 into aurora-wip Oct 13, 2026
@RyanTheTide
RyanTheTide deleted the fix/j700-native-edid-provider-20261013 branch October 13, 2026 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant