With GFXOFF enabled, this patch will cause PCO amdgpu_test failed,
but GFXOFF is necessary for PCO, so revert the patch.
This reverts commit b83761bb0b09ec11c924afe9d88e458cb16a0372.
Signed-off-by: Jack Gui
---
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 6 +++---
1 file changed, 3 insertions(+), 3
Signed-off-by: Chengming Gui
---
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
index a9c853a..08f443f 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
use pcie_bandwidth_available to get real link state
to update pcie table.
v2: fix incorrect initialized return value
Signed-off-by: Chengming Gui
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
use pcie_bandwidth_available to get real link state
to update pcie table.
Signed-off-by: Chengming Gui
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
b/drivers/gpu/drm/amd/amdgpu
Max Link Width's full mask is 0x3f,
and it's highest bit express X16.
Signed-off-by: Chengming Gui
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 12 ++--
1 file changed, 2 insertions(+), 10 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
b/drivers/gpu/drm/amd
use pm_enabled to control all power related functions about vega20.
Signed-off-by: Chengming Gui
---
drivers/gpu/drm/amd/powerplay/vega20_ppt.c | 48 +++---
1 file changed, 38 insertions(+), 10 deletions(-)
diff --git a/drivers/gpu/drm/amd/powerplay/vega20_ppt.c
b
add pm_enabled to control the dpm off/on.
Signed-off-by: Chengming Gui
---
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c | 34 +++---
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h | 1 +
drivers/gpu/drm/amd/powerplay/smu_v11_0.c | 34 ++
3
Fix code error to support value < 0 or > 1.
Signed-off-by: Chengming Gui
---
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
index 3
Signed-off-by: Chengming Gui
---
drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c | 92 +++
drivers/gpu/drm/amd/powerplay/inc/rv_ppsmc.h | 1 -
drivers/gpu/drm/amd/powerplay/inc/smu10.h | 14 ++--
3 files changed, 100 insertions(+), 7 deletions(-)
diff --git
Signed-off-by: Chengming Gui
---
drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c | 5 -
1 file changed, 5 deletions(-)
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c
b/drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c
index b508b72..c2fa6bc 100644
--- a/drivers/gpu/drm
add arcturus_is_dpm_running function
Signed-off-by: Chengming Gui
---
drivers/gpu/drm/amd/powerplay/arcturus_ppt.c | 21 +
1 file changed, 21 insertions(+)
diff --git a/drivers/gpu/drm/amd/powerplay/arcturus_ppt.c
b/drivers/gpu/drm/amd/powerplay/arcturus_ppt.c
index
remove redundancy debug log about smu unsupported features
Signed-off-by: Chengming Gui
---
drivers/gpu/drm/amd/powerplay/arcturus_ppt.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/powerplay/arcturus_ppt.c
b/drivers/gpu/drm/amd/powerplay/arcturus_ppt.c
index e6fcbdf
force different GFX clocks with different SKUs for navi10:
XL (other rev_id): 1625MHz
XT (F1/C1): 1755MHz
XTX(F0/C0): 1830MHz
Signed-off-by: Chengming Gui
---
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c | 2 +
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h | 2
add mutex lock to protect dpm context resource
Signed-off-by: Chengming Gui
---
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c | 5 +++--
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h | 1 +
drivers/gpu/drm/amd/powerplay/navi10_ppt.c | 8
3 files changed, 12 insertions(+), 2
remove mutex lock when smu late init to call smu_handle_task
Signed-off-by: Chengming Gui
---
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
index 7d1bd09
add debugfs interface amdgpu_force_sclk
to set arbitrary sclk for navi14
Signed-off-by: Chengming Gui
---
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c| 44 ++
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h | 3 ++
2 files changed, 47 insertions(+)
diff --git
Revert this commit and than add debugfs interface to
replace this to meet the specitic requirement.
This reverts commit 3107269204f8e18f389080673f7848b420970aa5.
---
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c| 42 ---
drivers/gpu/drm/amd/powerplay/smu_v11_0.c | 9
Add lock_needed param for smu_set_soft_freq_range()
Signed-off-by: Chengming Gui
---
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c | 7 ++-
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h | 2 +-
drivers/gpu/drm/amd/powerplay/navi10_ppt.c | 14 +++---
drivers/gpu/drm/amd
add debugfs interface amdgpu_force_sclk
to set arbitrary sclk for navi14
v2: Add lock
Signed-off-by: Chengming Gui
---
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c| 43 ++
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h | 3 ++
2 files changed, 46 insertions(+)
diff
Add sysfs interface for arbitrary clock setting
pp_sclk - amdgpu_set_pp_sclk
Signed-off-by: Chengming Gui
---
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c| 42 +++
drivers/gpu/drm/amd/powerplay/smu_v11_0.c | 9 +--
2 files changed, 49 insertions(+), 2 deletions
Incorrect CG sequence will cause gfx timedout,
if we keep switching power profile mode
(enter profile mod such as PEAK will disable CG,
exit profile mode EXIT will enable CG)
when run Vulkan test case(case used for test: vkexample).
Signed-off-by: Chengming Gui
---
drivers/gpu/drm/amd/amdgpu
Correct reserved number according to the latest struct in drm-next
Signed-off-by: Chengming Gui
Change-Id: I5991a8ef53134c00348a96f776a539bad6da4fa1
---
drivers/gpu/drm/amd/pm/inc/smu11_driver_if_sienna_cichlid.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu
Update PPTable structure since SMC#73.9/IFWI-XXX.013
Signed-off-by: Chengming Gui
Reviewed-by: Tao Zhou
Change-Id: I7f6a2dd85b367eb4ecbcfcd5141b1960a395ec24
---
drivers/gpu/drm/amd/pm/inc/smu11_driver_if_sienna_cichlid.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
23 matches
Mail list logo