mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Optimize power usage in VA sharing scenarios.
- in VA sharing scenarios driver needs to be as power efficient as possible - Added new mode to KMD notify helper called maxPowerSavingMode - in this mode, whenever GPU is not busy, driver will choose non busy wait path. Change-Id: I7e4079be995107bea543ffda774ca161ce483944
This commit is contained in:
committed by
sys_ocldev
parent
b4b4a306d4
commit
d53e1c3979
@@ -81,6 +81,10 @@ bool SharingFactory::finalizeProperties(Context &context, int32_t &errcodeRet) {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool SharingFactory::isSharingPresent(SharingType sharingId) {
|
||||
return sharingContextBuilder[sharingId] != nullptr;
|
||||
}
|
||||
|
||||
SharingBuilderFactory *SharingFactory::sharingContextBuilder[SharingType::MAX_SHARING_VALUE] = {
|
||||
nullptr,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user