Skip to content

feat(ccu): add HCCP driver adapters - #73

Draft
Kur0x wants to merge 2 commits into
codex/ccu-stack-01-corefrom
codex/ccu-stack-02-driver
Draft

feat(ccu): add HCCP driver adapters#73
Kur0x wants to merge 2 commits into
codex/ccu-stack-01-corefrom
codex/ccu-stack-02-driver

Conversation

@Kur0x

@Kur0x Kur0x commented Jul 28, 2026

Copy link
Copy Markdown
Member

Summary

  • add TileXR-owned HCCP ABI types and dynamic loader
  • add CCU driver adapter, RA custom-channel provider, and lower-layer payload encoding
  • keep active code free of hcomm and HCCL private dependencies

Stack

2 of 9. Depends on the core microcode PR from branch codex/ccu-stack-01-core.

Validation

  • git diff --check
  • focused driver, payload, and RA-provider unit tests
  • 22 tests passed; 1 comparison-only hcomm oracle skipped because the reference checkout is absent

Scope

Host-only validation. No runtime or hardware enablement in this PR.

if (RaInit == nullptr || RaDeinit == nullptr) {
return FailWithCode(report, "missing RaInit/RaDeinit in libra.so", TILEXR_ERROR_NOT_FOUND);
}
if (raHdcInitialized_) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This idempotent path returns success without checking the newly requested devicePhyId, hdcType, or enableHdcAsync. A second InitRaHdc call with different options therefore silently keeps the old RA configuration; the shared-session key also omits enableHdcAsync. Please compare the full configuration and reject incompatible reuse.

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.

2 participants