amdkfd: Fixing topology bug in building sysfs nodes
authorBen Goz <ben.goz@amd.com>
Tue, 2 Dec 2014 14:41:08 +0000 (16:41 +0200)
committerOded Gabbay <oded.gabbay@amd.com>
Tue, 2 Dec 2014 14:41:08 +0000 (16:41 +0200)
commit8dfead6c2836621bd878626ae841fc55259b2523
tree0edb46318c7e449ebf2740bf803a16d8b5814dc2
parentb6ffbab813cfc535db5c3815b4eb16dd7d97197c
amdkfd: Fixing topology bug in building sysfs nodes

Original code sent always 0 as the index number of the node. This patch fixes
this bug by sending a variable which is incremented per node.

Signed-off-by: Ben Goz <ben.goz@amd.com>
Reviewed-by: Oded Gabbay <oded.gabbay@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_topology.c