summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdkfd/kfd_topology.c
diff options
context:
space:
mode:
authorOded Gabbay <oded.gabbay@gmail.com>2016-05-29 08:21:53 +0300
committerOded Gabbay <oded.gabbay@gmail.com>2016-06-03 08:50:40 +0300
commit0fbbbf8b599ff840ff1a3c0cc00dd67ba8a52c9c (patch)
tree4766bb75da013204a85b6f957fb9541713d39f93 /drivers/gpu/drm/amd/amdkfd/kfd_topology.c
parentbc4755a4bd1845ef6e88ac8c62f12e05bb530256 (diff)
downloadblackbird-obmc-linux-0fbbbf8b599ff840ff1a3c0cc00dd67ba8a52c9c.tar.gz
blackbird-obmc-linux-0fbbbf8b599ff840ff1a3c0cc00dd67ba8a52c9c.zip
drm/amdkfd: print once about mem_banks truncation
This print can really spam the kernel log in case we are truncating mem_banks, so just print this info once. It should also not be classified as warning. Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd/kfd_topology.c')
-rw-r--r--drivers/gpu/drm/amd/amdkfd/kfd_topology.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_topology.c b/drivers/gpu/drm/amd/amdkfd/kfd_topology.c
index 74909e72a009..884c96f50c3d 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_topology.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_topology.c
@@ -666,7 +666,7 @@ static ssize_t node_show(struct kobject *kobj, struct attribute *attr,
dev->node_props.simd_count);
if (dev->mem_bank_count < dev->node_props.mem_banks_count) {
- pr_warn("kfd: mem_banks_count truncated from %d to %d\n",
+ pr_info_once("kfd: mem_banks_count truncated from %d to %d\n",
dev->node_props.mem_banks_count,
dev->mem_bank_count);
sysfs_show_32bit_prop(buffer, "mem_banks_count",
OpenPOWER on IntegriCloud