drm/amdgpu: make VCE handle check more strict
authorChristian König <christian.koenig@amd.com>
Thu, 11 Jun 2015 19:33:55 +0000 (21:33 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 29 Jun 2015 15:21:47 +0000 (11:21 -0400)
commit2f4b936869e6432a3361217da7e071d4c0c662f6
treefe803f51009c23e6f52c4fcd6af993c82999ee7b
parentf1689ec1b0b1256d0e69653cd4aaeee44aafdf5c
drm/amdgpu: make VCE handle check more strict

Port of radeon commit 29c63fe22a17c64e54016040cd882481bd45ee5a.

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