`).
Reviewed-by: Lijo Lazar
Signed-off-by: Perry Yuan
---
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
index 4f8632737574..d3b6518a65f1 100644
--- a/drivers/gpu/drm/amd
/amdgpu/amdgpu_vkms.c:805:16: error:
initialization of ‘int (*)(struct amdgpu_ip_block *)’ from
incompatible pointer type ‘int (*)(void *)’ [-Werror=incompatible-pointer-types]
.early_init = amdgpu_vkms_early_init,
Acked-by: Yifan Zhang
Signed-off-by: Perry Yuan
---
drivers/gpu/drm/amd/amdgpu
.882 msecs
[ 110.884405] PM: Some devices failed to suspend, or early wake event detected
Signed-off-by: Perry Yuan
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 4
drivers/gpu/drm/amd/include/kgd_pp_interface.h | 1 +
drivers/gpu/drm/amd/pm/amdgpu_dpm.c
]] *ERROR* ib ring test
failed (-110).
PM: resume of devices complete after 2373.995 msecs
PM: Finishing wakeup.
v1-v2:
* align csib_initialized with other failed with space[Kevin]
* check return value check for gfx_v10_0_wait_for_idle()[Kevin]
Signed-off-by: Perry Yuan
---
drivers/gpu/drm
d -62
Acked-by: Yang Wang
Reviewed-by: Kenneth Feng
Signed-off-by: Perry Yuan
Signed-off-by: Kun Liu
---
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
]] *ERROR* ib ring test
failed (-110).
PM: resume of devices complete after 2373.995 msecs
PM: Finishing wakeup.
Signed-off-by: Perry Yuan
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 +
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 5 +
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 29
.882 msecs
[ 110.884405] PM: Some devices failed to suspend, or early wake event detected
Signed-off-by: Perry Yuan
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 4
drivers/gpu/drm/amd/include/kgd_pp_interface.h | 1 +
drivers/gpu/drm/amd/pm/amdgpu_dpm.c
d -62
Signed-off-by: Perry Yuan
Signed-off-by: Kun Liu
---
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
index d9ccacd06fba..6399bc71c56d 100644
--- a/drivers/gp
If some invalid workload types exposed by the power profile sysfs node,
it will be failed to set the unsuported profiles.
So we can skip to show the invalid workload type in the profiles list to
avoid that failure happen.
Signed-off-by: Perry Yuan
---
drivers/gpu/drm/amd/pm/swsmu/smu13
Capped and Uncapped workload types are supported, each workload type
has different performance thresholds and pstate conditions.
* capped mode is used by power centric workload
* uncapped mode is used by perf centric workload
Signed-off-by: Perry Yuan
---
.../drm/amd/pm/swsmu/inc/pmfw_if
ss/drm/card0/device/pp_power_profile_mode`
3) check current mode:
$ cat /sys/class/drm/card0/device/pp_power_profile_mode
1 3D_FULL_SCREEN
3 VIDEO
4 VR
5COMPUTE
6 CUSTOM
8 CAPPED
9 UNCAPPED*
Signed-off-by: Perry Yuan
---
drivers/gpu/drm/amd/i
Centric Workload (Uncapped)0
Power Centric Workload (Capped) 1
Perry Yuan (3):
drm/amdgpu/pm: add capped/uncapped power profile modes
drm/amdgpu: map new capped and uncapped mode power profiles for
Vangogh
drm/amdgpu: skip the invalid workload type
drivers/gpu/drm/amd/include
Use ip versions (10,3,1) to match the GPU after Vangogh switched to use IP
discovery path.
Signed-off-by: Perry Yuan
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
b
change the vangogh family to use IP discovery path to initialize IP
list, this needs to remove the DID from the PCI ID list to allow the IP
discovery path to set all the IP versions correctly.
Signed-off-by: Perry Yuan
---
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 3 ---
1 file changed, 3
Add the missing apu flag for Vangogh when using IP discovery code path
to initialize IPs
Signed-off-by: Perry Yuan
---
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
b/drivers/gpu/drm/amd/amdgpu
change the vangogh family to use IP discovery path to initialize IP
list, this needs to remove the DID from the PCI ID list to allow the IP
discovery path to set all the IP versions correctly.
Signed-off-by: Perry Yuan
---
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 3 ---
1 file changed, 3
Use ip versions (10,3,1) to match the GPU after Vangogh switched to use IP
discovery path.
Signed-off-by: Perry Yuan
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
b
Add the missing apu flag for Vangogh when using IP discovery code path
to initialize IPs
Signed-off-by: Perry Yuan
---
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
b/drivers/gpu/drm/amd/amdgpu
change the vangogh family to use IP discovery path to initialize IP
list, this needs to remove the DID from the PCI ID list to allow the IP
discovery path to set all the IP versions correctly.
Signed-off-by: Perry Yuan
---
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 3 ---
1 file changed, 3
Add the missing apu flag for Vangogh when using IP discovery code path
to initialize IPs
Signed-off-by: Perry Yuan
---
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
b/drivers/gpu/drm/amd/amdgpu
047] amdgpu_dm_crtc_set_crc_source+0x1ae/0x3e0 [amdgpu]
[ 117.731149] crtc_crc_open+0x174/0x220 [drm]
[ 117.731162] full_proxy_open+0x168/0x1f0
[ 117.731165] ? open_proxy_open+0x100/0x100
BugLink: https://gitlab.freedesktop.org/drm/amd/-/issues/1546
Reviewed-by: Harry Wentland
Signed-off-by: Perry Yuan
---
drivers/gpu/drm/
test on one APU system.
$ cat /sys/class/drm/card0/device/pp_dpm_sclk
0: 200Mhz
1: 1040Mhz *
2: 1600Mhz
The current GFXCLK value is updated at runtime.
BugLink: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5260
Reviewed-by: Huang Ray
Signed-off-by: Perry Yuan
---
.../amd/pm/swsmu/smu11
22 matches
Mail list logo