OSDN Git Service

drm/amdgpu: Update XGMI node print
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Mon, 3 Dec 2018 20:00:39 +0000 (15:00 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 4 Dec 2018 19:37:23 +0000 (14:37 -0500)
commit5d66ef38bc9df8964ec7b6eb5091dae5e8fe67b4
tree8742fa05cb328e0023962da1b24695f318599b20
parentd4535e2c018bba71b49edeb5e396183920f5d341
drm/amdgpu: Update XGMI node print

amdgpu_xgmi_update_topology is called both on device registration
and reset. Fix misleading print since the device is added only once to
the hive on registration and not on reset.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c