mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-07 21:27:04 +08:00
Remove AIL for filmora on DG2
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
76099c3aa7
commit
98cbf75adc
@@ -15,30 +15,6 @@ namespace NEO {
|
||||
|
||||
static EnableAIL<IGFX_DG2> enableAILDG2;
|
||||
|
||||
std::map<std::string_view, std::vector<AILEnumeration>> applicationMapDG2 = {
|
||||
{"Wondershare Filmora 11", {AILEnumeration::DISABLE_BLITTER}}, // Blitter is disabled as a temporary mitigation of high GPU utilization
|
||||
{"perf_check", {AILEnumeration::DISABLE_BLITTER}}, // perf_check
|
||||
{"tlb_player_gui", {AILEnumeration::DISABLE_BLITTER}}, // and tlb_player_gui are part of Wondershare Filmora 11
|
||||
{"Wondershare Filmora", {AILEnumeration::DISABLE_BLITTER}} // From version 12 Wondershare Filmora drops version number from process name
|
||||
};
|
||||
|
||||
template <>
|
||||
inline void AILConfigurationHw<IGFX_DG2>::applyExt(RuntimeCapabilityTable &runtimeCapabilityTable) {
|
||||
auto search = applicationMapDG2.find(processName);
|
||||
|
||||
if (search != applicationMapDG2.end()) {
|
||||
for (size_t i = 0; i < search->second.size(); ++i) {
|
||||
switch (search->second[i]) {
|
||||
case AILEnumeration::DISABLE_BLITTER:
|
||||
runtimeCapabilityTable.blitterOperationsSupported = false;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
struct ApplicationKernelFixDg2 {
|
||||
std::string_view applicationName;
|
||||
std::string_view kernelName;
|
||||
@@ -69,27 +45,6 @@ void AILConfigurationHw<IGFX_DG2>::modifyKernelIfRequired(std::string &kernelsSo
|
||||
}
|
||||
}
|
||||
|
||||
template <>
|
||||
inline bool AILConfigurationHw<IGFX_DG2>::isFallbackToPatchtokensRequired(const std::string &kernelSources) {
|
||||
std::string_view dummyKernelSource{"kernel void _(){}"};
|
||||
if (sourcesContain(kernelSources, dummyKernelSource)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
for (const auto &name : {"Wondershare Filmora 11",
|
||||
"perf_check",
|
||||
"tlb_player_gui",
|
||||
"Wondershare Filmora",
|
||||
"Resolve",
|
||||
"ArcControlAssist",
|
||||
"ArcControl"}) {
|
||||
if (processName == name) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
template class AILConfigurationHw<IGFX_DG2>;
|
||||
|
||||
} // namespace NEO
|
||||
|
||||
Reference in New Issue
Block a user