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)
commit34c3a82b5aa7ddbc26f0d4d7ecec7720d73faed1
tree2bdc6b2964fedc6603a44ca54eb8da7eb0112400
parenta67094432da75d2769e7c35323f26c6873908e6c
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