Skip to content

Commit 12eda9e

Browse files
Add missing test for ULLS cache flush
Signed-off-by: Lukasz Jobczyk <[email protected]>
1 parent b7883bf commit 12eda9e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

shared/test/unit_test/direct_submission/linux/drm_direct_submission_tests.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ HWTEST_F(DrmDirectSubmissionTest, givenDirectSubmissionNewResourceTlbFlushWhenDi
188188
hwParse.findHardwareCommands<FamilyType>();
189189
auto *pipeControl = hwParse.getCommand<PIPE_CONTROL>();
190190
EXPECT_TRUE(pipeControl->getTlbInvalidate());
191+
EXPECT_TRUE(pipeControl->getTextureCacheInvalidationEnable());
191192

192193
EXPECT_EQ(directSubmission.getSizeNewResourceHandler(), sizeof(PIPE_CONTROL));
193194
}
@@ -218,6 +219,7 @@ HWTEST_F(DrmDirectSubmissionTest, givenNewResourceBoundhWhenDispatchCommandBuffe
218219
hwParse.findHardwareCommands<FamilyType>();
219220
auto *pipeControl = hwParse.getCommand<PIPE_CONTROL>();
220221
EXPECT_TRUE(pipeControl->getTlbInvalidate());
222+
EXPECT_TRUE(pipeControl->getTextureCacheInvalidationEnable());
221223
EXPECT_FALSE(drm->getNewResourceBound());
222224

223225
EXPECT_EQ(directSubmission.getSizeNewResourceHandler(), 0u);

0 commit comments

Comments
 (0)