summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdkfd/kfd_topology.h
diff options
context:
space:
mode:
authorFelix Kuehling <Felix.Kuehling@amd.com>2017-12-08 23:08:56 -0500
committerOded Gabbay <oded.gabbay@gmail.com>2017-12-08 23:08:56 -0500
commit175b926335c9ce30a531b7a162dde055e7182cbe (patch)
tree04671edbbb60ba1a0b5906438509a5f34c8843b7 /drivers/gpu/drm/amd/amdkfd/kfd_topology.h
parent42aa8793d795f18d20be3d5505b39aeffa44a954 (diff)
downloadtalos-obmc-linux-175b926335c9ce30a531b7a162dde055e7182cbe.tar.gz
talos-obmc-linux-175b926335c9ce30a531b7a162dde055e7182cbe.zip
drm/amdkfd: Simplify counting of memory banks
Only count memory banks in one place. Ignore redundant num_banks entry in crat_subtype_computeunit. Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd/kfd_topology.h')
-rw-r--r--drivers/gpu/drm/amd/amdkfd/kfd_topology.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_topology.h b/drivers/gpu/drm/amd/amdkfd/kfd_topology.h
index 0d98b61b3312..17b2d4383bf9 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_topology.h
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_topology.h
@@ -137,7 +137,6 @@ struct kfd_topology_device {
uint32_t gpu_id;
uint32_t proximity_domain;
struct kfd_node_properties node_props;
- uint32_t mem_bank_count;
struct list_head mem_props;
uint32_t cache_count;
struct list_head cache_props;
OpenPOWER on IntegriCloud