projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abc8562
)
drm/amd/powerplay: update OD support flag for SKU with no OD capabilities
author
Evan Quan
<
[email protected]
>
Mon, 7 Jan 2019 10:38:30 +0000
(18:38 +0800)
committer
Alex Deucher
<
[email protected]
>
Tue, 8 Jan 2019 21:26:04 +0000
(16:26 -0500)
For those ASICs with no overdrive capabilities, the OD support flag
will be reset.
Signed-off-by: Evan Quan <
[email protected]
>
Reviewed-by: Alex Deucher <
[email protected]
>
Signed-off-by: Alex Deucher <
[email protected]
>
drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
b/drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
index ea0b52d46fe9557c957d955f03aefd1192a94bf1..74c9bdf6f79fb6845df0cb646cc8d52a336bd37f 100644
(file)
--- a/
drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
+++ b/
drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
@@
-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;
}