drm/radeon: stop sending invalid UVD destroy msg
authorChristian König <christian.koenig@amd.com>
Mon, 5 Aug 2013 12:10:56 +0000 (14:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Aug 2013 05:59:09 +0000 (22:59 -0700)
commitce512e58aa200513472a438e72a0fbe2bcaf8524
treec40edf34c14b376d134a20d10c0edf44a2874079
parenta76faeeb472b213c92f6fef54ec3cd7246f87f64
drm/radeon: stop sending invalid UVD destroy msg

commit 641a00593f7d07eab778fbabf546fb68fff3d5ce upstream.

We also need to check the handle.

Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/radeon_uvd.c