diff --git a/crates/reims-vgpu-video/src/paravirt/decoder/tests.rs b/crates/reims-vgpu-video/src/paravirt/decoder/tests.rs index e04bf83cc..b81e57edb 100644 --- a/crates/reims-vgpu-video/src/paravirt/decoder/tests.rs +++ b/crates/reims-vgpu-video/src/paravirt/decoder/tests.rs @@ -1564,14 +1564,11 @@ fn a_tile_lands_its_region_in_the_surface_it_lends_then_is_emitted_and_let_go() assert!(guest.quiet()); } -/// A `dtil` in fragments that lends its surface with its first fragment lands in that surface: -/// the surface is held, with nothing sent, until the tile's last fragment, and goes back after -/// the tile's reply. /// The device's reset ends a session whose tile is decoding ([`Host::end_sessions`]): the /// reset's wait ([`Host::sessions_left`]) does not end while that decode may still write the /// guest's surface, and ends once it has. Past the wait nothing of the session writes the guest's /// memory or reaches the guest: the tile the guest sent behind it is never decoded, however long -/// after, its decoder is dropped, and the session's UUID is answered as one with none +/// after, its decoder is dropped, and the session's UUID is answered as one with none. #[test] fn a_reset_waits_for_the_write_in_hand_and_no_session_writes_past_it() { let (guest, held) = Guest::gated(Some(TILES)); @@ -1622,6 +1619,9 @@ fn a_reset_waits_for_the_write_in_hand_and_no_session_writes_past_it() { assert_eq!(guest.next(), surface_release(&[42])); } +/// A `dtil` in fragments that lends its surface with its first fragment lands in that surface: +/// the surface is held, with nothing sent, until the tile's last fragment, and goes back after +/// the tile's reply. #[test] fn a_tile_in_fragments_lands_in_the_surface_its_first_fragment_lends() { let guest = Guest::with_tiles(Ok(Decoded::Landed), Some(TILES));