Skip to contentSkip to conversation

drm/amdgpu: Change default value of module parameter amdgpu_pp_feature_mask

PATCH In review Rex Zhu 2 participants 3 messages Feb 22, 2018 2 messages not in the archive

Subsystems (2)
lore
Share & tools
lore

Rex Zhu

author
#0 lore raw

PATCH 1/2 drm/amdgpu: Change default value of module parameter amdgpu_pp_feature_mask

Currently all pp features are enabled by default except OVERDRIVE

Change-Id I0c0400db966fb8f2a1278c467fd6d0ccef947407
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +1 -1
index c5b34f0..69cf490 100644
@@ -121,7 +121,7 @@
 uint amdgpu_sdma_phase_quantum = 32;
 char *amdgpu_disable_cu = NULL;
 char *amdgpu_virtual_display = NULL;
-uint amdgpu_pp_feature_mask = 0x3fff;
+uint amdgpu_pp_feature_mask = 0xffffbfff;
 int amdgpu_ngg = 0;
 int amdgpu_prim_buf_per_se = 0;
 int amdgpu_pos_buf_per_se = 0;
Signature · 6 lines
1.9.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 1519295213-5754-1-git-send-email-Rex.Zhu-5C7GfCeVMHo@public.gmane.org

author
#2 lore raw

PATCH 2/2 drm/amd/pp: Add a pp feature mask bit for AutoWattman feature

Change-Id I6a919f7512b89894f230d45f1ddb6b0b1d971ef8
---
 drivers/gpu/drm/amd/powerplay/inc/hwmgr.h | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/powerplay/inc/hwmgr.h +1 -0
index 2a59ee8..77d7f49 100644
@@ -85,6 +85,7 @@ enum PP_FEATURE_MASK {
 	PP_SOCCLK_DPM_MASK = 0x1000,
 	PP_DCEFCLK_DPM_MASK = 0x2000,
 	PP_OVERDRIVE_MASK = 0x4000,
+	PP_AUTOWATTMAN_MASK = 0x8000,
 };
 
 enum PHM_BackEnd_Magic {
Signature · 6 lines
1.9.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 1519295213-5754-2-git-send-email-Rex.Zhu-5C7GfCeVMHo@public.gmane.org

Reviewed-by
#4 lore raw

Re: [PATCH 2/2] drm/amd/pp: Add a pp feature mask bit for AutoWattman feature

Quoted 2 lines · Rex Zhu
Change-Id I6a919f7512b89894f230d45f1ddb6b0b1d971ef8

Series is:

Quoted 19 lines
---
 drivers/gpu/drm/amd/powerplay/inc/hwmgr.h | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/powerplay/inc/hwmgr.h +1 -1
index 2a59ee8..77d7f49 100644
@@ -85,6 +85,7 @@ enum PP_FEATURE_MASK {
        PP_SOCCLK_DPM_MASK = 0x1000,
        PP_DCEFCLK_DPM_MASK = 0x2000,
        PP_OVERDRIVE_MASK = 0x4000,
+       PP_AUTOWATTMAN_MASK = 0x8000,
 };
 
 enum PHM_BackEnd_Magic {
--

1.9.1

Quoted 4 lines

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx