drm/radeon: more strictly validate the UVD codec
authorChristian König <christian.koenig@amd.com>
Thu, 7 May 2015 13:19:24 +0000 (15:19 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 May 2015 15:00:17 +0000 (11:00 -0400)
commitd52cdfa4a0c6406bbfb33206341eaf1fb1555994
treeba4d4c2bbc8323d182890e49783b25e8c483e8e9
parenta1b403da70e038ca6c6c6fe434d1d873546873a3
drm/radeon: more strictly validate the UVD codec

MPEG 2/4 are only supported since UVD3.

Signed-off-by: Christian König <christian.koenig@amd.com>
CC: stable@vger.kernel.org
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_uvd.c