]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: make UVD handle checking more strict
authorLeo Liu <leo.liu@amd.com>
Tue, 15 Sep 2015 14:38:38 +0000 (10:38 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Sep 2015 21:23:40 +0000 (17:23 -0400)
commita73da6dab01e1e313492d8d2c4f9979c1ff04173
tree19f7ce488cff30bc0e9d198fff7970a78dfb0fa4
parent2bf80edb97d9da7dc95c8c7cddeb02627caa68e1
drm/amdgpu: make UVD handle checking more strict

Invalid messages can crash the hw otherwise

Ported from radeon commit e59f7aeda7583ce2d7ae3da6e665924391c5dbab

Signed-off-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c