]> 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)
commita13bbb7fa12159aa1b74eacd0e27e8adc80846aa
tree19f7ce488cff30bc0e9d198fff7970a78dfb0fa4
parent820741b3b98a9c5e2a7567d05283ce2fa2a910d4
drm/amdgpu: make UVD handle checking more strict

Invalid messages can crash the hw otherwise

Ported from radeon commit 23d4b29328476b35551961584a6096908772b251

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