[PATCH] drm/amdgpu/powerplay:avoid to show invalid DPM table info

2020-04-16 Thread Yuxian Dai
for different ASIC support different the number of DPM levels, we should avoid to show the invalid level value. v1 -> v2: follow the suggestion,clarifiy the description for this change Signed-off-by: Yuxian Dai Change-Id: I579ef417ddc8acb4a6cf15c60094743a72d9b050 --- drivers/gpu/drm/

[PATCH] drm/amdgpu/powerplay:avoid to show invalid DPM table info

2020-04-16 Thread Yuxian Dai
for different ASIC support different the number of DPM levels, we should avoid to show the invalid level value. v1 -> v2: follow the suggestion,clarifiy the description for this change Signed-off-by: Yuxian Dai Change-Id: I579ef417ddc8acb4a6cf15c60094743a72d9b050 --- drivers/gpu/drm/

[PATCH] drm/amdgpu/powerplay:avoid to show invalid DPM table info

2020-04-16 Thread Yuxian Dai
for different ASIC support different the number of DPM levels, we should avoid to show the invalid level value. v1 -> v2: follow the suggestion,clarifiy the description for this change Signed-off-by: Yuxian Dai Change-Id: I579ef417ddc8acb4a6cf15c60094743a72d9b050 --- drivers/gpu/drm/

[PATCH] drm/amdgpu/powerplay:avoid to show invalid DPM table info

2020-04-15 Thread Yuxian Dai
we should avoid to show the invalid level value when the DPM_LEVELS supported number changed Signed-off-by: Yuxian Dai Change-Id: Ib66d0cf34a866fa6f0cedd1d5fc642f59236787d --- drivers/gpu/drm/amd/powerplay/renoir_ppt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd

[PATCH] drm/amdgpu/powerplay: using the FCLK DPM table to set the MCLK

2020-04-01 Thread Yuxian Dai
1.Using the FCLK DPM table to set the MCLK for DPM states consist of three entities: FCLK UCLK MEMCLK All these three clk change together, MEMCLK from FCLK, so use the fclk frequency. 2.we should show the current working clock freqency from clock table metric Signed-off-by: Yuxian Dai

[PATCH] drm/amdgpu/powerplay: using the FCLK DPM table to set the MCLK

2020-04-01 Thread Yuxian Dai
ic Change-Id: Ia45f3069fc7ae56db495cb5a3865e2c50c550774 Signed-off-by: Yuxian Dai --- drivers/gpu/drm/amd/powerplay/renoir_ppt.c | 6 ++ drivers/gpu/drm/amd/powerplay/renoir_ppt.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/powerplay/renoir_ppt.c

[PATCH] drm/amdgpu/powerplay: using the FCLK DPM table to set the MCLK

2020-04-01 Thread Yuxian Dai
ic Change-Id: Ia45f3069fc7ae56db495cb5a3865e2c50c550774 Signed-off-by: Yuxian Dai --- drivers/gpu/drm/amd/powerplay/renoir_ppt.c | 7 +++ drivers/gpu/drm/amd/powerplay/renoir_ppt.h | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/powerplay/renoir_ppt.c

[PATCH] drm/amdgpu/powerplay: using the FCLK DPM table to set the MCLK

2020-03-31 Thread Yuxian Dai
ic Change-Id: Ia45f3069fc7ae56db495cb5a3865e2c50c550774 Signed-off-by: Yuxian Dai --- drivers/gpu/drm/amd/powerplay/renoir_ppt.c | 7 +++ drivers/gpu/drm/amd/powerplay/renoir_ppt.h | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/powerplay/renoir_ppt.c

[PATCH] drm/amdgpu/powerplay: using the FCLK DPM table to set the MCLK

2020-03-31 Thread Yuxian Dai
ic Change-Id: Ia45f3069fc7ae56db495cb5a3865e2c50c550774 Signed-off-by: Yuxian Dai --- drivers/gpu/drm/amd/powerplay/renoir_ppt.c | 8 drivers/gpu/drm/amd/powerplay/renoir_ppt.h | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/powerplay/renoi

[PATCH] drm/amdgpu/powerplay: using the FCLK DPM table to set the MCLK

2020-03-31 Thread Yuxian Dai
ic Change-Id: Ia45f3069fc7ae56db495cb5a3865e2c50c550774 Signed-off-by: Yuxian Dai --- drivers/gpu/drm/amd/powerplay/renoir_ppt.c | 9 - drivers/gpu/drm/amd/powerplay/renoir_ppt.h | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/powerplay/renoi

[PATCH] drm/amdgpu/powerplay: using the FCLK DPM table to set the MCLK for DPM states consist of three entities :FCLK, UCLK, MEMCLK all these three clk change together , MEMCLK from FCLK.

2020-03-31 Thread Yuxian Dai
From: "yuxia...@amd.com" Change-Id: Ia45f3069fc7ae56db495cb5a3865e2c50c550774 Signed-off-by: Yuxian Dai --- drivers/gpu/drm/amd/powerplay/renoir_ppt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/powerplay/renoir_ppt.h b/drivers/gpu/drm/amd