diff options
author | Xiaojian Du <Xiaojian.Du@amd.com> | 2022-01-19 15:09:54 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-05-06 10:36:13 -0400 |
commit | bafd6cbe4add7427687da1001d78aab937c990ce (patch) | |
tree | ff6512916fb3265e1979ea7ffb74e71dd9f2039b /drivers | |
parent | 4debe753953f20325b1d8a5e0958c0d38c9fd32f (diff) | |
download | linux-bafd6cbe4add7427687da1001d78aab937c990ce.tar.bz2 |
drm/amdgpu: add pcie port function helpers for SOC21
These helpers will be used on NBIO v7.7.0.
Signed-off-by: Xiaojian Du <Xiaojian.Du@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/soc21.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc21.c b/drivers/gpu/drm/amd/amdgpu/soc21.c index 29acc5573f56..9424020c0634 100644 --- a/drivers/gpu/drm/amd/amdgpu/soc21.c +++ b/drivers/gpu/drm/amd/amdgpu/soc21.c @@ -511,6 +511,8 @@ static int soc21_common_early_init(void *handle) adev->pcie_wreg = &soc21_pcie_wreg; adev->pcie_rreg64 = &soc21_pcie_rreg64; adev->pcie_wreg64 = &soc21_pcie_wreg64; + adev->pciep_rreg = amdgpu_device_pcie_port_rreg; + adev->pciep_wreg = amdgpu_device_pcie_port_wreg; /* TODO: will add them during VCN v2 implementation */ adev->uvd_ctx_rreg = NULL; |