[PATCH 13/27] drm/amdgpu: add asic funcs for renoir

Alex Deucher alexdeucher at gmail.com
Fri Aug 9 15:52:48 UTC 2019


From: Aaron Liu <aaron.liu at amd.com>

add asic funcs for renoir, init soc15_asic_funcs

Signed-off-by: Aaron Liu <aaron.liu at amd.com>
Reviewed-by: Huang Rui <ray.huang at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
 drivers/gpu/drm/amd/amdgpu/soc15.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
index eec28ef8129a..90b40cc4f6b1 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
@@ -1133,6 +1133,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;
-- 
2.20.1



More information about the amd-gfx mailing list