From: Xiaojian Du <[email protected]>

These helpers will be used on NBIO v7.7.0.

Signed-off-by: Xiaojian Du <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
---
 drivers/gpu/drm/amd/amdgpu/soc21.c | 2 ++
 1 file changed, 2 insertions(+)

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;
-- 
2.35.1

Reply via email to