drm/amdgpu: Skip pcie_replay_count sysfs creation for VF

[ Upstream commit 9c05636ca7 ]

VFs cannot read the NAK_COUNTER register. This information is only
available through PMFW metrics.

Signed-off-by: Victor Skvortsov <victor.skvortsov@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Victor Skvortsov 2025-03-17 09:32:13 -04:00 • committed by Greg Kroah-Hartman
commit dca76ee1f0