All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Yadav, Arvind" <arvyadav@amd.com>
To: Prike Liang <Prike.Liang@amd.com>
Cc: Alexander.Deucher@amd.com,
	"Christian König" <christian.koenig@amd.com>,
	amd-gfx@lists.freedesktop.org
Subject: Re: [PATCH 1/3] drm/amdgpu: add the evf attached gem obj resv dump
Date: Tue, 22 Apr 2025 19:12:53 +0530	[thread overview]
Message-ID: <fa730c3d-0c83-7fa1-d631-cdf6383e7cad@amd.com> (raw)
In-Reply-To: <4720bc65-7c42-4924-841e-277782290eea@amd.com>

Reviewed-by: Arvind Yadav <Arvind.Yadav@amd.com>

On 4/22/2025 7:06 PM, Christian König wrote:
> Am 22.04.25 um 15:23 schrieb Prike Liang:
>> This debug dump will help on debugging the evf attached gem obj fence
>> related issue.
>>
>> Signed-off-by: Prike Liang <Prike.Liang@amd.com>
> Reviewed-by: Christian König <christian.koenig@amd.com> for both patches.
>
>> ---
>>   drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 6 +++++-
>>   1 file changed, 5 insertions(+), 1 deletion(-)
>>
>> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
>> index d09db052e282..1e73ce30d4d7 100644
>> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
>> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
>> @@ -1675,7 +1675,11 @@ u64 amdgpu_bo_print_info(int id, struct amdgpu_bo *bo, struct seq_file *m)
>>   	amdgpu_bo_print_flag(m, bo, VRAM_CONTIGUOUS);
>>   	amdgpu_bo_print_flag(m, bo, VM_ALWAYS_VALID);
>>   	amdgpu_bo_print_flag(m, bo, EXPLICIT_SYNC);
>> -
>> +	/* Add the gem obj resv fence dump*/
>> +	if (dma_resv_trylock(bo->tbo.base.resv)) {
>> +		dma_resv_describe(bo->tbo.base.resv, m);
>> +		dma_resv_unlock(bo->tbo.base.resv);
>> +	}
>>   	seq_puts(m, "\n");
>>   
>>   	return size;

      reply	other threads:[~2025-04-22 13:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-22 13:23 [PATCH 1/3] drm/amdgpu: add the evf attached gem obj resv dump Prike Liang
2025-04-22 13:23 ` [PATCH 2/3] drm/amdgpu: set the evf name to identify the userq case Prike Liang
2025-04-22 13:26   ` Yadav, Arvind
2025-04-22 13:36 ` [PATCH 1/3] drm/amdgpu: add the evf attached gem obj resv dump Christian König
2025-04-22 13:42   ` Yadav, Arvind [this message]

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=fa730c3d-0c83-7fa1-d631-cdf6383e7cad@amd.com \
    --to=arvyadav@amd.com \
    --cc=Alexander.Deucher@amd.com \
    --cc=Prike.Liang@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=christian.koenig@amd.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.