drm/amdgpu: skip invalid ip blocks in ip helpers
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 23 Jun 2016 15:53:12 +0000 (11:53 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2016 19:02:04 +0000 (15:02 -0400)
commit9ecbe7f506d36f7dfb7ce06b2c35b252fa6d6ed8
treea7e83dbee3b6728dbe34645ea6e5cb2182f8a71c
parenta225bf1c9ce91bb4284e37773ddf6fab54f66fba
drm/amdgpu: skip invalid ip blocks in ip helpers

Skip IP blocks that are not enabled.

Reviewed-by: Chunming zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c