diff --git a/tools/asahi/g17-render-owed-stamp-tests.py b/tools/asahi/g17-render-owed-stamp-tests.py index 443c011e35fe1..80367198a090a 100755 --- a/tools/asahi/g17-render-owed-stamp-tests.py +++ b/tools/asahi/g17-render-owed-stamp-tests.py @@ -180,6 +180,7 @@ def fixture(): 'pub(in crate::g17) fn defer_render_timeout(', 'pub(in crate::g17) fn render_timeout_heads(', 'pub(in crate::g17) fn render_timeout_decision(', + 'pub(in crate::g17) fn forfeit_blocker(', ] ) defer_timeout_fn = item(backend_src, ' fn defer_timeout(') @@ -242,7 +243,7 @@ def fixture(): ''' + timeout_src + r''' } pub(crate) mod recovery { - pub(crate) fn note_retired() {} + pub(crate) fn note_retired(_: u64) {} #[derive(Clone, Copy, Debug, PartialEq, Eq)] pub(crate) enum Class { Spared, Guilty } #[derive(Clone, Copy, Debug, PartialEq, Eq)] @@ -402,6 +403,8 @@ def fixture(): fn engine(&self) -> Engine { Engine::Render } fn check_firmware_producers(&self) -> Result { Ok(()) } fn within_allowance(&self, _: u64) -> bool { self.allowance.get() } + fn note_first_excuse(&self, _: u64) {} + fn first_excuse(&self) -> u64 { 0 } fn reset_publication_for_replay(&self) {} } @@ -634,6 +637,7 @@ def fixture(): pub struct ComputeQueueStub { head: Option } impl ComputeQueueStub { fn timeout_head(&self) -> Option { self.head } + fn forfeit_head(&self, _: g17::timeout::Head) -> bool { false } } pub struct ComputeEntry { queue: Option> } pub struct Queues {