]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drm/amdgpu: Initialize asic functions for Arcturus
authorOak Zeng <Oak.Zeng@amd.com>
Wed, 19 Dec 2018 14:44:38 +0000 (08:44 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:18:03 +0000 (14:18 -0500)
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 <Oak.Zeng@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc15.c

index 54d407f0d04f720e3d1e19752058137d0774da03..8b17eeed09adac58e6b85939ffed8ad48989a264 100644 (file)
@@ -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;