]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: stop using the ring index in the SA
authorChristian König <christian.koenig@amd.com>
Fri, 11 Mar 2016 13:50:08 +0000 (14:50 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 14 Mar 2016 17:43:27 +0000 (13:43 -0400)
commit102c6d0df678492a812b01a46ccdf91e2eccec35
tree70ac872e5d36aa7295186529b5ed95f8d4c7d6b4
parent42fe133c562faad0df0b8331b3404ba3a5b604ff
drm/amdgpu: stop using the ring index in the SA

The ring index will always collide as hash into the fence list, so use
the context number instead. That can still cause collisions, but they
are less likely than using ring indices.

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