amdgpu: EOS event packet handling

This commit is contained in:
psucien 2024-05-10 11:55:04 +02:00
parent 8e0c67f12e
commit 581688c1ac
2 changed files with 55 additions and 7 deletions

View file

@ -69,7 +69,16 @@ void Liverpool::ProcessCmdList(u32* cmdbuf, u32 size_in_bytes) {
break;
}
case PM4ItOpcode::EventWriteEos: {
// const auto* event_eos = reinterpret_cast<PM4CmdEventWriteEos*>(header);
const auto* event_eos = reinterpret_cast<PM4CmdEventWriteEos*>(header);
switch (event_eos->command.Value()) {
case PM4CmdEventWriteEos::Command::SingalFence: {
event_eos->SignalFence();
break;
}
default: {
UNREACHABLE();
}
}
break;
}
case PM4ItOpcode::EventWriteEop: {