Repository navigation
tools/asahi, selftests: fix host tests after the DRM_APPLE_HDCP merge - #3375
Closed
DjDeveloperr wants to merge 1 commit into
Closed
DjDeveloperr wants to merge 1 commit into
DjDeveloperr wants to merge 1 commit into
Conversation
The merge of #3302 (deb2df2) broke five host tests on main: - hardware-defaults-tests.py wants every native Apple option requested in the shared distro fragment. DRM_APPLE_HDCP (bool, default y, depends on DRM_APPLE) is not, so request it next to DRM_APPLE_CEC. - backlight-coldboot-tests.py (both modes), dcpext26-startup-tests.py and the apple-dcp selftests (service-rebind, provider-admission, ordered-rx, stale-crtc-poweroff) build production functions against their own stubs. Those functions now call dcp_hdcp_link_changed(), dcp_hdcp_match_service(), dcp_hdcp_route() and dcp_hdcp_quiesce(), and the builds stop on the implicit declarations. None of these fixtures has an HDCP channel, so give them the same no-op stubs dcp-hdcp-drv.h has without CONFIG_DRM_APPLE_HDCP. No kernel code changes. Fixes: 1acd474 ("drm: apple: add the HDCP 2.2 transmitter for DCP outputs") Fixes: c2acdf7 ("drm: apple: hdcp: work on the default command line, unbind and suspend safely") Signed-off-by: DjDeveloperr <hey@djdev.me>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What: Turn
host-testsonmaingreen again. The merge of #3302 (deb2df2a9e2b) broke five host tests:hardware-defaults-testswants every native Apple option requested in the shared distro fragment.arch/arm64/configs/asahi.confignow requestsCONFIG_DRM_APPLE_HDCP=ynext toCONFIG_DRM_APPLE_CEC=y. The option isdefault y, so a resolved config does not change.Several harnesses build production DCP functions against their own stubs, and those functions now call HDCP helpers:
backlight-coldboot-tests(both modes):dcp_hdcp_link_changed();dcpext26-startup-tests:dcp_hdcp_match_service();apple-dcpselftestsservice-rebind,provider-admission,ordered-rxandstale-crtc-poweroff:dcp_hdcp_match_service(),dcp_hdcp_route()anddcp_hdcp_quiesce().None of these fixtures has an HDCP channel, so each harness gets the same no-op stub that
dcp-hdcp-drv.hhas withoutCONFIG_DRM_APPLE_HDCP.Tested: no runtime change; host tests only, at
0ed4d7eb6e7e, withtools/asahi/run-host-tests.py(thehost-testsworkflow):main(run 45964990093, 722/727) now pass:hardware-defaults-tests,backlight-coldboot-testsand its--negative-controls,dcpext26-startup-tests, andapple-dcp(all cases).g15-pb-growth-testsandg15-stats-drain-tests(with and without--mutations).git showof older G15 revisions, a partial-clone fetch limit of the local object store.mainin CI, and this change touches nothing they read.-Wunused-but-set-global, which CI's clang 18 lacks. The local run added-Wno-unused-but-set-globalafter each clang command line to match CI.checkpatch.pl --strict: 0 errors, 0 warnings, 0 checks.Risk: two-way · host tests and the distro config fragment only; no kernel code changes.
Not yet: None. This is host tests and the config fragment only, with no runtime kernel code change.