mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-07 23:28:55 +00:00
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>
This commit is contained in:
parent
0c0fdf1439
commit
7129d3ae9d
1 changed files with 1 additions and 1 deletions
|
@ -662,7 +662,7 @@ static int amdgpu_uvd_cs_msg(struct amdgpu_uvd_cs_ctx *ctx,
|
||||||
}
|
}
|
||||||
|
|
||||||
DRM_ERROR("No more free UVD handles!\n");
|
DRM_ERROR("No more free UVD handles!\n");
|
||||||
return -EINVAL;
|
return -ENOSPC;
|
||||||
|
|
||||||
case 1:
|
case 1:
|
||||||
/* it's a decode msg, calc buffer sizes */
|
/* it's a decode msg, calc buffer sizes */
|
||||||
|
|
Loading…
Add table
Reference in a new issue