mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 07:00:17 +08:00
Set valid "max number of threads" in MEDIA_VFE_STATE
Change-Id: Icd55fe6b5cae5a92021d2692fe09c19535e64121
This commit is contained in:
committed by
sys_ocldev
parent
49d5ebef0d
commit
623314665b
@@ -228,20 +228,8 @@ HWCMDTEST_F(IGFX_GEN8_CORE, EnqueueCopyBufferTest, PipelineSelect) {
|
||||
}
|
||||
|
||||
HWCMDTEST_F(IGFX_GEN8_CORE, EnqueueCopyBufferTest, MediaVFEState) {
|
||||
typedef typename FamilyType::MEDIA_VFE_STATE MEDIA_VFE_STATE;
|
||||
|
||||
enqueueCopyBufferAndParse<FamilyType>();
|
||||
|
||||
auto *cmd = (MEDIA_VFE_STATE *)cmdMediaVfeState;
|
||||
ASSERT_NE(nullptr, cmd);
|
||||
|
||||
// Verify we have a valid length
|
||||
EXPECT_EQ(pDevice->getHardwareInfo().pSysInfo->ThreadCount, cmd->getMaximumNumberOfThreads());
|
||||
EXPECT_NE(0u, cmd->getNumberOfUrbEntries());
|
||||
EXPECT_NE(0u, cmd->getUrbEntryAllocationSize());
|
||||
|
||||
// Generically validate this command
|
||||
FamilyType::PARSE::template validateCommand<MEDIA_VFE_STATE *>(cmdList.begin(), itorMediaVfeState);
|
||||
validateMediaVFEState<FamilyType>(&pDevice->getHardwareInfo(), cmdMediaVfeState, cmdList, itorMediaVfeState);
|
||||
}
|
||||
|
||||
HWCMDTEST_F(IGFX_GEN8_CORE, EnqueueCopyBufferTest, argumentZeroShouldMatchSourceAddress) {
|
||||
|
||||
Reference in New Issue
Block a user