]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf299f14113e3efc65bc1bf4b2d73b66b53c38cd6
treeaaaef9761c70c8948d10368e621974e973f3daf5
parent4cf078fca80c1cd2fe0e010a8cae572f147cec99
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