From: Kevin Wang <[email protected]> enable amdgpu dpm global flag
Signed-off-by: Kevin Wang <[email protected]> Reviewed-by: Huang Rui <[email protected]> --- drivers/gpu/drm/amd/powerplay/amdgpu_smu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c index 5c9c7e1..c3176e4 100644 --- a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c +++ b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c @@ -734,6 +734,8 @@ static int smu_hw_init(void *handle) mutex_unlock(&smu->mutex); + adev->pm.dpm_enabled = true; + pr_info("SMU is initialized successfully!\n"); return 0; -- 2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
