RE: [PATCH v2 03/23] drm/amdkfd: enable pc sampling query

2023-12-13 Thread Yat Sin, David
[AMD Official Use Only - General] From: Zhu, James Sent: Wednesday, December 13, 2023 10:41 AM To: Yat Sin, David ; Zhu, James ; amd-gfx@lists.freedesktop.org Cc: Kuehling, Felix ; Greathouse, Joseph Subject: Re: [PATCH v2 03/23] drm/amdkfd: enable pc sampling query On 2023-12-12 19:55

RE: [PATCH v2 03/23] drm/amdkfd: enable pc sampling query

2023-12-12 Thread Yat Sin, David
[AMD Official Use Only - General] > -Original Message- > From: Zhu, James > Sent: Thursday, December 7, 2023 5:54 PM > To: amd-gfx@lists.freedesktop.org > Cc: Kuehling, Felix ; Greathouse, Joseph > ; Yat Sin, David ; > Zhu, James > Subject: [PATCH v2 03/2

RE: [PATCH] drm/amdkfd: Copy HW exception data to user event

2023-11-17 Thread Yat Sin, David
[AMD Official Use Only - General] Thanks Eric. The CI builds also detected the wrong use of spaces. So I fixed the tabs with spaces in the patch that I submitted. ~David > -Original Message- > From: amd-gfx On Behalf Of Eric > Huang > Sent: Friday, November 17, 2023 2:50 PM > To:

RE: [PATCH 19/24] drm/amdkfd: enable pc sampling stop

2023-11-13 Thread Yat Sin, David
[AMD Official Use Only - General] From: Zhu, James Sent: Monday, November 13, 2023 10:20 AM To: Yat Sin, David ; Zhu, James ; amd-gfx@lists.freedesktop.org Cc: Kuehling, Felix ; Greathouse, Joseph Subject: Re: [PATCH 19/24] drm/amdkfd: enable pc sampling stop On 2023-11-10 14:07, Yat Sin

RE: [PATCH 22/24] drm/amdkfd: add pc sampling release when process release

2023-11-13 Thread Yat Sin, David
[AMD Official Use Only - General] From: Zhu, James Sent: Monday, November 13, 2023 10:13 AM To: Yat Sin, David ; Zhu, James ; amd-gfx@lists.freedesktop.org Cc: Kuehling, Felix ; Greathouse, Joseph Subject: Re: [PATCH 22/24] drm/amdkfd: add pc sampling release when process release

RE: [PATCH 07/24] drm/amdkfd: check pcs_enrty valid

2023-11-10 Thread Yat Sin, David
[AMD Official Use Only - General] > -Original Message- > From: Zhu, James > Sent: Friday, November 3, 2023 9:11 AM > To: amd-gfx@lists.freedesktop.org > Cc: Kuehling, Felix ; Greathouse, Joseph > ; Yat Sin, David ; Zhu, > James > Subject: [PATCH 07/24] drm/amdkf

RE: [PATCH 10/24] drm/amdkfd: trigger pc sampling trap for gfx v9

2023-11-10 Thread Yat Sin, David
[AMD Official Use Only - General] > -Original Message- > From: Zhu, James > Sent: Friday, November 3, 2023 9:11 AM > To: amd-gfx@lists.freedesktop.org > Cc: Kuehling, Felix ; Greathouse, Joseph > ; Yat Sin, David ; Zhu, > James > Subject: [PATCH 10/24] drm/amd

RE: [PATCH 15/24] drm/amdkfd: trigger pc sampling trap for aldebaran

2023-11-10 Thread Yat Sin, David
[AMD Official Use Only - General] I would merge this with patch 14 of the series > -Original Message- > From: Zhu, James > Sent: Friday, November 3, 2023 9:12 AM > To: amd-gfx@lists.freedesktop.org > Cc: Kuehling, Felix ; Greathouse, Joseph > ; Yat Sin, David ; Zhu,

RE: [PATCH 16/24] drm/amdkfd: use bit operation set debug trap

2023-11-10 Thread Yat Sin, David
[AMD Official Use Only - General] > -Original Message- > From: Zhu, James > Sent: Friday, November 3, 2023 9:12 AM > To: amd-gfx@lists.freedesktop.org > Cc: Kuehling, Felix ; Greathouse, Joseph > ; Yat Sin, David ; Zhu, > James > Subject: [PATCH 16/24] drm/amdkf

RE: [PATCH 22/24] drm/amdkfd: add pc sampling release when process release

2023-11-10 Thread Yat Sin, David
[AMD Official Use Only - General] > -Original Message- > From: Zhu, James > Sent: Friday, November 3, 2023 9:12 AM > To: amd-gfx@lists.freedesktop.org > Cc: Kuehling, Felix ; Greathouse, Joseph > ; Yat Sin, David ; Zhu, > James > Subject: [PATCH 22/24] drm

RE: [PATCH 13/24] drm/amdgpu: add sq host trap status check

2023-11-10 Thread Yat Sin, David
[AMD Official Use Only - General] > -Original Message- > From: Zhu, James > Sent: Friday, November 3, 2023 9:11 AM > To: amd-gfx@lists.freedesktop.org > Cc: Kuehling, Felix ; Greathouse, Joseph > ; Yat Sin, David ; Zhu, > James > Subject: [PATCH 13/24] drm/

RE: [PATCH 17/24] drm/amdkfd: add setting trap pc sampling flag

2023-11-10 Thread Yat Sin, David
[AMD Official Use Only - General] I would recommend merging this with patch 16, but up to you. > -Original Message- > From: Zhu, James > Sent: Friday, November 3, 2023 9:12 AM > To: amd-gfx@lists.freedesktop.org > Cc: Kuehling, Felix ; Greathouse, Joseph > ; Ya

RE: [PATCH 19/24] drm/amdkfd: enable pc sampling stop

2023-11-10 Thread Yat Sin, David
[AMD Official Use Only - General] > -Original Message- > From: Zhu, James > Sent: Friday, November 3, 2023 9:12 AM > To: amd-gfx@lists.freedesktop.org > Cc: Kuehling, Felix ; Greathouse, Joseph > ; Yat Sin, David ; Zhu, > James > Subject: [PATCH 19/24] drm/am

RE: [PATCH 03/24] drm/amdkfd: enable pc sampling query

2023-11-10 Thread Yat Sin, David
[AMD Official Use Only - General] > -Original Message- > From: Zhu, James > Sent: Friday, November 3, 2023 9:11 AM > To: amd-gfx@lists.freedesktop.org > Cc: Kuehling, Felix ; Greathouse, Joseph > ; Yat Sin, David ; Zhu, > James > Subject: [PATCH 03/24] drm/am

RE: [PATCH v3] drm/amdgpu: Add EXT_COHERENT memory allocation flags

2023-09-06 Thread Yat Sin, David
[AMD Official Use Only - General] Reviewed-by: David Yat Sin > -Original Message- > From: Kuehling, Felix > Sent: Friday, July 28, 2023 4:00 PM > To: Francis, David ; amd-gfx@lists.freedesktop.org; > Yat Sin, David > Subject: Re: [PATCH v3] drm/amdgpu: Add E

RE: [PATCH v5 3/5] drm/amdkfd: set activated flag true when event age unmatchs

2023-06-12 Thread Yat Sin, David
different threads. @Zhu, James Would you have time to look into this? ~David > -Original Message- > From: Kuehling, Felix > Sent: Friday, June 9, 2023 6:44 PM > To: Zhu, James ; amd-gfx@lists.freedesktop.org > Cc: Yat Sin, David ; Zhu, James > > Subject: Re: [PAT

RE: [PATCH v2 2/2] drm/amdkfd: CRIU add support for GWS queues

2022-04-19 Thread Yat Sin, David
> -Original Message- > From: Paul Menzel > Sent: Tuesday, April 19, 2022 2:54 AM > To: Yat Sin, David > Cc: Kuehling, Felix ; amd- > g...@lists.freedesktop.org > Subject: Re: [PATCH v2 2/2] drm/amdkfd: CRIU add support for GWS queues > > > Dear David,

RE: [PATCH v2 2/2] drm/amdkfd: CRIU add support for GWS queues

2022-04-18 Thread Yat Sin, David
> -Original Message- > From: Paul Menzel > Sent: Monday, April 18, 2022 4:23 PM > To: Yat Sin, David > Cc: amd-gfx@lists.freedesktop.org; Kuehling, Felix > > Subject: Re: [PATCH v2 2/2] drm/amdkfd: CRIU add support for GWS queues > > Dear David, >

RE: [PATCH 1/2] drm/amdkfd: Fix GWS queue count

2022-04-14 Thread Yat Sin, David
> -Original Message- > From: Kuehling, Felix > Sent: Thursday, April 14, 2022 11:42 AM > To: Yat Sin, David ; amd-gfx@lists.freedesktop.org > Subject: Re: [PATCH 1/2] drm/amdkfd: Fix GWS queue count > > > Am 2022-04-14 um 11:08 schrieb Yat Sin, David: &g

RE: [PATCH 1/2] drm/amdkfd: Fix GWS queue count

2022-04-14 Thread Yat Sin, David
> -Original Message- > From: Kuehling, Felix > Sent: Thursday, April 14, 2022 10:52 AM > To: Yat Sin, David ; amd-gfx@lists.freedesktop.org > Subject: Re: [PATCH 1/2] drm/amdkfd: Fix GWS queue count > > > Am 2022-04-13 um 11:51 schrieb David Yat Sin: > >

RE: [RFC] Add KFD available memory ioctl thunk support

2022-03-22 Thread Yat Sin, David
> -Original Message- > From: amd-gfx On Behalf Of Daniel > Phillips > Sent: Tuesday, March 22, 2022 1:29 PM > To: amd-gfx@lists.freedesktop.org > Cc: Kuehling, Felix > Subject: [RFC] Add KFD available memory ioctl thunk support > > Hi all, > > This patch adds thunk support for the

RE: amd-gfx Digest, Vol 70, Issue 199

2022-03-16 Thread Yat Sin, David
> > Use proper amdgpu_gem_prime_import function to handle all kinds of > imports. Remember the dmabuf reference to enable proper multi-GPU > attachment to multiple VMs without erroneously re-exporting the underlying > BO multiple times. > > Signed-off-by: Felix Kuehling > --- >

RE: [PATCH v2] drm/amdkfd: CRIU export dmabuf handles for GTT BOs

2022-03-09 Thread Yat Sin, David
This is the link to the user mode change: https://github.com/checkpoint-restore/criu/pull/1709 Regards, David > -Original Message- > From: Kuehling, Felix > Sent: Tuesday, March 8, 2022 4:20 PM > To: Yat Sin, David ; amd-gfx@lists.freedesktop.org; > dri-de...@lists.

RE: [bug report] drm/amdkfd: CRIU checkpoint and restore queue mqds

2022-02-18 Thread Yat Sin, David
Hi Dan, Thank you for catching this. I will look into it and post a patch. Regards, David -Original Message- From: Dan Carpenter Sent: Friday, February 18, 2022 2:30 AM To: Yat Sin, David Cc: amd-gfx@lists.freedesktop.org; dri-de...@lists.freedesktop.org Subject: [bug report] drm

RE: [Patch v5 15/24] drm/amdkfd: CRIU implement gpu_id remapping

2022-02-03 Thread Yat Sin, David
One nit pick. Regards, David @@ -673,15 +693,19 @@ static int kfd_ioctl_dbg_address_watch(struct file *filep, memset((void *) _info, 0, sizeof(struct dbg_address_watch_info)); - dev = kfd_device_by_id(args->gpu_id); - if (!dev) + mutex_lock(>mutex); + pdd =