Do not pass bound BOs to exec
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
parent
df1162ff4d
commit
e1f3b39c97
|
@ -94,7 +94,7 @@ MemoryOperationsStatus DrmMemoryOperationsHandlerBind::isResident(Device *device
|
||||||
void DrmMemoryOperationsHandlerBind::mergeWithResidencyContainer(OsContext *osContext, ResidencyContainer &residencyContainer) {
|
void DrmMemoryOperationsHandlerBind::mergeWithResidencyContainer(OsContext *osContext, ResidencyContainer &residencyContainer) {
|
||||||
this->makeResidentWithinOsContext(osContext, ArrayRef<GraphicsAllocation *>(residencyContainer), true);
|
this->makeResidentWithinOsContext(osContext, ArrayRef<GraphicsAllocation *>(residencyContainer), true);
|
||||||
|
|
||||||
auto clearContainer = false;
|
auto clearContainer = true;
|
||||||
|
|
||||||
if (DebugManager.flags.PassBoundBOToExec.get() != -1) {
|
if (DebugManager.flags.PassBoundBOToExec.get() != -1) {
|
||||||
clearContainer = !DebugManager.flags.PassBoundBOToExec.get();
|
clearContainer = !DebugManager.flags.PassBoundBOToExec.get();
|
||||||
|
|
Loading…
Reference in New Issue