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)
committerSasha Levin <sasha.levin@oracle.com>
Tue, 9 Jun 2015 17:43:37 +0000 (13:43 -0400)
commit13b1c9845e849fa6752034a808db76ac7ad9c5c9
tree65f69e3372cfdebd1cad373f7d5e411cf570a9a2
parent0566ba74693f1810ed283da70c7d502ffbc3e74c
drm/radeon: more strictly validate the UVD codec

[ Upstream commit d52cdfa4a0c6406bbfb33206341eaf1fb1555994 ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/gpu/drm/radeon/radeon_uvd.c