refactor: Standardize DESTINATION_SURFACE_TYPE

Standardizes DESTINATION_SURFACE_TYPE to align with the latest
specification.

Related-To: NEO-13147

Signed-off-by: Vysochyn, Illia <illia.vysochyn@intel.com>
This commit is contained in:
Vysochyn, Illia
2024-12-23 15:25:24 +00:00
committed by Compute-Runtime-Automation
parent 88a27df888
commit 83b7143485
8 changed files with 31 additions and 31 deletions

View File

@@ -223,7 +223,7 @@ MI_USER_INTERRUPT *genCmdCast<MI_USER_INTERRUPT *>(void *buffer) {
auto pCmd = reinterpret_cast<MI_USER_INTERRUPT *>(buffer);
return 0 == pCmd->TheStructure.Common.CommandType &&
MI_USER_INTERRUPT::MI_COMMAND_OPCODE_MI_USER_INTERRUPT == pCmd->TheStructure.Common.MICommandOpcode
MI_USER_INTERRUPT::MI_COMMAND_OPCODE_MI_USER_INTERRUPT == pCmd->TheStructure.Common.MiCommandOpcode
? pCmd
: nullptr;
}

View File

@@ -136,7 +136,7 @@ void UnitTestHelper<GfxFamily>::verifyDummyBlitWa(const RootDeviceEnvironment *r
EXPECT_EQ(1u, dummyBltCmd->getDestinationX2CoordinateRight());
EXPECT_EQ(4u, dummyBltCmd->getDestinationY2CoordinateBottom());
EXPECT_EQ(static_cast<uint32_t>(MemoryConstants::pageSize), dummyBltCmd->getDestinationPitch());
EXPECT_EQ(XY_COLOR_BLT::DESTINATION_SURFACE_TYPE::DESTINATION_SURFACE_TYPE_2D, dummyBltCmd->getDestinationSurfaceType());
EXPECT_EQ(XY_COLOR_BLT::DESTINATION_SURFACE_TYPE::DESTINATION_SURFACE_TYPE_SURFTYPE_2D, dummyBltCmd->getDestinationSurfaceType());
}
}