drm/amdgpu/soc15: initialize reg base for vega12
authorHawking Zhang <Hawking.Zhang@amd.com>
Mon, 12 Mar 2018 10:25:15 +0000 (18:25 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Mar 2018 19:36:53 +0000 (14:36 -0500)
Initialize the IP offsets for vega12.

Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Hawking Zhang <Hawking.Zhang@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 e308c3c6ca4f7ed4913ad7ce41080a13853435e1..51cf8a30f6c29f4073255999dcdbd619192187bd 100644 (file)
@@ -508,6 +508,7 @@ int soc15_set_ip_blocks(struct amdgpu_device *adev)
        /* Set IP register base before any HW register access */
        switch (adev->asic_type) {
        case CHIP_VEGA10:
+       case CHIP_VEGA12:
        case CHIP_RAVEN:
                vega10_reg_base_init(adev);
                break;