]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: increase max instance number for hw ip
authorXiaojie Yuan <xiaojie.yuan@amd.com>
Tue, 25 Dec 2018 06:44:23 +0000 (14:44 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:17:58 +0000 (14:17 -0500)
commit2c74e89a0869ffee0314c3b5cf14d07ab5eda8ba
treeb056c3854606fa6d2d83aa3176e6adc7821f224b
parent5c4533c1861d7f2f2fd85567f1b2f2c75baaeb66
drm/amdgpu: increase max instance number for hw ip

max instance number is 6 for navi10 and 7 for navi14, and we increase the
reg_offset array size to avoid out-of-bound access

Signed-off-by: Xiaojie Yuan <xiaojie.yuan@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h