drm/amd/powerplay: hold on the arcturus gfx dpm support in driver
authorEvan Quan <evan.quan@amd.com>
Wed, 17 Jul 2019 01:34:13 +0000 (09:34 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 31 Jul 2019 04:48:34 +0000 (23:48 -0500)
As for now, only "Prefetcher" is guarded to be working from
SMU firmware.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/arcturus_ppt.c

index b284ebcbe5451eb1e9f37a75d43df52fc982ba04..a0644ef267a91eae0689d3108d6470ec027f9f5a 100644 (file)
@@ -324,8 +324,7 @@ arcturus_get_allowed_feature_mask(struct smu_context *smu,
 
        memset(feature_mask, 0, sizeof(uint32_t) * num);
 
-       *(uint64_t *)feature_mask |= FEATURE_MASK(FEATURE_DPM_PREFETCHER_BIT)
-                               | FEATURE_MASK(FEATURE_DPM_GFXCLK_BIT);
+       *(uint64_t *)feature_mask |= FEATURE_MASK(FEATURE_DPM_PREFETCHER_BIT);
 
        return 0;
 }