Writing a string without delimiters (' ', '\n', '\0') to the under
gpu_od/fan_ctrl sysfs or pp_power_profile_mode for the CUSTOM profile
will result in a null pointer dereference.
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4401
Signed-off-by: Umio
Writing a string without delimiters (' ', '\n', '\0') to the under
gpu_od/fan_ctrl sysfs or pp_power_profile_mode for the CUSTOM profile
will result in a null pointer dereference.
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4401
---
drivers/gpu/drm/amd/pm/amdgpu_pm.c | 5 +
1 file
: https://gitlab.freedesktop.org/drm/amd/-/issues/3251
Signed-off-by: Umio Yasuno
---
V1 -> V2: Decrease threshold to 80 and update description
---
.../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c| 13 ++---
.../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c| 13 ++---
2 fi
ThrottlingPercentage for TEMP_HOTSPOT on SMU v13.0.0/7 is almost always
greater then or equal to 1, so we set the threshold value.
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/3251
Signed-off-by: Umio Yasuno
---
.../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c| 13
From: Rob Clark
Some of the fields that are handled by drm_show_fdinfo() crept back in
when rebasing the patch. Remove them again.
Fixes: 376c25f8ca47 ("drm/amdgpu: Switch to fdinfo helper")
Signed-off-by: Rob Clark
Reviewed-by:
Co-developed-by: Umio Yasuno
Signed-off-by: U
Remove unused variables from amdgpu_show_fdinfo
Signed-off-by: Umio Yasuno
---
drivers/gpu/drm/amd/amdgpu/amdgpu_fdinfo.c | 6 --
1 file changed, 6 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fdinfo.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_fdinfo.c
index e9b5d1903..b960ca7ba
Sorry, I had mistaken MP1 for MP0.
Also, should I add an `drm/amdgpu:` or `drm/amdgpu/swsmu` or `drm/amdgpu/pm` to
the prefix of the patch title?
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2720
Signed-off-by: Umio Yasuno
---
.../drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c| 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c
b/drivers/gpu
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2720
Signed-off-by: Umio Yasuno
---
.../drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c| 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c
b/drivers/gpu