mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 09:14:47 +08:00
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:
committed by
Compute-Runtime-Automation
parent
5dc5a9d213
commit
728bdc2178
@@ -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);
|
||||
|
||||
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user