AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: philip yang <yangp@amd.com>
To: Ramesh Errabolu <Ramesh.Errabolu@amd.com>, amd-gfx@lists.freedesktop.org
Subject: 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: Fri, 18 Sep 2020 21:06:20 -0400	[thread overview]
Message-ID: <d2118f61-defa-2663-2cd5-e4555b82e357@amd.com> (raw)
In-Reply-To: <20200917171118.2579-1-Ramesh.Errabolu@amd.com>


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@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

  reply	other threads:[~2020-09-19  1:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-17 17:11 [PATCH 3/3] drm/amd/amdkfd: Surface files in Sysfs to allow users to get number of compute units that are in use Ramesh Errabolu
2020-09-19  1:06 ` philip yang [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-09-25 22:03 Ramesh Errabolu
2020-09-28 10:54 ` Russell, Kent

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d2118f61-defa-2663-2cd5-e4555b82e357@amd.com \
    --to=yangp@amd.com \
    --cc=Ramesh.Errabolu@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox