mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-24 06:38:14 -05:00
SMMU: Add continuity tracking optimization.
This commit is contained in:
@ -95,6 +95,7 @@ size_t Container::OpenSession(Kernel::KProcess* process) {
|
||||
if (start_region != 0) {
|
||||
session.mapper = std::make_unique<HeapMapper>(region_start, start_region, region_size,
|
||||
smmu_id, impl->host1x);
|
||||
smmu.TrackContinuity(start_region, region_start, region_size, smmu_id);
|
||||
session.has_preallocated_area = true;
|
||||
LOG_CRITICAL(Debug, "Preallocation created!");
|
||||
}
|
||||
|
@ -221,7 +221,7 @@ DAddr NvMap::PinHandle(NvMap::Handle::Id handle, size_t session_id, bool low_are
|
||||
}
|
||||
|
||||
handle_description->d_address = address;
|
||||
smmu.Map(address, vaddress, map_size, session->smmu_id);
|
||||
smmu.Map(address, vaddress, map_size, session->smmu_id, true);
|
||||
handle_description->in_heap = false;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user