mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Windows Sysman Fan Fix at corner case.
Fix corner case of max 10 points.
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
83a278d6f9
commit
d628032206
@@ -70,7 +70,7 @@ ze_result_t WddmFanImp::setFixedSpeedMode(const zes_fan_speed_t *pSpeed) {
|
||||
}
|
||||
|
||||
ze_result_t WddmFanImp::setSpeedTableMode(const zes_fan_speed_table_t *pSpeedTable) {
|
||||
if (pSpeedTable->numPoints == 0 || pSpeedTable->numPoints >= maxPoints) {
|
||||
if (pSpeedTable->numPoints == 0 || pSpeedTable->numPoints > maxPoints) {
|
||||
return ZE_RESULT_ERROR_INVALID_ARGUMENT;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user