Re: [PATCH 3/6] drm/amdgpu: Flush VM updates for split bindings eagerly.

2023-11-05 Thread Tatsuyuki Ishi
> On Oct 31, 2023, at 23:07, Christian König wrote: > > Am 31.10.23 um 14:59 schrieb Bas Nieuwenhuizen: >> >> >> On Tue, Oct 31, 2023 at 2:57 PM Christian König > > wrote: >>> Am 31.10.23 um 14:40 schrieb Tatsuyuki Ishi: >>> > The current amdgpu_gem_va_update_v

[PATCH] drm/amdkfd: Skip locking KFD when unbinding GPU

2023-11-05 Thread Lawrence Yiu
After unbinding a GPU, KFD becomes locked and unusable, resulting in applications not being able to use ROCm for compute anymore and rocminfo outputting the following error message: ROCk module is loaded Unable to open /dev/kfd read-write: Invalid argument KFD remains locked even after rebinding

Re: [PATCH v2] drm/amd/pm: Move some functions to smu_v13_0.c as generic code

2023-11-05 Thread Wang, Yang(Kevin)
[AMD Official Use Only - General] Reviewed-by: Yang Wang Best Regards, Kevin From: Ma, Jun Sent: Monday, November 6, 2023 09:59 To: amd-gfx@lists.freedesktop.org ; Feng, Kenneth ; Deucher, Alexander ; Wang, Yang(Kevin) Cc: Ma, Jun Subject: [PATCH v2] drm/amd

RE: [PATCH] drm/amdgpu: Fix sdma 4.4.2 doorbell rptr/wptr init

2023-11-05 Thread Kamal, Asad
[AMD Official Use Only - General] Reviewed-by: Asad Kamal Tested-by: Asad Kamal Thanks & Regards Asad -Original Message- From: Lazar, Lijo Sent: Monday, November 6, 2023 9:51 AM To: amd-gfx@lists.freedesktop.org Cc: Zhang, Hawking ; Deucher, Alexander ; Kamal, Asad ; Ma, Le Subject

RE: [PATCH] drm/amdgpu: Fix sdma 4.4.2 doorbell rptr/wptr init

2023-11-05 Thread Ma, Le
[AMD Official Use Only - General] Reviewed-by: Le Ma > -Original Message- > From: Lazar, Lijo > Sent: Monday, November 6, 2023 12:21 PM > To: amd-gfx@lists.freedesktop.org > Cc: Zhang, Hawking ; Deucher, Alexander > ; Kamal, Asad ; Ma, > Le > Subject: [PATCH] drm/amdgpu: Fix sdma 4.4.2

[PATCH] drm/amdgpu: Fix sdma 4.4.2 doorbell rptr/wptr init

2023-11-05 Thread Lijo Lazar
Doorbell rptr/wptr can be set through multiple ways including direct register initialization. Disable doorbell during hw_fini once the ring is disabled so that during next module reload direct initialization takes effect. Also, move the direct initialization after minor update is set to 1 since rpt

[PATCH v2] drm/amd/pm: Move some functions to smu_v13_0.c as generic code

2023-11-05 Thread Ma Jun
Use generic functions and remove the duplicate code Signed-off-by: Ma Jun --- .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c| 38 ++- .../drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 36 +- .../drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 36 +- 3 fi

Re: [PATCH] drm/amd/pm: Move some functions to smu_v13_0.c as generic code

2023-11-05 Thread Ma, Jun
Thanks, will fix it in the next version. Regards, Ma Jun On 11/3/2023 9:31 PM, Wang, Yang(Kevin) wrote: > > -Original Message- > From: Ma, Jun > Sent: Friday, November 3, 2023 4:21 PM > To: amd-gfx@lists.freedesktop.org; Feng, Kenneth ; > Deucher, Alexander ; Wang, Yang(Kevin) > > C

Re: [PATCH v2 6/9] PCI: Rename is_thunderbolt to is_tunneled

2023-11-05 Thread Lukas Wunner
On Fri, Nov 03, 2023 at 02:07:55PM -0500, Mario Limonciello wrote: > The `is_thunderbolt` bit has been used to indicate that a PCIe device > contained the Intel VSEC which is used by various parts of the kernel > to change behavior. To later allow usage with USB4 controllers as well, > rename this