drm/amdgpu: initialize reg base for navi12

Set up the register offset map for navi12.

Signed-off-by: Xiaojie Yuan <xiaojie.yuan@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Xiaojie Yuan
2019-05-14 15:22:53 +08:00
committed by Alex Deucher
parent 6d62290328
commit 03d0a073cf
4 changed files with 58 additions and 1 deletions

View File

@@ -386,6 +386,9 @@ int nv_set_ip_blocks(struct amdgpu_device *adev)
case CHIP_NAVI14:
navi14_reg_base_init(adev);
break;
case CHIP_NAVI12:
navi12_reg_base_init(adev);
break;
default:
return -EINVAL;
}