Re: [PATCH 11/16] drm/amdgpu: get absolute offset from doorbell index

2023-03-30 Thread Shashank Sharma
On 30/03/2023 19:18, Luben Tuikov wrote: On 2023-03-29 11:47, Shashank Sharma wrote: This patch adds a helper function which converts a doorbell's relative index in a BO to an absolute doorbell offset in the doorbell BAR. Cc: Alex Deucher Cc: Christian Koenig Signed-off-by: Shashank Sharma

Re: [PATCH 11/16] drm/amdgpu: get absolute offset from doorbell index

2023-03-30 Thread Luben Tuikov
On 2023-03-29 11:47, Shashank Sharma wrote: > This patch adds a helper function which converts a doorbell's > relative index in a BO to an absolute doorbell offset in the > doorbell BAR. > > Cc: Alex Deucher > Cc: Christian Koenig > Signed-off-by: Shashank Sharma > --- > drivers/gpu/drm/amd/am

[PATCH 11/16] drm/amdgpu: get absolute offset from doorbell index

2023-03-29 Thread Shashank Sharma
This patch adds a helper function which converts a doorbell's relative index in a BO to an absolute doorbell offset in the doorbell BAR. Cc: Alex Deucher Cc: Christian Koenig Signed-off-by: Shashank Sharma --- drivers/gpu/drm/amd/amdgpu/amdgpu_doorbell.h | 15 +++ .../gpu/drm/amd/amdg