Skip to content

Commit

Permalink
hsa/radeon: Add local memory to topology
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Skidanov <Alexey.Skidanov@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
  • Loading branch information
Alexey Skidanov authored and Oded Gabbay committed Jun 26, 2014
1 parent 40ad38e commit c0ec80b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/gpu/hsa/radeon/kfd_topology.c
Original file line number Diff line number Diff line change
Expand Up @@ -714,6 +714,8 @@ static ssize_t node_show(struct kobject *kobj, struct attribute *attr,
sysfs_show_32bit_prop(buffer, "max_engine_clk_fcompute",
kfd2kgd->get_max_engine_clock_in_mhz(
dev->gpu->kgd));
sysfs_show_64bit_prop(buffer, "local_mem_size",
kfd2kgd->get_vmem_size(dev->gpu->kgd));
ret = sysfs_show_32bit_prop(buffer, "max_engine_clk_ccompute",
cpufreq_quick_get_max(0)/1000);
}
Expand Down

0 comments on commit c0ec80b

Please sign in to comment.