From: Evan Quan Date: Wed, 17 Jul 2019 01:34:13 +0000 (+0800) Subject: drm/amd/powerplay: hold on the arcturus gfx dpm support in driver X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3ff101b8ab78e115feb52645dac35b3634ee5a77;p=openwrt%2Fstaging%2Fblogic.git drm/amd/powerplay: hold on the arcturus gfx dpm support in driver As for now, only "Prefetcher" is guarded to be working from SMU firmware. Signed-off-by: Evan Quan Reviewed-by: Hawking Zhang Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/powerplay/arcturus_ppt.c b/drivers/gpu/drm/amd/powerplay/arcturus_ppt.c index b284ebcbe545..a0644ef267a9 100644 --- a/drivers/gpu/drm/amd/powerplay/arcturus_ppt.c +++ b/drivers/gpu/drm/amd/powerplay/arcturus_ppt.c @@ -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; }