mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Add returned status to MemoryOperationsHandler
Change-Id: Ic8685e3711cec03d8f83d371fa7152ee095a47a0 Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
77e22bd81b
commit
7827501b91
@@ -12,16 +12,16 @@ namespace NEO {
|
||||
DrmMemoryOperationsHandler::DrmMemoryOperationsHandler() {
|
||||
}
|
||||
|
||||
bool DrmMemoryOperationsHandler::makeResident(GraphicsAllocation &gfxAllocation) {
|
||||
return false;
|
||||
MemoryOperationsStatus DrmMemoryOperationsHandler::makeResident(GraphicsAllocation &gfxAllocation) {
|
||||
return MemoryOperationsStatus::UNSUPPORTED;
|
||||
}
|
||||
|
||||
bool DrmMemoryOperationsHandler::evict(GraphicsAllocation &gfxAllocation) {
|
||||
return false;
|
||||
MemoryOperationsStatus DrmMemoryOperationsHandler::evict(GraphicsAllocation &gfxAllocation) {
|
||||
return MemoryOperationsStatus::UNSUPPORTED;
|
||||
}
|
||||
|
||||
bool DrmMemoryOperationsHandler::isResident(GraphicsAllocation &gfxAllocation) {
|
||||
return false;
|
||||
MemoryOperationsStatus DrmMemoryOperationsHandler::isResident(GraphicsAllocation &gfxAllocation) {
|
||||
return MemoryOperationsStatus::UNSUPPORTED;
|
||||
}
|
||||
|
||||
} // namespace NEO
|
||||
|
||||
@@ -15,8 +15,8 @@ class DrmMemoryOperationsHandler : public MemoryOperationsHandler {
|
||||
DrmMemoryOperationsHandler();
|
||||
~DrmMemoryOperationsHandler() override = default;
|
||||
|
||||
bool makeResident(GraphicsAllocation &gfxAllocation) override;
|
||||
bool evict(GraphicsAllocation &gfxAllocation) override;
|
||||
bool isResident(GraphicsAllocation &gfxAllocation) override;
|
||||
MemoryOperationsStatus makeResident(GraphicsAllocation &gfxAllocation) override;
|
||||
MemoryOperationsStatus evict(GraphicsAllocation &gfxAllocation) override;
|
||||
MemoryOperationsStatus isResident(GraphicsAllocation &gfxAllocation) override;
|
||||
};
|
||||
} // namespace NEO
|
||||
|
||||
Reference in New Issue
Block a user