fix: Correct dummy blit pitch size for xe lpg and xe hpg

Resolves: HSD-18043456303

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
Filip Hazubski
2025-09-30 23:40:10 +00:00
committed by Compute-Runtime-Automation
parent 5dc5a9d213
commit 728bdc2178
2 changed files with 2 additions and 2 deletions

View File

@@ -369,7 +369,7 @@ void BlitCommandsHelper<GfxFamily>::dispatchDummyBlit(LinearStream &linearStream
blitCmd.setColorDepth(COLOR_DEPTH::COLOR_DEPTH_64_BIT_COLOR);
blitCmd.setDestinationX2CoordinateRight(1u);
blitCmd.setDestinationY2CoordinateBottom(4u);
blitCmd.setDestinationPitch(static_cast<uint32_t>(MemoryConstants::pageSize));
blitCmd.setDestinationPitch(64u);
appendTilingEnable(blitCmd);
appendBlitMemoryOptionsForFillBuffer(dummyAllocation, blitCmd, *rootDeviceEnvironment);

View File

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