drm/amdgpu: Fix memory trashing if UVD ring test fails
authorJay Cornwall <jay@jcornwall.me>
Wed, 3 Aug 2016 18:39:42 +0000 (13:39 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Aug 2016 16:11:48 +0000 (12:11 -0400)
commitc2a4c5b75a717db8bbe1c2fad6473063a7d2f930
tree2ca3b988ae6ede8b8abb0a190ea54c2fec79e1a2
parent64827adc9e14c8d17cf5f3d5a9ee47a42e95dd8c
drm/amdgpu: Fix memory trashing if UVD ring test fails

fence_put was called on an uninitialized variable.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Jay Cornwall <jay@jcornwall.me>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c