]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drm/amdgpu: add asic funcs for renoir
authorAaron Liu <aaron.liu@amd.com>
Mon, 8 Apr 2019 05:14:28 +0000 (13:14 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 12 Aug 2019 17:47:50 +0000 (12:47 -0500)
add asic funcs for renoir, init soc15_asic_funcs

Acked-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Aaron Liu <aaron.liu@amd.com>
Reviewed-by: Huang Rui <ray.huang@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 6caeb49b9c02a69aea85f51ac018044395f5ff9d..5816ebfbe199d15f4c56efb7e80f629d60aed546 100644 (file)
@@ -1144,6 +1144,7 @@ static int soc15_common_early_init(void *handle)
                adev->external_rev_id = adev->rev_id + 0x32;
                break;
        case CHIP_RENOIR:
+               adev->asic_funcs = &soc15_asic_funcs;
                adev->cg_flags = 0;
                adev->pg_flags = 0;
                adev->external_rev_id = adev->rev_id + 0x91;