drm/amd/amdgpu: Fix return values in SI DPM code
authorTom St Denis <tom.stdenis@amd.com>
Wed, 7 Sep 2016 12:42:41 +0000 (08:42 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Sep 2016 19:10:26 +0000 (15:10 -0400)
commitad2473af273b81cf184d6e43a395a128d4db7b87
tree5f2d24839a14c48b4f3bf4a8a42c2508f1227f33
parentfd5065584d5f3532d9ffb6e3832e8064f9242c7e
drm/amd/amdgpu: Fix return values in SI DPM code

Fix a couple of spots where errors were not returned as
well as add some error messages to
si_patch_dependency_based_on_leakage() which were not being
read.

Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/si_dpm.c