mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Immediate binding flag in BufferObject
Related-To: NEO-5985 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
3137e82fca
commit
8a037399d1
@ -4243,7 +4243,7 @@ TEST(DrmMemoryManager, givenNullBoWhenRegisteringBindExtHandleThenEarlyReturn) {
|
||||
gfxAllocation.freeRegisteredBOBindExtHandles(mockDrm.get());
|
||||
}
|
||||
|
||||
TEST(DrmAllocationTest, givenResourceRegistrationEnabledWhenAllocationIsRegisteredThenBosAreMarkedForCapture) {
|
||||
TEST(DrmAllocationTest, givenResourceRegistrationEnabledWhenAllocationIsRegisteredThenBosAreMarkedForCaptureAndRequireImmediateBinding) {
|
||||
auto executionEnvironment = std::make_unique<ExecutionEnvironment>();
|
||||
executionEnvironment->prepareRootDeviceEnvironments(1);
|
||||
|
||||
@ -4257,6 +4257,7 @@ TEST(DrmAllocationTest, givenResourceRegistrationEnabledWhenAllocationIsRegister
|
||||
allocation.registerBOBindExtHandle(&drm);
|
||||
|
||||
EXPECT_TRUE(bo.isMarkedForCapture());
|
||||
EXPECT_TRUE(bo.isImmediateBindingRequired());
|
||||
}
|
||||
|
||||
TEST(DrmAllocationTest, givenResourceRegistrationEnabledWhenIsaIsRegisteredThenCookieIsAddedToBoHandle) {
|
||||
|
Reference in New Issue
Block a user