From: Oak Zeng Date: Wed, 19 Dec 2018 14:44:38 +0000 (-0600) Subject: drm/amdgpu: Initialize asic functions for Arcturus X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7f40581c2e468f7180de7b95e53fbbc9f64682aa;p=openwrt%2Fstaging%2Fblogic.git drm/amdgpu: Initialize asic functions for Arcturus After cherry-picking doorbell rework changes from drm-next branch, Arcturus asic functions pointer need to be initialized to init doorbell index for Arcturus. Signed-off-by: Oak Zeng Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c index 54d407f0d04f..8b17eeed09ad 100644 --- a/drivers/gpu/drm/amd/amdgpu/soc15.c +++ b/drivers/gpu/drm/amd/amdgpu/soc15.c @@ -1012,6 +1012,7 @@ static int soc15_common_early_init(void *handle) AMD_PG_SUPPORT_RLC_SMU_HS; break; case CHIP_ARCTURUS: + adev->asic_funcs = &vega20_asic_funcs; adev->cg_flags = 0; adev->pg_flags = 0; break;