[17/n] Internal 4GB allocator.

- Make sure that blocks ISA is made resident
- both blocked & non blocked path
- fix a bug where private surface was not made resident in blocked path.

Change-Id: Ie564595b176b94ecc7c79d7efeae20598c5874fb
This commit is contained in:
Mrozek, Michal
2018-03-27 09:24:26 +02:00
committed by sys_ocldev
parent 51fdd2a18f
commit 09923fcb39
6 changed files with 107 additions and 9 deletions

View File

@ -99,6 +99,10 @@ class UltCommandStreamReceiver : public CommandStreamReceiverHw<GfxFamily> {
BaseClass::makeResident(gfxAllocation);
}
bool isMadeResident(GraphicsAllocation *graphicsAllocation) {
return makeResidentAllocations.find(graphicsAllocation) != makeResidentAllocations.end();
}
std::map<GraphicsAllocation *, uint32_t> makeResidentAllocations;
bool storeMakeResidentAllocations;