drm/amdgpu: allocate ip_block_enabled memory in common code
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 26 Jun 2015 17:02:57 +0000 (13:02 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 29 Jun 2015 15:21:52 +0000 (11:21 -0400)
commitd8d090b711bc56e095e59f9b536ed3c73c47b36d
tree9b236de7f5be2d862c8fcc660dbb15c36c6646e8
parenta08c1d516fb3eb302ff14a10eedda844e75c625f
drm/amdgpu: allocate ip_block_enabled memory in common code

Remove duplication across asic families and make it symmetric
with the freeing of the code in amdgpu_device.c

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/cik.c
drivers/gpu/drm/amd/amdgpu/vi.c