Skip to content

Commit

Permalink
drm/amdgpu/cz: store the forced dpm level
Browse files Browse the repository at this point in the history
So the selected forced level shows up properly in sysfs.

Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
  • Loading branch information
Alex Deucher committed Jul 16, 2015
1 parent 85cfe09 commit 58829aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/gpu/drm/amd/amdgpu/cz_dpm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1717,6 +1717,8 @@ static int cz_dpm_force_dpm_level(struct amdgpu_device *adev,
break;
}

adev->pm.dpm.forced_level = level;

return ret;
}

Expand Down

0 comments on commit 58829aa

Please sign in to comment.