commit | fe9c5c9affc9103686aed15966b4b54acd1f30f8 | [log] [tgz] |
---|---|---|
author | Lijo Lazar <lijo.lazar@amd.com> | Fri Nov 26 14:32:37 2021 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed Dec 01 16:04:10 2021 -0500 |
tree | 99b4ac770468a60de97f01fa00e7eb0078499fd6 | |
parent | 3700169886659e678fe37629ffcaacd6e559655a [diff] |
drm/amdgpu: Use MAX_HWIP instead of HW_ID_MAX HW_ID_MAX considers HWID of all IPs, far more than what amdgpu uses. amdgpu tracks only the IPs defined by amd_hw_ip_block_type whose max is MAX_HWIP. Signed-off-by: Lijo Lazar <lijo.lazar@amd.com> Reviewed-by: Guchun Chen <guchun.chen@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>