mirror of
https://github.com/intel/compute-runtime.git
synced 2025-11-10 05:49:51 +08:00
Fix DirectSubmission residency handling
- allocations should be resident within OsContext Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
e9f56e7d96
commit
f2eb7f3aea
@@ -191,7 +191,7 @@ TEST_F(DrmBufferObjectTest, givenResidentBOWhenPrintExecutionBufferIsSetToTrueTh
|
||||
|
||||
std::string output = testing::internal::GetCapturedStdout();
|
||||
auto idx = output.find("drm_i915_gem_execbuffer2 {");
|
||||
size_t expectedValue = 0;
|
||||
size_t expectedValue = 29;
|
||||
EXPECT_EQ(expectedValue, idx);
|
||||
|
||||
idx = output.find("Buffer Object = { handle: BO-");
|
||||
@@ -228,7 +228,7 @@ TEST_F(DrmBufferObjectTest, whenPrintExecutionBufferIsSetToTrueThenMessageFoundI
|
||||
|
||||
std::string output = testing::internal::GetCapturedStdout();
|
||||
auto idx = output.find("drm_i915_gem_execbuffer2 {");
|
||||
size_t expectedValue = 0;
|
||||
size_t expectedValue = 29;
|
||||
EXPECT_EQ(expectedValue, idx);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user