projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ce529d
)
drm/radeon: check the return value of uvd_v1_0_start in uvd_v1_0_init
author
Alex Deucher
<alexander.deucher@amd.com>
Wed, 28 Aug 2013 22:24:00 +0000
(18:24 -0400)
committer
Alex Deucher
<alexander.deucher@amd.com>
Fri, 30 Aug 2013 20:31:13 +0000
(16:31 -0400)
No need to try the ring tests if starting the UVD block failed.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
drivers/gpu/drm/radeon/uvd_v1_0.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/uvd_v1_0.c
b/drivers/gpu/drm/radeon/uvd_v1_0.c
index 76ca669f0c8ee1555eb9e8c705f1e74e89f47961..3426be9aa38af1e90107f43ddf312608a0295cd7 100644
(file)
--- a/
drivers/gpu/drm/radeon/uvd_v1_0.c
+++ b/
drivers/gpu/drm/radeon/uvd_v1_0.c
@@
-85,7
+85,9
@@
int uvd_v1_0_init(struct radeon_device *rdev)
/* raise clocks while booting up the VCPU */
radeon_set_uvd_clocks(rdev, 53300, 40000);
- uvd_v1_0_start(rdev);
+ r = uvd_v1_0_start(rdev);
+ if (r)
+ goto done;
ring->ready = true;
r = radeon_ring_test(rdev, R600_RING_TYPE_UVD_INDEX, ring);