drm/amdgpu: Add pcie usage callback to nbio
authorAsad Kamal <asad.kamal@amd.com>
Fri, 28 Jul 2023 09:58:54 +0000 (17:58 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 9 Aug 2023 13:46:05 +0000 (09:46 -0400)
commit8d759dc6644df4141a151293cb0e77fd8ca379ed
tree0066fcb8ea23c8afb46ff95c68e1e06ea548ca3e
parentbc0f80802d735950738167e2cc0b51b0dd41e68d
drm/amdgpu: Add pcie usage callback to nbio

Add a callback in nbio to get pcie usage

Signed-off-by: Asad Kamal <asad.kamal@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Shiwu Zhang <shiwu.zhang@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.c
drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h