Re: [PATCH] drm/amdkfd: Use gpu_offset for user queue's wptr

2023-09-18 Thread Felix Kuehling
, Felix Sent: Friday, September 15, 2023 10:54 PM To: Koenig, Christian ; Wang, YuBiao ; amd-gfx@lists.freedesktop.org; Sharma, Shashank Cc: Chen, Horace ; Tuikov, Luben ; Deucher, Alexander ; Zhang, Hawking ; Liu, Monk ; Xu, Feifei ; Kevin Wang Subject: Re: [PATCH] drm/amdkfd: Use gpu_offset

Re: [PATCH] drm/amdkfd: Use gpu_offset for user queue's wptr

2023-09-18 Thread Christian König
Am 15.09.23 um 16:53 schrieb Felix Kuehling: On 2023-09-15 2:50, Christian König wrote: Am 15.09.23 um 04:52 schrieb YuBiao Wang: Directly use tbo's start address will miss the domain start offset. Need to use gpu_offset instead. Signed-off-by: YuBiao Wang Felix and/or Shashank should

RE: [PATCH] drm/amdkfd: Use gpu_offset for user queue's wptr

2023-09-17 Thread Wang, YuBiao
; Sharma, Shashank Cc: Chen, Horace ; Tuikov, Luben ; Deucher, Alexander ; Zhang, Hawking ; Liu, Monk ; Xu, Feifei ; Kevin Wang Subject: Re: [PATCH] drm/amdkfd: Use gpu_offset for user queue's wptr On 2023-09-15 2:50, Christian König wrote: > Am 15.09.23 um 04:52 schrieb YuBiao W

Re: [PATCH] drm/amdkfd: Use gpu_offset for user queue's wptr

2023-09-15 Thread Felix Kuehling
On 2023-09-15 2:50, Christian König wrote: Am 15.09.23 um 04:52 schrieb YuBiao Wang: Directly use tbo's start address will miss the domain start offset. Need to use gpu_offset instead. Signed-off-by: YuBiao Wang Felix and/or Shashank should probably take a look as well, but of hand that

Re: [PATCH] drm/amdkfd: Use gpu_offset for user queue's wptr

2023-09-15 Thread Christian König
Am 15.09.23 um 04:52 schrieb YuBiao Wang: Directly use tbo's start address will miss the domain start offset. Need to use gpu_offset instead. Signed-off-by: YuBiao Wang Felix and/or Shashank should probably take a look as well, but of hand that looks like the correct fix. Reviewed-by:

[PATCH] drm/amdkfd: Use gpu_offset for user queue's wptr

2023-09-14 Thread YuBiao Wang
Directly use tbo's start address will miss the domain start offset. Need to use gpu_offset instead. Signed-off-by: YuBiao Wang --- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git