This commit is contained in:
lizzie 2026-05-19 07:53:59 +00:00
parent 6c3ea34293
commit 1439a8041b

View file

@ -150,7 +150,7 @@ DAddr NvMap::PinHandle(NvMap::Handle::Id handle, bool low_area_pin) {
const auto map_low_area = [&] { const auto map_low_area = [&] {
if (handle_description->pin_virt_address == 0) { if (handle_description->pin_virt_address == 0) {
u32 address = host1x.Allocator().Allocate(u32(handle_description->aligned_size)); u32 address = host1x.Allocator().Allocate(u32(handle_description->aligned_size));
host1x.GMMU().Map(GPUVAddr(address), handle_description->d_address, handle_description->aligned_size); host1x.gmmu_manager.Map(GPUVAddr(address), handle_description->d_address, handle_description->aligned_size);
handle_description->pin_virt_address = address; handle_description->pin_virt_address = address;
} }
}; };