Re: [PATCH 3/3] drm/amd/amdkfd: Surface files in Sysfs to allow users to get number of compute units that are in use.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 2020-09-17 1:11 p.m., Ramesh Errabolu wrote:
+	if (pdd->qpd.queue_count == 0) {
+		pr_info("%s: Gpu-Id: %d has no active queues for process %d\n",
+			__func__, dev->id, proc->pasid);

pr_debug can be dynamically enabled in dmesg if needed, pr_info will always show in dmesg.

pr_debug("Gpu-Id: %d has no active queues for process %d\n",

		dev->id, proc->pasid);

Philip

+		return snprintf(buffer, PAGE_SIZE, "%d\n", cu_cnt);
_______________________________________________
amd-gfx mailing list
amd-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/amd-gfx



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux