mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Revert "performance: Add CCS Optimization"
This reverts commit e7b3a40aa7.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
afe5f105a8
commit
e10998db45
@@ -819,9 +819,7 @@ bool Wddm::destroyAllocations(const D3DKMT_HANDLE *handles, uint32_t allocationC
|
||||
if ((0U == allocationCount) && (0U == resourceHandle)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
NTSTATUS status = STATUS_SUCCESS;
|
||||
|
||||
D3DKMT_DESTROYALLOCATION2 destroyAllocation = {};
|
||||
DEBUG_BREAK_IF(!(allocationCount <= 1 || resourceHandle == 0));
|
||||
|
||||
@@ -829,11 +827,10 @@ bool Wddm::destroyAllocations(const D3DKMT_HANDLE *handles, uint32_t allocationC
|
||||
destroyAllocation.hResource = resourceHandle;
|
||||
destroyAllocation.phAllocationList = handles;
|
||||
destroyAllocation.AllocationCount = allocationCount;
|
||||
destroyAllocation.Flags.AssumeNotInUse = debugManager.flags.SetAssumeNotInUse.get();
|
||||
|
||||
DeallocateGmm deallocateGmm{&destroyAllocation, getGdi()};
|
||||
destroyAllocation.Flags.AssumeNotInUse = 1;
|
||||
|
||||
status = static_cast<NTSTATUS>(this->rootDeviceEnvironment.getGmmClientContext()->deallocate2(&deallocateGmm));
|
||||
status = getGdi()->destroyAllocation2(&destroyAllocation);
|
||||
|
||||
return status == STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user