drm/amdgpu: Don't compared ip_block_type with ip_block_index
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 14 Mar 2018 07:38:48 +0000 (15:38 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Mar 2018 14:57:41 +0000 (09:57 -0500)
commit5b2a3d2c153eb49343091e5394201d4f7e5554ed
treee3b0559dc47964405a2c47e0f3a179d7809c35ba
parent5771632723aea8a7c994846b084bdb44000f82e6
drm/amdgpu: Don't compared ip_block_type with ip_block_index

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c