[PATCH] drm/amd/pm: fix null pointer access

2025-07-16 Thread Umio Yasuno
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

[PATCH] drm/amd/pm: fix null pointer access

2025-07-12 Thread Umio Yasuno
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

[PATCH v2] drm/amdgpu/smu13: set the threshold for TEMP_HOTSPOT throttling

2025-05-08 Thread Umio Yasuno
: 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

[PATCH] drm/amdgpu/smu13: set the threshold for TEMP_HOTSPOT throttling

2025-05-02 Thread Umio Yasuno
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

[PATCH 1/2] drm/amdgpu: Remove duplicate fdinfo fields

2023-10-26 Thread Umio Yasuno
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

[PATCH 2/2] drm/amdgpu: Remove unused variables from amdgpu_show_fdinfo

2023-10-26 Thread Umio Yasuno
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

Re: [PATCH] fix throttle_status for other than MP0 11.0.7

2023-08-09 Thread Umio Yasuno
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?

[PATCH] fix throttle_status for other than MP0 11.0.7

2023-08-08 Thread Umio Yasuno
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

[PATCH] fix throttle_status for other than MP0 11.0.7

2023-08-08 Thread Umio Yasuno
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