mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-09-12 14:48:49 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2a14f37ed8 | |||
| 5fcfa46ca8 |
@@ -298,7 +298,7 @@ NvResult nvhost_gpu::AllocateObjectContext(IoctlAllocObjCtx& params) {
|
|||||||
return NvResult::Success;
|
return NvResult::Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
static boost::container::small_vector<Tegra::CommandHeader, 512> BuildWaitCommandList(
|
static std::vector<Tegra::CommandHeader> BuildWaitCommandList(
|
||||||
NvFence fence) {
|
NvFence fence) {
|
||||||
return {
|
return {
|
||||||
Tegra::BuildCommandHeader(Tegra::BufferMethods::SyncpointPayload, 1,
|
Tegra::BuildCommandHeader(Tegra::BufferMethods::SyncpointPayload, 1,
|
||||||
@@ -310,9 +310,9 @@ static boost::container::small_vector<Tegra::CommandHeader, 512> BuildWaitComman
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
static boost::container::small_vector<Tegra::CommandHeader, 512> BuildIncrementCommandList(
|
static std::vector<Tegra::CommandHeader> BuildIncrementCommandList(
|
||||||
NvFence fence) {
|
NvFence fence) {
|
||||||
boost::container::small_vector<Tegra::CommandHeader, 512> result{
|
std::vector<Tegra::CommandHeader> result{
|
||||||
Tegra::BuildCommandHeader(Tegra::BufferMethods::SyncpointPayload, 1,
|
Tegra::BuildCommandHeader(Tegra::BufferMethods::SyncpointPayload, 1,
|
||||||
Tegra::SubmissionMode::Increasing),
|
Tegra::SubmissionMode::Increasing),
|
||||||
{}};
|
{}};
|
||||||
@@ -327,9 +327,9 @@ static boost::container::small_vector<Tegra::CommandHeader, 512> BuildIncrementC
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
static boost::container::small_vector<Tegra::CommandHeader, 512> BuildIncrementWithWfiCommandList(
|
static std::vector<Tegra::CommandHeader> BuildIncrementWithWfiCommandList(
|
||||||
NvFence fence) {
|
NvFence fence) {
|
||||||
boost::container::small_vector<Tegra::CommandHeader, 512> result{
|
std::vector<Tegra::CommandHeader> result{
|
||||||
Tegra::BuildCommandHeader(Tegra::BufferMethods::WaitForIdle, 1,
|
Tegra::BuildCommandHeader(Tegra::BufferMethods::WaitForIdle, 1,
|
||||||
Tegra::SubmissionMode::Increasing),
|
Tegra::SubmissionMode::Increasing),
|
||||||
{}};
|
{}};
|
||||||
|
|||||||
@@ -109,11 +109,11 @@ inline CommandHeader BuildCommandHeader(BufferMethods method, u32 arg_count, Sub
|
|||||||
struct CommandList final {
|
struct CommandList final {
|
||||||
CommandList() = default;
|
CommandList() = default;
|
||||||
explicit CommandList(std::size_t size) : command_lists(size) {}
|
explicit CommandList(std::size_t size) : command_lists(size) {}
|
||||||
explicit CommandList(boost::container::small_vector<CommandHeader, 512>&& prefetch_command_list_)
|
explicit CommandList(std::vector<CommandHeader>&& prefetch_command_list_)
|
||||||
: prefetch_command_list{std::move(prefetch_command_list_)} {}
|
: prefetch_command_list{std::move(prefetch_command_list_)}
|
||||||
|
{}
|
||||||
boost::container::small_vector<CommandListHeader, 512> command_lists;
|
std::vector<CommandListHeader> command_lists;
|
||||||
boost::container::small_vector<CommandHeader, 512> prefetch_command_list;
|
std::vector<CommandHeader> prefetch_command_list;
|
||||||
};
|
};
|
||||||
|
|
||||||
/// @brief The DmaPusher class implements DMA submission to FIFOs, providing an area of memory that the
|
/// @brief The DmaPusher class implements DMA submission to FIFOs, providing an area of memory that the
|
||||||
|
|||||||
Reference in New Issue
Block a user