fix(agc): raise no end-of-pipe event from flips and carry the release's interrupt context #7978
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/7978"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by fma-rc on 2026-10-19T16:44:12Z.
What
Death Stranding 2 (PPSA02015) crashes about 27 s in on current
mainwith PR 5426: its graphics event thread calls a null handler. Stop onmain00d7e611ef+ #5426:The thread waits on graphics event 0 and indexes a handler table by
sceAgcDriverGetEqContextId. Two things go wrong.Flips raise the event. Since #4215 every flip delivers the end-of-pipe event (#7137 later latched it off per queue). From the PS5 13.60 kernel, a flip's interrupt context is always typed and goes to the display path, not to this event. Flips now raise no event. #4215 added the event so that Minecraft (PPSA17221) could keep the labels its frames write after a flip; instead, a submission with a flip in its command buffer now returns only after every earlier flip submission ran to its end and its GPU work completed. CPU flips (
sceVideoOutSubmitFlip) do not wait, and the next flip is still released before presentation as before. This removes the #7137 latch.The event carries the wrong context. The event data is
queue | context << 16, where context isRELEASE_MEMdword 7 masked to 28 bits (from the PS5 13.60 kernel).sceAgcDriverGetEqContextIdreturnsdata >> 16andsceAgcDriverGetEqEventTypethe low 32 bits (from the PS5 10.01 module). Before, both returned the queue, so the title's first own interrupt (queue 0x50, context 0) read context 0x50 and called the same null entry. A typed context (bit 27) throws, since it is not delivered as this event and that path is not implemented. Both functions no longer read the event'sident, so its two overflow checks are removed;agc_driverchecks both decodes, up to a full 28-bit context.Earlier attempts at the flip event: #6963 and #7008 (closed). Overlap: #6977 rewrites
Eq/src/Event.cppfor PS4 titles. Rebased ontomainafter #7137, #6616 and #6794 merged.Tested
Linux (Arch, GCC 16.2.1) and Windows Server 2025 (WinLibs GCC 15.2, no GPU), on
main340247a083with this PR (2c0ce8994d), unless a line names an earlier head.main4f41f4c375(04f9490487) in place of the merge commits.video_out_flip_deferreddeadlocked behind the second flip hold, because its output callback blocked until the test released it; the test now holds the GPU with aWAIT_REG_MEMon a label it writes after registering the buffer. Run outside ctest on the RTX 5080 with SDL's Wayland driver, it aborts withtest gate timed outat a3a6f4a5cb (3 of 3) and passes at04f9490487(3 of 3); all 26video_out_flip_testsmodes pass there. The 47 tests matching^agc_driver$|^agc_driver_(eop_interrupts|flip|flip_compute|present_mode|worker_failure_log|submit)$|^agc_submit|^video_outpass on NVIDIA, RADV (610M) and lavapipe, apart from thevideo_out_*tests that skip under ctest, and the Windows build and ctest pass 3918 of 3918.main4569fe654a(5adc50d226), keeping #11357's host import frame checks in the flip tests and theAddEventregistrationmainadded: the tests matching^agc_driver$|^agc_driver_(eop_interrupts|flip|flip_compute|present_mode|worker_failure_log|submit)$|^agc_submit|^video_outpass on NVIDIA (RTX 5080), RADV (Radeon 610M) and lavapipe (thevideo_out_flip_*ones skip as before); the Windows build and ctest show no failure the merge base lacks (3282 tests).agc_driver,agc_driver_eop_interruptsandagc_driver_flipfail onmainwith this PR's tests and pass with the change, 3 of 3 runs each on RADV (Radeon 680M), on c4a87b4ea7.^agc_driver$|^agc_driver_(eop_interrupts|flip|flip_compute|present_mode|worker_failure_log)$|^video_outpass on NVIDIA, RADV and lavapipe; the Windows build passes all 1700 tests.video_out_flip_*tests skip under ctest (the offscreen SDL driver has no Vulkan). Under Xvfb with SDL's x11 driver and Mesa's software WSI on RADV, all 12 pass onmainand with this PR.agc_driver_f64_add_mul_denormal_modes(lavapipe flushes an f64 denormal) fails the same way onmain340247a083; RADV (Radeon 680M) only the same 4 failures as onmain(agc_driver_image_table_vouched_lookups,agc_driver_bda_device,agc_driver_guest_memory_lifetime,agc_driver_tessellation).unsupported MIMG opcode 0xb8, a separate bug.maina700809679.main147 and 143 frames in two rounds, this PR 145 (one round on b834c76b24, the last code change). Its captured frames show the same scene asmain.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-19T16:45:25Z.
Review: COMMENTED
I reviewed the event encoding and flip-ordering paths. The event now carries the queue in the low bits and the release context above it, and the query helpers split those fields consistently. The regression cases cover a flip without an EOP event, release events with contexts, and a following submission held until the flip work completes. I did not independently run the reported GPU/Windows test matrix or title checks.
Imported from boykopovar/AnyPS5. Originally posted by fma-rc on 2026-10-19T17:05:17Z.
On the overlap table: none of those PRs changes the end-of-pipe event or the flip hold; the rows are neighbouring lines in
Driver.hpp,PacketExecution.cppand the debt file. The real one is #6977, which rewritesAgcDriverDeliverEopInterruptinEq/src/Event.cppfor PS4 titles, so whichever of the two merges second has to carry the other's event data (queue | context << 16here). #6292 and #6615 only change the mutex type in that file. If one of them lands first, I'll rebase this on it.Imported from boykopovar/AnyPS5. Originally posted by fma-rc on 2026-10-19T18:16:40Z.
@Lberonio this removes the per-queue latch from #7137: flips no longer raise the end-of-pipe event on any queue, so the duplicate it suppressed for Gran Turismo 7 cannot happen. I don't have GT7 to check it. Could you run it on this branch and say whether it still gets as far as on
main?Imported from boykopovar/AnyPS5. Originally posted by savvaniss on 2026-10-20T03:57:30Z.
A data point from the PS4 side, on #6977's branch (head
93eeee014, before #7137), Windows, RX 9070 XT.The Unity player in Boggle and Trivial Pursuit Live! (CUSA03312) ends each frame with an
EVENT_WRITE_EOPthat requests an interrupt. It then callssceKernelWaitEqueuefor one event without reading the label, and builds the next frame. With the flip's extra event:With #7137's commits on that branch there is one event per frame: 2684 events for 2683 submissions, against two per frame before. The worker stays within two submissions, and both titles run their menus at 60 fps. Trivial Pursuit now reaches its game. That PR is Get-fix/AnyPS5#5. Removing the flip event entirely, as this PR does, covers the same case.
shadPS4 also raises a separate flip interrupt for a PS4 flip, not the end-of-pipe one.
Imported from boykopovar/AnyPS5. Originally posted by Lberonio on 2026-10-20T13:29:09Z.
Heads-up while you rewrite
testEndOfPipeInterrupts: the merged #7137 branch (fix/agc-eop-latch-queue-mode) has a tip commitf038a474ethat adds the flip-then-wait latch-residual test oneandonlydean asked for on #7137 (one suppressed flip, then wait 1.5 s with no further flips/releases, assert no event).Since this PR removes the latch and the flip end-of-pipe event, that test pins behaviour you're deleting, so it should not be carried over. Flagging it only so you're not surprised by the branch tip differing from the merge commit
9de7cfd9f4.Imported from boykopovar/AnyPS5. Originally posted by Lberonio on 2026-10-20T16:05:42Z.
Ran it on Linux/RADV. Short answer: yes, far further than
main, and no fault with or without dismissing the PSN prompt.Setup. Arch Linux, kernel 7.2.9, GCC 16.2.1, Mesa 26.2.4, RADV on an AMD Radeon RX 9070 XT (1002:7550, GFX1201), Wayland/GNOME. Gran Turismo 7 PPSA01317 v01.680, base package. Same relinked
app.elfand sameapp0for both builds, onlylibs/swapped, so the comparison isolates the driver prx.mainb18eaed1f02864b9088657dd7733154800ba7bec6d682e06256ff0b27d993719ab971081dbOn
mainthe fault is a null read: under gdbr14 = 0, dereference at+0x48, in a thread whose caller frame islibkernel.prx. That is the same class as thePGL Event/0x48/r15 = 0stop you and frankea reported. It happens 4 of 4 runs, always before GT7 draws anything.With this PR, GT7 renders real frames and reaches the PlayStation Network prompt. The window title carries a running frame counter, so the captures read:
FPS: 10.84 (571)FPS: 54.94 (2374), GT logo loading spinner on screenFPS: 20.45 (4203), the "Failed — You cannot use network functions unless you sign in to PlayStation™Network." dialog with an OK buttonSo 4,203 frames presented at up to ~55 FPS, well past anything
maindoes.On the OK click: I ran it once with the dialog dismissed and once left alone. Both end on the same unrelated gap,
shader 0x1258e49600 stage 5: sampled image descriptor uses an unsupported format(RC=134, abort), at 98 s with the click and 112 s without. Dismissing the prompt moves the game on into the screen that needs that shader, so it reaches the gap sooner, but there is no null-dereference and no fault in either case.Two limits on what this shows. I could not get past the sampled-image format gap, and #7256's layered-depth gap is behind that, so nothing past those is tested. And neither run is a real play session; the only input was the single OK click.
Capture from the RADV run:
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-30T07:07:10Z.
Review: CHANGES_REQUESTED
Re-checked — new head, changes requested
The Windows/NVIDIA report shows the reported null-read crash absent in three runs on head
3ca955af52a988a4bebc353b47ba24a4ff97b21a, but that head is based oncccdaa2734a71d27e6c907325c60fdf2d3baf0afwhile livemainisf7f03daf52f11191174b1be089a56e268390a707and has changed several files this PR touches.What I ran
Inspected the exact PR head and recorded base, live
main, GitHub merge state, changed-file overlap since the recorded base, hosted checks, and the new Windows/NVIDIA report. Environment: Debian Linux x86_64, GitHub CLI/API. No compiler, local build, merge preview, or test was run.Results
3ca955af52a988a4bebc353b47ba24a4ff97b21a; recorded basecccdaa2734a71d27e6c907325c60fdf2d3baf0af;needs rebaselabel present and GitHub reportsdirtymainisf7f03daf52f11191174b1be089a56e268390a707, 2,318 commits ahead of the recorded baseEvent.hpp+2;Event.cpp+48/-31;Driver.hpp+17/-4;PacketExecution.cpp+5;QueueWorker.cpp+26/-8;Submission.cpp+12;Submit.cpp+74/-33ca955...and passed; Linux and specialized jobs skipped. It tested the older recorded base, not integration with currentmainhumanityBGreports the null-read crash absent in 3/3 Windows/NVIDIA runs on exact head3ca955...; this is author-provided evidence, not a run I performedUnedited API and CI output
Findings
Blocking
cccdaa...to currentmainf7f03..., and currentmainchanges multiple files this PR edits. The repository requires branches to stay up to date. The newly reported run and hosted Windows result are useful for the old integration, but do not establish the behavior of the current-main integration.Non-blocking
The new report says the title proceeds past the null read and later stops on an unsupported render mode attributed to #9020; that is outside this PR's change as reported.
Sources
mainNot verified
I did not locally preview the merge, run diff or convention checks, build, or run CTest on the current-main integration. I did not independently reproduce the Windows/NVIDIA run or test other GPUs, the console, or the later unsupported render mode.
To get this to a good state
Update the branch to current
mainand rerun the same focusedagc_driver, end-of-pipe, flip, and affectedvideo_outchecks on bothmainand the updated head on the same machine and GPU, withANYPS5_REQUIRE_VULKAN=1,ANYPS5_NO_SHADER_CACHE=1, andVK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation. Compare the logs for missing layer markers and new VUIDs, then update the test report with the exact new head. I will rerun the relevant non-build checks and reassess the new-head evidence.Imported from boykopovar/AnyPS5. Originally posted by XairRrR on 2026-11-03T08:45:37Z.
Review: CHANGES_REQUESTED
Reviewed — changes requested
This pull request does not merge cleanly into
main(4f41f4c375): head 612ceb75d74ebebe156b6eaf007c9fe112e1f252 conflicts incore/libs/prx/libSceAgcDriver/Execution/src/Driver/Packets/PacketExecution.cppPlease rebase it onto current
main. I will review the change once it merges cleanly.Imported from boykopovar/AnyPS5. Originally posted by XairRrR on 2026-11-03T10:55:20Z.
Review: CHANGES_REQUESTED
Re-checked — changes still requested
The new head
a3a6f4a5only mergesmain4f41f4c375(one mechanical conflict inPacketExecution.cpp). It merges cleanly, builds, and the focused AGC tests pass. However, the second flip hold that oneandonlydean reported as deadlockingvideo_out_flip_deferredis unchanged at this head and has had no reply.What changed since my last review
I have no text from my previous review, so I reviewed the whole change again.
a3a6f4a5("Merge main4f41f4c375into #7978"), on top of612ceb75. The merge drops theflipInterruptDeferredlocal and keepsmain'sGraphics::StorageTexture::NoteFlip()call. Comparing612ceb75..a3a6f4a5over the PR's driver sources shows onlymain's own changes inEq/src/Event.cppandQueueWorker.cpp. The PR's logic is unchanged.video_out_flip_deferred.612ceb75: NVIDIA RTX 2000 Ada and AMD RX 6300. Both report 0 new failures. They are Linux runs, where thevideo_out_flip_*tests skip.What I ran
Head
a3a6f4a5cb4e079f6818639edc597663e021ae89,main4f41f4c375f5abb487dbd184fbc150f31994d762, merged tree38b2a2505799bb88222e1f7d85771f3acd40a7eb. The machine is Debian 13 (VM, 32 vCPU), GCC 14.2.0, and lavapipe (Mesa 26.1.6, LLVM 19), with no GPU.git diff --checkcheck_conventions.pylibs(script)mainVUID-vkCmdDispatch-groupCountX-00386inagc_driver_native_depth_uniform_planes. That test is absent at baselined1ae628band was added onmainbefore4f41f4c3. The PR does not touch dispatch or depth, so this VUID is not counted against itagc_driver,agc_driver_eop_interrupts,agc_driver_flip,agc_driver_flip_computevideo_out_flip_deferred,video_out_flip_lifetimegit status --porcelainemptyNegative control
I restored the 8 production files (
Eq/include/Event.hpp,Eq/src/Event.cpp,Eq/src/Query.cpp,Driver.hpp,PacketExecution.cpp,PacketMemory.cpp,QueueWorker.cpp,Submission.cpp) frommainand kept the PR's tests. All three changed tests then fail:agc_driver: "graphics event type is not the event data"agc_driver_eop_interrupts: "a flip raised the graphics end-of-pipe event"agc_driver_flip: "a flip was accepted before the previous flip submission completed"With the merged files restored and rebuilt, all three pass again.
Previous findings
I have no text of my previous review, so I can't list its findings one by one. The open points from other reviewers:
main": resolved. The head merges cleanly ontomain4f41f4c375and builds.video_out_flip_deferreddeadlock: still open. The code atcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Queues/Submission.cpp:284-291is unchanged at this head. It is listed below as a new blocking finding because this is my first written record of it.New findings
Blocking
video_out_flip_deferred. This is atcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Queues/Submission.cpp:284-291. After theflipsAhead == 0wait, a non-CPU flip also waits forflipWorkOpen == 0and then for the recorded GPU work (waitFlipWork).flipWorkOpenonly drops infinishFlipWork, which runs afterexecutehas passedflipHold.Release()andGpuReady(PacketExecution.cpp:461-462).core/libs/prx/libSceVideoOut/tests/Flip.cpp:205-215, the first flip goes to aGateoutput whoseGpuReadyblocks untilgate->Release(). The test only reaches that call after the secondsceAgcDriverSubmitDcb(line 208) returns, so the two threads wait on each other.flipsAhead, but the new wait still covers the previous flip'sGpuReady. The realFlipRequest::GpuReadyonly returns early whenAPS5_SYNC_FLIPis unset.GpuReady, or end the second wait atflipHold.Release()with the serial recorded up to that point. Then the title waits only for GPU work, not for presenter callbacks. If the PR keeps the wait, changetestDeferredBufferso it still checks that a flip submitted before its buffer is registered is accepted and presents after registration. Either way, the question needs an answer.Non-blocking
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Packets/PacketExecution.cpp:597, the context is recomputed aspacket[7] & 0x0fffffffu.releaseInterruptalready validated it and passed it topreparePacketMemory(line 396), where the bounds and typed-bit checks live. Passing the returnedstd::optionalvalue through would keep one decode site.testEndOfPipeLabelsWithoutWorkexpects0x12), where it used to give a count. A title that indexes a handler table by context would miss the first one. Whether the console's kernel coalesces these the same way isn't stated in the description or in the debt entry. Consider adding it to thesceAgcDriverGetEqContextIddebt entry as unmeasured.Not verified
video_out_flip_deferredand the othervideo_out_flip_*tests: they skip here (no display or Vulkan window). The Windows failure is maintainer-reported; I confirmed the cause from the code only.To get this to a good state
holdFlipBehindWorkerso a submit does not wait for the previous flip's output callback, or explain why it must, and adapttestDeferredBufferwhile keeping what it checks.video_out_flip_deferredand the othervideo_out_flip_*tests on a host where they don't skip (Windows, or Xvfb with SDL's x11 driver), onmainand on the new head.Imported from boykopovar/AnyPS5. Originally posted by XairRrR on 2026-11-03T14:09:48Z.
Review: APPROVED
Re-checked — approved
The new head
04f94904rebases the branch ontomain4f41f4c375and replaces the merge commit. It adds one test commit that holdsvideo_out_flip_deferred's flip behind a GPUWAIT_REG_MEMinstead of aGateoutput callback. The author has explained why the second flip hold stays, and the code supports that explanation, so my blocking finding is resolved.What changed since my last review
main4f41f4c375in place of merge commita3a6f4a5. The range-diff shows that commits 2, 4, 5, 6 and 7 are identical. Commits 1, 3 and 8 differ only in context frommain(theRingOrder/NoteFlipneighbours, and nearby debt entries thatmainadded). The PR's driver logic is unchanged.04f94904(test(videoout): ...):testDeferredBuffernow submits one command buffer: aWAIT_REG_MEMon a host label, then the flip. The test writes the label aftersceVideoOutRegisterBuffers2. TheGateon output 7 is gone from this test.AgcDriverUnregisterVideoOutput_nid_postfix(7, gate)fromtestLifetime(see the new non-blocking finding).GpuReadyonly queues the request, so it never waits on the title.video_out_flip_deferredaborts ata3a6f4a5and passes at04f94904, 3 of 3 each, on an RTX 5080 with SDL's Wayland driver (author-reported).What I ran
Head
04f94904874156111efea0000631c4839fdeb554,main4f41f4c375f5abb487dbd184fbc150f31994d762, merged treea178dbdc01b93a90c6d151eeedf7ddbba48e57fb. The machine is Debian 13 (VM, 32 vCPU), GCC 14.2.0 and lavapipe (Mesa 26.1.6), with no GPU and no display.git diff --checkcheck_conventions.pylibs(script)main(denormal and division tests,vector_constant_factor_tininess, one unwrap test)main4f41f4c3agc_driver,agc_driver_eop_interrupts,agc_driver_flip,agc_driver_flip_computevideo_out_flip_deferred,_lifetime,_reopen,_cpuflipgit status --porcelainemptyNegative control
None for the changed test.
video_out_flip_deferredskips on this machine, and the change adapts that test to the PR rather than adding a regression test for it. The author reports that it aborts withtest gate timed outata3a6f4a5and passes at04f94904. I accept that as author-reported.The tests that check the PR's own behaviour (
agc_driver,agc_driver_eop_interrupts,agc_driver_flip) are byte-identical to the previous head. My earlier negative control showed all three fail with the production files restored frommain. They pass here on the rebased tree.Previous findings
video_out_flip_deferred(Submission.cpp:284-291): Resolved. I concede the author's point:core/libs/prx/libSceAgcDriver/Execution/src/Driver/Queues/Submission.cpp:284-291still covers the previous flip'sGpuReady. A deadlock needs aGpuReadythat waits on the submitting thread, though.FlipRequest::GpuReady(core/libs/prx/libSceVideoOut/src/VideoOutDriver.cpp:314-317), the request is queued andGpuReadyreturns. WithAPS5_SYNC_FLIPit waits only forgpuComplete, failure or close, which is presenter progress, not the title.queue0AwaitsTitle).core/libs/prx/libSceVideoOut/tests/Flip.cpp:197-225) still checks what it was written for. The flip is submitted while the GPU is held on a label (WAIT_REG_MEMwith function 3 and memory space, the same encoding asGatedDispatchCapture.cpp). The buffer is registered next, and only then is the label released. The test then expects the flip to present buffer 0 with arg 3. I could not run it here.PacketExecution.cpp:597): Still open.deliverGuestEopInterrupt(submission.queue, packet[7] & 0x0fffffffu)still recomputes whatreleaseInterrupt(line 134) already validated. This does not block the merge.New findings
Blocking
None.
Non-blocking
testLifetimeno longer unregisters its gate output. Incore/libs/prx/libSceVideoOut/tests/Flip.cpp:111-125, commit04f94904dropsAgcDriverUnregisterVideoOutput_nid_postfix(7, gate)fromtestLifetime. That function is used byvideo_out_flip_lifetimeand_reopen, which this PR does not otherwise touch, and the commit message only coverstestDeferredBuffer.LibcRunShutdown_nid_postfix, andDriver::UnregisterVideoOutput's registration check is no longer run on this path.Not verified
video_out_flip_*tests: none of them ran here (no display or Vulkan window). The deferred test's before/after result and "all 26 modes pass" are author-reported (RTX 5080, SDL Wayland).Imported from boykopovar/AnyPS5. Originally posted by XairRrR on 2026-11-03T21:38:23Z.
Review: APPROVED
Re-checked — approved
The only new commit is
7ceffb39, a merge ofmain086c0686c8into04f94904by oneandonlydean. The PR's nine commits are identical to the ones I last reviewed, and both conflict resolutions in the merge keep both sides correctly.What changed since my last review
=).7ceffb39:git show --ccshows two hand-resolved hunks.PacketExecution.cpp, the pipelined label/DMA condition: keeps the PR'senqueueLabelPacket(..., releaseInterrupt(packet, opcode, false))and addsmain's new|| enqueueConstantRamDump(...). That is correct.docs/dev/debt/libSceAgcDriver.md: keeps the PR's removal of the "Flip packets raise the graphics end-of-pipe event" entry and addsmain's new "Host imports across devices" entry. That is correct.Driver.hpp,PacketMemory.cppandlibSceVideoOut/tests/Flip.cpptakemain's changes without conflict.mainaddedenqueueConstantRamDumpandcommitStore, and a reopen check intestLifetime.deliverGuestEopInterrupt(queue, context)(PacketMemory.cpp:97,:537,:540,PacketExecution.cpp:597). Nothing frommainbrings back a flip-raised event or the oldboolsignature ofcommitLabel.video_out_flip_*tests pass on Windows 11 at04f94904merged intomain4f41f4c375(tester-reported).What I ran
Head
7ceffb3974b59b6515ef021e010a78298510767b,main04a9eb4fa2877eb6e40bf2c83adf972e40d89b24, merged tree4678edbe247f4ae0a7d2d3f64b0b9cd714d2b036. Debian 13 VM, GCC 14.2.0, lavapipe (Mesa 26.1.6), no GPU and no display.git diff --checkcheck_conventions.pylibs(script)main(denormal and division tests,vector_constant_factor_tininess, one unwrap test)agc_driver,agc_driver_eop_interrupts,agc_driver_flip,agc_driver_flip_computevideo_out_flip_deferred,video_out_flip_lifetimegit status --porcelainemptyThe one validation difference is not from this PR.
agc_driver_image_gather_volumereportsVUID-VkSamplerCreateInfo-addressModeU-01079and theaddressMode{U,V,W}-parameterVUIDs. Every line is marked "test not run on main": the test does not exist in the older validation baseline (1e658521) and came in frommain. This PR changes no sampler, image or shader code (its 12 files are the end-of-pipe event, the flip hold, their tests and the debt doc), so I do not count it against the PR.Negative control
Not repeated. The PR's tests are byte-identical to the previously reviewed head. My earlier control showed
agc_driver,agc_driver_eop_interruptsandagc_driver_flipfail with the production files restored frommain. All three pass on this merged tree.Previous findings
PacketExecution.cpp:597): Still open.deliverGuestEopInterrupt(submission.queue, packet[7] & 0x0fffffffu)still recomputes whatreleaseInterruptalready validated.testLifetimeno longer unregisters its gate output (libSceVideoOut/tests/Flip.cpp): Still open. The onlyAgcDriverUnregisterVideoOutput_nid_postfix(7, ...)left is in another test (Flip.cpp:303). The author did not reply on this.New findings
Blocking
None.
Non-blocking
None.
Not verified
main's new reopen check with the PR's flip hold:mainadded a check totestLifetime(reopen)that submits a label-store DCB while the gate holds a flip. With this PR only command-buffer flips are held, so that store should not block.video_out_flip_lifetimeand_reopenskip on this machine, though, so I could not confirm it. oneandonlydean's Windows run (28 of 28) was onmain4f41f4c375, before this merge.video_out_flip_*tests, all title results, and the NVIDIA, RADV and Windows runs are author- or tester-reported.main(1e658521), so tests added tomainsince then were validated but not compared.