Re: [PATCH 02/13] drm/amdgpu: rename vram_mgr functions to bar_mgr

2023-02-06 Thread Alex Deucher
On Mon, Feb 6, 2023 at 6:21 AM Christian König wrote: > > Am 03.02.23 um 20:08 schrieb Shashank Sharma: > > From: Alex Deucher > > > > Rename the VRAM manager functions so they can be resused to manage > > doorbell BAR as well. > > Yeah, as said before Alex did this before we had the buddy

Re: [PATCH 02/13] drm/amdgpu: rename vram_mgr functions to bar_mgr

2023-02-06 Thread Christian König
Am 06.02.23 um 16:34 schrieb Shashank Sharma: On 06/02/2023 12:20, Christian König wrote: Am 03.02.23 um 20:08 schrieb Shashank Sharma: From: Alex Deucher Rename the VRAM manager functions so they can be resused to manage doorbell BAR as well. Yeah, as said before Alex did this before we

Re: [PATCH 02/13] drm/amdgpu: rename vram_mgr functions to bar_mgr

2023-02-06 Thread Shashank Sharma
On 06/02/2023 12:20, Christian König wrote: Am 03.02.23 um 20:08 schrieb Shashank Sharma: From: Alex Deucher Rename the VRAM manager functions so they can be resused to manage doorbell BAR as well. Yeah, as said before Alex did this before we had the buddy allocator. This doesn't makes

Re: [PATCH 02/13] drm/amdgpu: rename vram_mgr functions to bar_mgr

2023-02-06 Thread Christian König
Am 03.02.23 um 20:08 schrieb Shashank Sharma: From: Alex Deucher Rename the VRAM manager functions so they can be resused to manage doorbell BAR as well. Yeah, as said before Alex did this before we had the buddy allocator. This doesn't makes sense any more and should probably be dropped

[PATCH 02/13] drm/amdgpu: rename vram_mgr functions to bar_mgr

2023-02-03 Thread Shashank Sharma
From: Alex Deucher Rename the VRAM manager functions so they can be resused to manage doorbell BAR as well. Cc: Christian Koenig Signed-off-by: Alex Deucher Signed-off-by: Shashank Sharma --- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c| 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c