drm/amdgpu: fix sysfs interface pcie_replay_count error on navi asic
authorKevin Wang <kevin1.wang@amd.com>
Tue, 5 Nov 2019 10:53:30 +0000 (18:53 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Nov 2019 23:08:07 +0000 (18:08 -0500)
commit2af8153126e1cdd93891a9edef76fbbd497e90ab
treeaaaef9761c70c8948d10368e621974e973f3daf5
parente31dcdcfabc1694a2af3a418827605092ac6786f
drm/amdgpu: fix sysfs interface pcie_replay_count error on navi asic

the asic callback function of get_pcie_replay_count is not implement on navi asic,
it will cause null pinter error when read this interface.

Signed-off-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Kent Russell <kent.russell@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/nv.c