projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8085c69
)
drm/amdgpu/vi: add missing error handling when setting uvd dclk
author
Alex Deucher
<alexander.deucher@amd.com>
Thu, 16 Mar 2017 02:05:20 +0000
(22:05 -0400)
committer
Alex Deucher
<alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:53:59 +0000
(23:53 -0400)
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vi.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/vi.c
b/drivers/gpu/drm/amd/amdgpu/vi.c
index
28385b8
..
eff123b
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/vi.c
+++ b/
drivers/gpu/drm/amd/amdgpu/vi.c
@@
-795,6
+795,8
@@
static int vi_set_uvd_clocks(struct amdgpu_device *adev, u32 vclk, u32 dclk)
return r;
r = vi_set_uvd_clock(adev, dclk, ixCG_DCLK_CNTL, ixCG_DCLK_STATUS);
+ if (r)
+ return r;
return 0;
}