mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-06 19:32:25 +08:00
Revert "fix: set NotLockable flag when resource does not need to be lockable"
This reverts commit c597b03a33.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
29c4a12b75
commit
57851a5d29
@@ -363,7 +363,10 @@ class UltCommandStreamReceiver : public CommandStreamReceiverHw<GfxFamily>, publ
|
||||
bool createAllocationForHostSurface(HostPtrSurface &surface, bool requiresL3Flush) override {
|
||||
createAllocationForHostSurfaceCalled++;
|
||||
cpuCopyForHostPtrSurfaceAllowed = surface.peekIsPtrCopyAllowed();
|
||||
return BaseClass::createAllocationForHostSurface(surface, requiresL3Flush);
|
||||
auto status = BaseClass::createAllocationForHostSurface(surface, requiresL3Flush);
|
||||
if (status)
|
||||
surface.getAllocation()->hostPtrTaskCountAssignment--;
|
||||
return status;
|
||||
}
|
||||
|
||||
void ensureCommandBufferAllocation(LinearStream &commandStream, size_t minimumRequiredSize, size_t additionalAllocationSize) override {
|
||||
|
||||
Reference in New Issue
Block a user