Commit 8139d493 authored by Evan Quan's avatar Evan Quan Committed by Alex Deucher
Browse files

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: default avatarEvan Quan <evan.quan@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent abc85625
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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;
}