mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-07 21:27:04 +08:00
Use MemoryClassInstance instead of drm_i915_gem_memory_class_instance
Related-To: NEO-6852 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
4be1ca618d
commit
ea956a863a
@@ -107,8 +107,8 @@ HWTEST2_F(DrmMemoryManagerLocalMemoryTest, givenDrmMemoryManagerWhenCreateBuffer
|
||||
|
||||
EXPECT_EQ(1u, mock->numRegions);
|
||||
auto memRegions = mock->memRegions;
|
||||
EXPECT_EQ(I915_MEMORY_CLASS_DEVICE, memRegions.memory_class);
|
||||
EXPECT_EQ(0u, memRegions.memory_instance);
|
||||
EXPECT_EQ(I915_MEMORY_CLASS_DEVICE, memRegions.memoryClass);
|
||||
EXPECT_EQ(0u, memRegions.memoryInstance);
|
||||
|
||||
EXPECT_EQ(gpuAddress, bo->peekAddress());
|
||||
EXPECT_EQ(size, bo->peekSize());
|
||||
|
||||
Reference in New Issue
Block a user