drm/amdgpu: return -ENOSPC when running out of UVD handles
authorChristian König <christian.koenig@amd.com>
Wed, 13 Jul 2016 19:24:59 +0000 (21:24 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 14 Jul 2016 20:46:08 +0000 (16:46 -0400)
commit7129d3ae9dcffd7ad849b533b4a863a7f13cbb1b
treed0a8f1b74faea63fd459d7593d6813a55e7ad53e
parent0c0fdf143926d830e3cf1fc43c59f462a0cf725e
drm/amdgpu: return -ENOSPC when running out of UVD handles

This is a minor interface change, but clearly won't break anything.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c