diff options
author | 2022-07-06 11:10:15 -0400 | |
---|---|---|
committer | 2022-07-18 16:42:33 -0400 | |
commit | 958afce98c2c86732483458c03540d3c6ef45254 (patch) | |
tree | 3beb32e5319354aa53f5786ad71a8db25d9c01b5 /drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | |
parent | drm/amdgpu: use the same HDP flush registers for all nbio 2.3.x (diff) | |
download | linux-rng-958afce98c2c86732483458c03540d3c6ef45254.tar.xz linux-rng-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 'drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c')
0 files changed, 0 insertions, 0 deletions