diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2022-07-06 11:10:15 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-07-18 16:42:33 -0400 |
commit | 958afce98c2c86732483458c03540d3c6ef45254 (patch) | |
tree | 3beb32e5319354aa53f5786ad71a8db25d9c01b5 /COPYING | |
parent | 98a90f1f0fdd112b85b16ef6ceee69f319ab9311 (diff) | |
download | linux-958afce98c2c86732483458c03540d3c6ef45254.tar.gz linux-958afce98c2c86732483458c03540d3c6ef45254.tar.bz2 linux-958afce98c2c86732483458c03540d3c6ef45254.zip |
drm/amdgpu: restore original stable pstate on ctx fini
Save the original stable pstate on ctx init and restore
it on ctx fini so that we restore a manually selected
stable pstate on ctx exit.
v2: fix init order (Alex)
v3: don't add new variable to ctx struct (Evan)
Fixes: c65b364c52ba ("drm/amdgpu/ctx: only reset stable pstate if the user changed it (v2)")
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions