Commit d3a37634 authored by Alex Deucher's avatar Alex Deucher

drm/amdgpu: drop navi pcie bw callback

It's not implemented yet so just drop it so the sysfs
pcie bw file returns an appropriate error instead of
garbage.
Reviewed-by: default avatarYong Zhao <Yong.Zhao@amd.com>
Reviewed-By: default avatarKent Russell <kent.russell@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent d08d692e
...@@ -548,13 +548,6 @@ static bool nv_need_full_reset(struct amdgpu_device *adev) ...@@ -548,13 +548,6 @@ static bool nv_need_full_reset(struct amdgpu_device *adev)
return true; return true;
} }
static void nv_get_pcie_usage(struct amdgpu_device *adev,
uint64_t *count0,
uint64_t *count1)
{
/*TODO*/
}
static bool nv_need_reset_on_init(struct amdgpu_device *adev) static bool nv_need_reset_on_init(struct amdgpu_device *adev)
{ {
#if 0 #if 0
...@@ -629,7 +622,6 @@ static const struct amdgpu_asic_funcs nv_asic_funcs = ...@@ -629,7 +622,6 @@ static const struct amdgpu_asic_funcs nv_asic_funcs =
.invalidate_hdp = &nv_invalidate_hdp, .invalidate_hdp = &nv_invalidate_hdp,
.init_doorbell_index = &nv_init_doorbell_index, .init_doorbell_index = &nv_init_doorbell_index,
.need_full_reset = &nv_need_full_reset, .need_full_reset = &nv_need_full_reset,
.get_pcie_usage = &nv_get_pcie_usage,
.need_reset_on_init = &nv_need_reset_on_init, .need_reset_on_init = &nv_need_reset_on_init,
.get_pcie_replay_count = &nv_get_pcie_replay_count, .get_pcie_replay_count = &nv_get_pcie_replay_count,
.supports_baco = &nv_asic_supports_baco, .supports_baco = &nv_asic_supports_baco,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment