mirror of
https://github.com/torvalds/linux.git
synced 2025-11-03 10:10:33 +02:00
Revert "drm/amdgpu: Add pcie usage callback to nbio"
pcie usage is now handled by fw
This reverts commit 8d759dc664.
Signed-off-by: Asad Kamal <asad.kamal@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
1d55183c2c
commit
c607e76e64
2 changed files with 0 additions and 11 deletions
|
|
@ -53,14 +53,6 @@ u64 amdgpu_nbio_get_pcie_replay_count(struct amdgpu_device *adev)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void amdgpu_nbio_get_pcie_usage(struct amdgpu_device *adev, uint64_t *count0,
|
|
||||||
uint64_t *count1)
|
|
||||||
{
|
|
||||||
if (adev->nbio.funcs->get_pcie_usage)
|
|
||||||
adev->nbio.funcs->get_pcie_usage(adev, count0, count1);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
int amdgpu_nbio_ras_late_init(struct amdgpu_device *adev, struct ras_common_if *ras_block)
|
int amdgpu_nbio_ras_late_init(struct amdgpu_device *adev, struct ras_common_if *ras_block)
|
||||||
{
|
{
|
||||||
int r;
|
int r;
|
||||||
|
|
|
||||||
|
|
@ -102,8 +102,6 @@ struct amdgpu_nbio_funcs {
|
||||||
u32 (*get_memory_partition_mode)(struct amdgpu_device *adev,
|
u32 (*get_memory_partition_mode)(struct amdgpu_device *adev,
|
||||||
u32 *supp_modes);
|
u32 *supp_modes);
|
||||||
u64 (*get_pcie_replay_count)(struct amdgpu_device *adev);
|
u64 (*get_pcie_replay_count)(struct amdgpu_device *adev);
|
||||||
void (*get_pcie_usage)(struct amdgpu_device *adev, uint64_t *count0,
|
|
||||||
uint64_t *count1);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
struct amdgpu_nbio {
|
struct amdgpu_nbio {
|
||||||
|
|
@ -116,7 +114,6 @@ struct amdgpu_nbio {
|
||||||
};
|
};
|
||||||
|
|
||||||
int amdgpu_nbio_ras_sw_init(struct amdgpu_device *adev);
|
int amdgpu_nbio_ras_sw_init(struct amdgpu_device *adev);
|
||||||
void amdgpu_nbio_get_pcie_usage(struct amdgpu_device *adev, uint64_t *count0, uint64_t *count1);
|
|
||||||
int amdgpu_nbio_ras_late_init(struct amdgpu_device *adev, struct ras_common_if *ras_block);
|
int amdgpu_nbio_ras_late_init(struct amdgpu_device *adev, struct ras_common_if *ras_block);
|
||||||
u64 amdgpu_nbio_get_pcie_replay_count(struct amdgpu_device *adev);
|
u64 amdgpu_nbio_get_pcie_replay_count(struct amdgpu_device *adev);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue