projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1732475
)
drm/amd/powerplay: enable powerplay as default on CZ/ST
author
Huang Rui
<
[email protected]
>
Mon, 18 Apr 2016 15:29:32 +0000
(23:29 +0800)
committer
Alex Deucher
<
[email protected]
>
Mon, 8 Aug 2016 15:33:28 +0000
(11:33 -0400)
Enable powerplay as default on Carrizo and Stoney. And it can be
disabled with amdgpu.powerplay=0.
Reviewed-by: Alex Deucher <
[email protected]
>
Signed-off-by: Huang Rui <
[email protected]
>
Cc: Rex Zhu <
[email protected]
>
Cc: Flora Cui <
[email protected]
>
Cc: Ken Wang <
[email protected]
>
Signed-off-by: Alex Deucher <
[email protected]
>
drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c
index 85288502ad0533b9653cde492679bbd97b728c57..545074479e1f08a7f79461547da144e5e3239854 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c
@@
-109,11
+109,9
@@
static int amdgpu_pp_early_init(void *handle)
case CHIP_TONGA:
case CHIP_FIJI:
case CHIP_TOPAZ:
- adev->pp_enabled = (amdgpu_powerplay == 0) ? false : true;
- break;
case CHIP_CARRIZO:
case CHIP_STONEY:
- adev->pp_enabled = (amdgpu_powerplay
> 0) ? true : fals
e;
+ adev->pp_enabled = (amdgpu_powerplay
== 0) ? false : tru
e;
break;
/* These chips don't have powerplay implemenations */
case CHIP_BONAIRE: