drm/amdgpu: use %u rather than %d for sclk/mclk
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Jul 2020 16:00:08 +0000 (12:00 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Jul 2020 18:20:23 +0000 (14:20 -0400)
commitbeaf10efca64ac824240838ab1f054dfbefab5e6
tree66c1484de4dfe258dde1ceea86c900ccc672fc62
parentd7a6634a4cfba073ff6a526cb4265d6e58ece234
drm/amdgpu: use %u rather than %d for sclk/mclk

Large clock values may overflow and show up as negative.

Reported by prOMiNd on IRC.

Acked-by: Nirmoy Das <nirmoy.das@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c