drm/amdgpu: add pcie port indirect read and write on nv
authorHuang Rui <ray.huang@amd.com>
Thu, 27 Aug 2020 16:01:26 +0000 (12:01 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Oct 2020 19:15:27 +0000 (15:15 -0400)
commit5de54343d5eff6b4dcd077aa3aa8e701b9232317
tree2a3cfc6684f253cc66e63476441185db4136713e
parentb4e532d67821e9ccd1757b6458c72a7d02b107ce
drm/amdgpu: add pcie port indirect read and write on nv

This patch is to add pcie port indirect read/write callback for nv
series. They will be used for new asic.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h
drivers/gpu/drm/amd/amdgpu/nv.c