git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85cfe09
)
drm/amdgpu/cz: store the forced dpm level
author
Alex Deucher
<alexander.deucher@amd.com>
Tue, 14 Jul 2015 16:29:00 +0000
(12:29 -0400)
committer
Alex Deucher
<alexander.deucher@amd.com>
Thu, 16 Jul 2015 16:39:42 +0000
(12:39 -0400)
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>
drivers/gpu/drm/amd/amdgpu/cz_dpm.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/cz_dpm.c
b/drivers/gpu/drm/amd/amdgpu/cz_dpm.c
index
8d95547
..
cca8ee1
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/cz_dpm.c
+++ b/
drivers/gpu/drm/amd/amdgpu/cz_dpm.c
@@
-1717,6
+1717,8
@@
static int cz_dpm_force_dpm_level(struct amdgpu_device *adev,
break;
}
+ adev->pm.dpm.forced_level = level;
+
return ret;
}