Repository navigation
drm/asahi: g17: m5: drop removed fields from the layout fast-path test - #4382
Conversation
Commit fb0d404 ("drm/asahi: g17: shrink Validated and eliminate submit-path stack copies") removed the attachments and timestamps fields from Validated::Render. Commit a665a66 ("drm/asahi: g17: trim per-submit program parsing, template match, and WC prep"), which merged with it in aurora-silicon#4346, added layout_fast_path_matches_layout_and_window, and that test still sets both fields. The asahi KUnit build now fails with E0559 at m5_render_submission.rs. Drop the two fields from the test, and drop the two zeroed values that only filled them. Signed-off-by: Jonathan Goyvaerts <jonathan.goyvaerts@gmail.com>
There was a problem hiding this comment.
Verdict: MERGE at 3fdf0c4
Checked: Only the KUnit fixture changes. Its Render initializer drops the two removed fields and their unused zeroed inputs, retaining the fast-path layout and window assertions. The exact-head arm64 KUnit run reported by the author passed 1,109 with one skip, including the changed test.
RyanTheTide
left a comment
There was a problem hiding this comment.
Verdict: MERGE at 3fdf0c4
Checked: Only the KUnit fixture changes. Its Render initializer drops the two removed fields and their unused zeroed inputs, retaining the fast-path layout and window assertions. The exact-head arm64 KUnit run reported by the author passed 1,109 with one skip, including the changed test.
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
|
Verified the clean merge of The earlier Host Tests run failed in the legacy sleep and T6030 PMP graph fixtures repaired by #4385. On the current merge tree, |
|
Ryan approved Mini's landing-tree Host checks passed as recorded above, including the two tests repaired on main by #4385. The additional landing-tree CI run is still queued. Landing on the exact-head KUnit receipt and the current-tree Host results. |
Main at d0684a0 (includes aurora-silicon#4382). Conflicts resolved keeping both sides: - runtime.rs: main's 9583ee4 made ComputeShared an identity with no memory behind it (nothing of the device-wide compute pool is mapped into client VMs any more). This branch keeps building it in the SUBMIT (provision_shared) and only installing it at publication (shared_compute); the SUBMIT now calls main's ComputeShared::new() without an allocator. - g17-compute-constructor-tests.py: this branch's fixture with main's ComputeShared::new(); the publication-builds mutation follows, and swallow-refusal swallows both the aperture's and the scheduler's refusal, as the refusal case needs both. Signed-off-by: Jonathan Goyvaerts <jonathan.goyvaerts@gmail.com>
Brings aurora-silicon#3704's merge of main at d0684a0 (includes aurora-silicon#4382). No conflicts. Signed-off-by: Jonathan Goyvaerts <jonathan.goyvaerts@gmail.com>
Brings aurora-silicon#4348 and aurora-silicon#3704 up to main at d0684a0 (includes aurora-silicon#4382). No conflicts. Signed-off-by: Jonathan Goyvaerts <jonathan.goyvaerts@gmail.com>
What: The asahi KUnit build on main fails with E0559 in
g17/queue/render/m5_render_submission.rs. #4346 merged two commits that cross: fb0d404 removed theattachmentsandtimestampsfields fromValidated::Render, and a665a66 added the testlayout_fast_path_matches_layout_and_window, which still sets both fields. This drops the two fields from the test, and the two zeroed values that only filled them. Test code only.Tested: KUnit, arm64 qemu, asahi kunitconfig, at 3fdf0c4: 1110 run, 1109 pass, 1 skip, including
layout_fast_path_matches_layout_and_window. On main f02bd68 the same build stops at the two E0559 errors. No Mac needed: the change touches only a KUnit test.Risk: two-way door · no Mac affected (KUnit test only, no driver code)
Not yet: nothing.
Details
attachmentsandtimestampsfromValidated::Render.layout_fast_path_matches_layout_and_window, which builds aValidated::Renderwith both fields.Evidence
Build error on main f02bd68 (asahi kunitconfig):
At 3fdf0c4:
Testing complete. Ran 1110 tests: passed: 1109, skipped: 1, with[PASSED] layout_fast_path_matches_layout_and_window.