Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amd/powerplay: re-enable FW_DSTATE feature bit

SMU firmware has fix the bug, so remove this workaround.

Signed-off-by: Xiaojie Yuan <xiaojie.yuan@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Kevin Wang <kevin1.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Xiaojie Yuan and committed by
Alex Deucher
bb3d7d32 5f6a556f

+1 -4
+1 -4
drivers/gpu/drm/amd/powerplay/navi10_ppt.c
··· 372 372 if (adev->pm.pp_feature & PP_SCLK_DEEP_SLEEP_MASK) 373 373 *(uint64_t *)feature_mask |= FEATURE_MASK(FEATURE_DS_GFXCLK_BIT); 374 374 375 - if (adev->pm.pp_feature & PP_GFXOFF_MASK) { 375 + if (adev->pm.pp_feature & PP_GFXOFF_MASK) 376 376 *(uint64_t *)feature_mask |= FEATURE_MASK(FEATURE_GFXOFF_BIT); 377 - /* TODO: remove it once fw fix the bug */ 378 - *(uint64_t *)feature_mask &= ~FEATURE_MASK(FEATURE_FW_DSTATE_BIT); 379 - } 380 377 381 378 if (smu->adev->pg_flags & AMD_PG_SUPPORT_MMHUB) 382 379 *(uint64_t *)feature_mask |= FEATURE_MASK(FEATURE_MMHUB_PG_BIT);