mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-04 08:08:54 +00:00
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
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue