]> git.karo-electronics.de Git - linux-beck.git/commit
drm/amdgpu: fix signed overrun in amdgpu_ctx_get_fence
authorChristian König <christian.koenig@amd.com>
Sat, 18 Jul 2015 17:20:05 +0000 (19:20 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 17 Aug 2015 20:50:15 +0000 (16:50 -0400)
commitcf6f1d39496e9b5dd62953f8dca9f995d80ab4ff
tree2e5f5e548bac01b290c8d3bcd6c539875d401e7e
parentcdecb65b4eaba1d45abbfe34b724664f65623531
drm/amdgpu: fix signed overrun in amdgpu_ctx_get_fence

Otherwise the first 16 fences of a context will always signal immediately.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c