Compare commits

..

5 Commits

Author SHA1 Message Date
PavelBARABANOV 6a2ac2e084 Revert "[am] Bruno FIX OVERLAY 2.0"
This reverts commit 18726a4518.
2026-09-12 06:57:39 +02:00
PavelBARABANOV e9c22ca5ee other pr 2026-09-12 06:57:39 +02:00
PavelBARABANOV afc4c55108 [ns] use GetApplicationControlData3 for cmd23 in IReadOnlyApplicationControlDataInterface 2026-09-12 06:57:39 +02:00
PavelBARABANOV 6e7f958355 [am] Bruno FIX OVERLAY 2.0 2026-09-12 06:57:39 +02:00
PavelBARABANOV 828a35a47a [dynarmic] use UBFX + CBNZ instead of TBNZ for marked bit 2026-09-12 06:57:39 +02:00
3 changed files with 11 additions and 10 deletions
@@ -142,6 +142,7 @@ IReadOnlyApplicationControlDataInterface::IReadOnlyApplicationControlDataInterfa
{10, &IReadOnlyApplicationControlDataInterface::ListApplicationIcon, "ListApplicationIcon"},
{13, &IReadOnlyApplicationControlDataInterface::ListApplicationTitle, "ListApplicationTitle"},
{19, D<&IReadOnlyApplicationControlDataInterface::GetApplicationControlData3>, "GetApplicationControlData"},
{23, D<&IReadOnlyApplicationControlDataInterface::GetApplicationControlData3>, "GetApplicationControlData"},
};
// clang-format on
@@ -298,7 +298,7 @@ NvResult nvhost_gpu::AllocateObjectContext(IoctlAllocObjCtx& params) {
return NvResult::Success;
}
static std::vector<Tegra::CommandHeader> BuildWaitCommandList(
static boost::container::small_vector<Tegra::CommandHeader, 512> BuildWaitCommandList(
NvFence fence) {
return {
Tegra::BuildCommandHeader(Tegra::BufferMethods::SyncpointPayload, 1,
@@ -310,9 +310,9 @@ static std::vector<Tegra::CommandHeader> BuildWaitCommandList(
};
}
static std::vector<Tegra::CommandHeader> BuildIncrementCommandList(
static boost::container::small_vector<Tegra::CommandHeader, 512> BuildIncrementCommandList(
NvFence fence) {
std::vector<Tegra::CommandHeader> result{
boost::container::small_vector<Tegra::CommandHeader, 512> result{
Tegra::BuildCommandHeader(Tegra::BufferMethods::SyncpointPayload, 1,
Tegra::SubmissionMode::Increasing),
{}};
@@ -327,9 +327,9 @@ static std::vector<Tegra::CommandHeader> BuildIncrementCommandList(
return result;
}
static std::vector<Tegra::CommandHeader> BuildIncrementWithWfiCommandList(
static boost::container::small_vector<Tegra::CommandHeader, 512> BuildIncrementWithWfiCommandList(
NvFence fence) {
std::vector<Tegra::CommandHeader> result{
boost::container::small_vector<Tegra::CommandHeader, 512> result{
Tegra::BuildCommandHeader(Tegra::BufferMethods::WaitForIdle, 1,
Tegra::SubmissionMode::Increasing),
{}};
+5 -5
View File
@@ -109,11 +109,11 @@ inline CommandHeader BuildCommandHeader(BufferMethods method, u32 arg_count, Sub
struct CommandList final {
CommandList() = default;
explicit CommandList(std::size_t size) : command_lists(size) {}
explicit CommandList(std::vector<CommandHeader>&& prefetch_command_list_)
: prefetch_command_list{std::move(prefetch_command_list_)}
{}
std::vector<CommandListHeader> command_lists;
std::vector<CommandHeader> prefetch_command_list;
explicit CommandList(boost::container::small_vector<CommandHeader, 512>&& prefetch_command_list_)
: prefetch_command_list{std::move(prefetch_command_list_)} {}
boost::container::small_vector<CommandListHeader, 512> command_lists;
boost::container::small_vector<CommandHeader, 512> prefetch_command_list;
};
/// @brief The DmaPusher class implements DMA submission to FIFOs, providing an area of memory that the