From: Le Ma Date: Tue, 9 Jul 2019 14:20:24 +0000 (-0500) Subject: drm/amdgpu: increase max number of ip base instances to 8 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=113b47e78067db00cc449b6666916715d02ed01c;p=linux.git drm/amdgpu: increase max number of ip base instances to 8 For Arcturus, the number of IP base instances is 8. Signed-off-by: Le Ma Acked-by: Snow Zhang < Snow.Zhang@amd.com> Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index ceb725a571a71..c4e04d14a1ee9 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h @@ -737,7 +737,7 @@ enum amd_hw_ip_block_type { MAX_HWIP }; -#define HWIP_MAX_INSTANCE 7 +#define HWIP_MAX_INSTANCE 8 struct amd_powerplay { void *pp_handle;