mirror of https://gitee.com/openkylin/linux.git
drm/amd/powerplay: update OD support flag for SKU with no OD capabilities
For those ASICs with no overdrive capabilities, the OD support flag will be reset. Signed-off-by: Evan Quan <evan.quan@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
abc856259a
commit
8139d493da
|
@ -980,6 +980,9 @@ static int vega20_od8_set_feature_capabilities(
|
|||
pp_table->FanZeroRpmEnable)
|
||||
od_settings->overdrive8_capabilities |= OD8_FAN_ZERO_RPM_CONTROL;
|
||||
|
||||
if (!od_settings->overdrive8_capabilities)
|
||||
hwmgr->od_enabled = false;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue