PASID_SRC is not actually present in the Interrupt Packet, the field is
taken as reserved bits now. So remove it from IV entry to avoid misuse.
Signed-off-by: Xiaomeng Hou
---
drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c | 1 -
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h | 1 -
2 files changed, 2
Update smu v13.0.1 firmware header for yellow carp.
Signed-off-by: Xiaomeng Hou
---
drivers/gpu/drm/amd/pm/inc/smu_v13_0_1_pmfw.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/pm/inc/smu_v13_0_1_pmfw.h
b/drivers/gpu/drm/amd/pm/inc/smu_v13_0_1_pmfw.h
Correct yellow carp driver-PMFW interface version to v4.
Signed-off-by: Xiaomeng Hou
---
drivers/gpu/drm/amd/pm/inc/smu_v13_0.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/pm/inc/smu_v13_0.h
b/drivers/gpu/drm/amd/pm/inc/smu_v13_0.h
index 3fea2430dec0
Update the register header file name.
Signed-off-by: Xiaomeng Hou
---
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/dcn31_smu.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/dcn31_smu.c
b/drivers/gpu/drm/amd/display/dc
Since there's nothing special in smu implementation for yellow carp,
it's better to reuse the common smu_v13_0 interfaces and drop the
specific smu_v13_0_1.c|h files.
v2: remove the duplicate register offset and shift mask header files as
well.
Signed-off-by: Xiaomeng Hou
---
.
Since there's nothing special in smu implementation for yellow carp,
it's better to reuse the common smu_v13_0 interfaces and drop the
specific smu_v13_0_1.c|h files.
Signed-off-by: Xiaomeng Hou
---
drivers/gpu/drm/amd/pm/inc/smu_v13_0.h| 1 +
drivers/gpu/drm/amd/pm/inc/smu
le 'member_type' is declared here
MetricsMember_t member_type;
^
1 warning generated.
Fix this warning by return errno when the clk type is unsupported.
Signed-off-by: Xiaomeng Hou
Reported-by: kernel test robot
---
drivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_pp
The original smu_get_power_limit callback accepts the power limit level
parameter as bool which limits to max and current. For possible needs to
retrieve other level like min, extend the parameter type using enum.
Signed-off-by: Xiaomeng Hou
---
drivers/gpu/drm/amd/pm/amdgpu_pm.c| 4
apter
slowPPT: 9.04W (cap = 15.00 W)
fastPPT: 9.04W (cap = 18.00 W)
v2: align with existing interfaces for the getting/setting of PPT
limits. Encode the upper 8 bits of limit value to distinguish
slow and fast power limit type.
Signed-off-by: Xiaomeng Hou
---
drivers/gpu/
apter
slowPPT: 9.04W (cap = 15.00 W)
fastPPT: 9.04W (cap = 18.00 W)
v2: align with existing interfaces for the getting/setting of PPT
limits. Encode the upper 8 bits of limit value to distinguish
slow and fast power limit type.
Signed-off-by: Xiaomeng Hou
---
drivers/gpu/
Add PP messages for reading/setting Fast PPT and Slow PPT limit.
Signed-off-by: Xiaomeng Hou
---
drivers/gpu/drm/amd/pm/inc/smu_types.h | 4
drivers/gpu/drm/amd/pm/inc/smu_v11_5_ppsmc.h | 6 +-
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/pm
Only pmfw version behind v4.63.23.00 could support this message.
Signed-off-by: Xiaomeng Hou
---
drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c
b/drivers/gpu/drm/amd
Without doing the soft reset, register mmSDMA0_GFX_RB_WPTR's value could not be
reset to 0 when sdma block resumes. That would cause the ring buffer's read and
write pointers not equal and ring test fail. So add the soft reset step.
Signed-off-by: Xiaomeng Hou
---
drivers/gpu/drm/
.
Signed-off-by: Xiaomeng Hou
Change-Id: I2f1a7de23df7315a7b220ba6d0a4bcaa75c93fea
---
.../gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c| 17 -
.../gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.h| 4
2 files changed, 20 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/pm
Add new PMFW message to notify RLC engine status.
Signed-off-by: Xiaomeng Hou
Change-Id: I7d714f8f245835cacb25e7cc4b248ddf183aebc1
---
drivers/gpu/drm/amd/pm/inc/smu_types.h | 2 +-
drivers/gpu/drm/amd/pm/inc/smu_v11_5_ppsmc.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff
RLC is halted when system suspend/shutdown. However, due to DPM enabled, PMFM is
unaware of RLC being halted and will continue sending messages, which would
eventually caused ACPI related hang. So send message to inform PMFM the rlc
status before start/stop rlc.
Signed-off-by: Xiaomeng Hou
Add this interface to notify PMFW the status (Normal/Off) of RLC engine.
Before notify RLC status normal, need check its current status first. Send the
message only when current status is still off.
Signed-off-by: Xiaomeng Hou
Change-Id: I2f1a7de23df7315a7b220ba6d0a4bcaa75c93fea
---
drivers
Add new PMFW message to notify RLC engine status.
Signed-off-by: Xiaomeng Hou
Change-Id: I7d714f8f245835cacb25e7cc4b248ddf183aebc1
---
drivers/gpu/drm/amd/pm/inc/smu_types.h | 2 +-
drivers/gpu/drm/amd/pm/inc/smu_v11_5_ppsmc.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff
This reverts commit ba502322c9f216552485cea967aeb8adbaf03a02.
IP discovery table has been verified on vangogh.
Signed-off-by: Xiaomeng Hou
---
drivers/gpu/drm/amd/amdgpu/nv.c | 4
1 file changed, 4 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu
the unit of variable AverageGfxActivity defined in smu12 metrics
struct is centi, so the retrieved value should be divided by 100 before
return.
Change-Id: Ia7873597977cb5479b015d632ab24a7aa20a1cfb
Signed-off-by: Xiaomeng Hou
---
drivers/gpu/drm/amd/powerplay/renoir_ppt.c | 2 +-
1 file changed
implement sensor interface of feature mask for debugfs.
Change-Id: Ia085aab4c82b978e1e8c8ddc3ca6278b9dec8005
Signed-off-by: Xiaomeng Hou
---
drivers/gpu/drm/amd/powerplay/inc/smu_v12_0.h | 3 ++
drivers/gpu/drm/amd/powerplay/renoir_ppt.c| 1 +
drivers/gpu/drm/amd/powerplay/smu_v12_0.c
implement smu12 get_clk_freq interface to get clock frequency like
MCLK/SCLK.
Change-Id: I2481d649811c15cd2d8e2741242b2928a32413fc
Signed-off-by: Xiaomeng Hou
---
drivers/gpu/drm/amd/powerplay/inc/smu_v12_0.h | 4 ++
drivers/gpu/drm/amd/powerplay/renoir_ppt.c| 49
add sensor interface of get gpu temperature for debugfs.
Change-Id: I2499b6652fad6d5d776b6ed4cd5157636583ed39
Signed-off-by: Xiaomeng Hou
---
drivers/gpu/drm/amd/powerplay/renoir_ppt.c | 22 ++
1 file changed, 22 insertions(+)
diff --git a/drivers/gpu/drm/amd/powerplay
23 matches
Mail list logo