Skip to content

tonga_get_evv_voltage error handling fixes

Moritz Kühner dri-devel 2 versions – Applied

Status from this message: Applied. thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyApplied
  2. v12 patches 1 replySuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2drm/amd/powerplay/hwmgr: prevent VDDC from exceeding 2Vdrivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c+1 -20 replies
2/2drm/amd/powerplay/hwmgr: don't add invalid voltagedrivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c+30 -240 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH 0/2 v2] tonga_get_evv_voltage error handling fixes

I got myself a 380X recently and started reading random mesa and kernel code in the hopes that I would find something that I can fix or improve, and something actually caught my eye. Some of the error handling in tonga_get_evv_voltage just seemed of and based on the comments I think the patches provided will do the intended thing.
While I did test the patch I have to admit that i did not try what happens when I apply 2V to my card ;-).

PS: This is my first submission. So... please tell me if I did something wrong.

v2: added signed of by
fixed error message print

Moritz Kühner (2):
drm/amd/powerplay/hwmgr: prevent VDDC from exceeding 2V drm/amd/powerplay/hwmgr: don't add invalid voltage

 drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c | 55 ++++++++++++-----------
 1 file changed, 30 insertions(+), 25 deletions(-)
Signature · 6 lines
2.7.4

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel