From 728bdc217820db7d3c49d1e02b16dfbd8e6d0f20 Mon Sep 17 00:00:00 2001 From: Filip Hazubski Date: Tue, 30 Sep 2025 23:40:10 +0000 Subject: [PATCH] fix: Correct dummy blit pitch size for xe lpg and xe hpg Resolves: HSD-18043456303 Signed-off-by: Filip Hazubski --- shared/source/helpers/blit_commands_helper_xehp_and_later.inl | 2 +- shared/test/common/helpers/unit_test_helper_xehp_and_later.inl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/shared/source/helpers/blit_commands_helper_xehp_and_later.inl b/shared/source/helpers/blit_commands_helper_xehp_and_later.inl index e50619af20..28a13e2f97 100644 --- a/shared/source/helpers/blit_commands_helper_xehp_and_later.inl +++ b/shared/source/helpers/blit_commands_helper_xehp_and_later.inl @@ -369,7 +369,7 @@ void BlitCommandsHelper::dispatchDummyBlit(LinearStream &linearStream blitCmd.setColorDepth(COLOR_DEPTH::COLOR_DEPTH_64_BIT_COLOR); blitCmd.setDestinationX2CoordinateRight(1u); blitCmd.setDestinationY2CoordinateBottom(4u); - blitCmd.setDestinationPitch(static_cast(MemoryConstants::pageSize)); + blitCmd.setDestinationPitch(64u); appendTilingEnable(blitCmd); appendBlitMemoryOptionsForFillBuffer(dummyAllocation, blitCmd, *rootDeviceEnvironment); diff --git a/shared/test/common/helpers/unit_test_helper_xehp_and_later.inl b/shared/test/common/helpers/unit_test_helper_xehp_and_later.inl index 0eca2c4fef..64d5ee8cfc 100644 --- a/shared/test/common/helpers/unit_test_helper_xehp_and_later.inl +++ b/shared/test/common/helpers/unit_test_helper_xehp_and_later.inl @@ -149,7 +149,7 @@ void UnitTestHelper::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(MemoryConstants::pageSize), dummyBltCmd->getDestinationPitch()); + EXPECT_EQ(64u, dummyBltCmd->getDestinationPitch()); EXPECT_EQ(XY_COLOR_BLT::DESTINATION_SURFACE_TYPE::DESTINATION_SURFACE_TYPE_SURFTYPE_2D, dummyBltCmd->getDestinationSurfaceType()); } }