]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/sdma4: drop allocation of poll_mem_offs
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 28 Jul 2017 23:04:21 +0000 (19:04 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Aug 2017 18:46:04 +0000 (14:46 -0400)
commit4031b904a7dcb3adbe850b5a709776c1ad147ef0
tree2bdc6b2964fedc6603a44ca54eb8da7eb0112400
parent76b7f457e83e0fdfebbe452f2d9dc984c5515da0
drm/amdgpu/sdma4: drop allocation of poll_mem_offs

We already allocate this as part of the ring structure,
use that instead.

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