[PATCH v2 2/2] drm/buddy: Separate clear and dirty free block trees

2025-07-24 Thread Arunpravin Paneer Selvam
the suggested-by tag. Added it in v2. Signed-off-by: Arunpravin Paneer Selvam Suggested-by: Matthew Auld --- drivers/gpu/drm/drm_buddy.c | 316 ++-- include/drm/drm_buddy.h | 15 +- 2 files changed, 204 insertions(+), 127 deletions(-) diff --git a/drivers/gpu

[PATCH v2 1/2] drm/buddy: Optimize free block management with RB tree

2025-07-24 Thread Arunpravin Paneer Selvam
% with the RB tree (rbtree_insert.isra.0), despite performing the same sorted insert. This also improves performance in heavily fragmented workloads, such as games or graphics tests that stress memory. Signed-off-by: Arunpravin Paneer Selvam --- drivers/gpu/drm/drm_buddy.c | 141

[PATCH 1/2] drm/buddy: Optimize free block management with RB tree

2025-07-22 Thread Arunpravin Paneer Selvam
% with the RB tree (rbtree_insert.isra.0), despite performing the same sorted insert. This also improves performance in heavily fragmented workloads, such as games or graphics tests that stress memory. Signed-off-by: Arunpravin Paneer Selvam --- drivers/gpu/drm/drm_buddy.c | 141

[PATCH 2/2] drm/buddy: Separate clear and dirty free block trees

2025-07-22 Thread Arunpravin Paneer Selvam
: Arunpravin Paneer Selvam --- drivers/gpu/drm/drm_buddy.c | 316 ++-- include/drm/drm_buddy.h | 15 +- 2 files changed, 204 insertions(+), 127 deletions(-) diff --git a/drivers/gpu/drm/drm_buddy.c b/drivers/gpu/drm/drm_buddy.c index 19e9773b41be..0ffb68474b83 100644

Re: [PATCH v5 2/3] drm/amdgpu: Reset the clear flag in buddy during resume

2025-07-16 Thread Arunpravin Paneer Selvam
On 7/16/2025 4:31 PM, Christian König wrote: On 16.07.25 12:47, Christian König wrote: On 16.07.25 12:28, Arunpravin Paneer Selvam wrote: Hi Dave, I am trying to push this series into drm-misc-fixes, but I get the below error when dim push-branch drm-misc-fixes. dim:ERROR:e24c180b4300

Re: [PATCH v5 2/3] drm/amdgpu: Reset the clear flag in buddy during resume

2025-07-16 Thread Arunpravin Paneer Selvam
Hi Christian, On 7/16/2025 4:17 PM, Christian König wrote: On 16.07.25 12:28, Arunpravin Paneer Selvam wrote: Hi Dave, I am trying to push this series into drm-misc-fixes, but I get the below error when dim push-branch drm-misc-fixes. dim:ERROR:e24c180b4300("drm/amdgpu:Reset the clear

Re: [PATCH v5 2/3] drm/amdgpu: Reset the clear flag in buddy during resume

2025-07-16 Thread Arunpravin Paneer Selvam
cked-by is required to push the patches into drm-misc-fixes ? Regards, Arun. On 7/16/2025 1:21 PM, Arunpravin Paneer Selvam wrote: - Added a handler in DRM buddy manager to reset the cleared flag for the blocks in the freelist. - This is necessary because, upon resuming, the VR

Re: [PATCH v4 2/3] drm/amdgpu: Reset the clear flag in buddy during resume

2025-07-16 Thread Arunpravin Paneer Selvam
On 7/16/2025 1:21 PM, Christian König wrote: On 16.07.25 09:41, Arunpravin Paneer Selvam wrote: - Added a handler in DRM buddy manager to reset the cleared flag for the blocks in the freelist. - This is necessary because, upon resuming, the VRAM becomes cluttered with BIOS data, yet

[PATCH v5 2/3] drm/amdgpu: Reset the clear flag in buddy during resume

2025-07-16 Thread Arunpravin Paneer Selvam
to avoid the use of extra reset flag. Signed-off-by: Arunpravin Paneer Selvam Suggested-by: Christian König Acked-by: Christian König Reviewed-by: Matthew Auld Cc: sta...@vger.kernel.org Fixes: a68c7eaa7a8f ("drm/amdgpu: Enable clear page functionality") Closes: https://gitlab.freed

[PATCH v5 3/3] drm/buddy: Add a new unit test case for buffer clearance issue

2025-07-16 Thread Arunpravin Paneer Selvam
when the blocks clear reset function is called. Signed-off-by: Arunpravin Paneer Selvam Reviewed-by: Matthew Auld --- drivers/gpu/drm/tests/drm_buddy_test.c | 41 ++ 1 file changed, 41 insertions(+) diff --git a/drivers/gpu/drm/tests/drm_buddy_test.c b/drivers/gpu/drm

[PATCH v5 1/3] drm/amdgpu: Add WARN_ON to the resource clear function

2025-07-16 Thread Arunpravin Paneer Selvam
(Christian). - Modified the patch subject name. Signed-off-by: Arunpravin Paneer Selvam Suggested-by: Christian König Reviewed-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.h | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu

[PATCH v4 2/3] drm/amdgpu: Reset the clear flag in buddy during resume

2025-07-16 Thread Arunpravin Paneer Selvam
to avoid the use of extra reset flag. Signed-off-by: Arunpravin Paneer Selvam Suggested-by: Christian König Reviewed-by: Matthew Auld Cc: sta...@vger.kernel.org Fixes: a68c7eaa7a8f ("drm/amdgpu: Enable clear page functionality") Closes: https://gitlab.freedesktop.org/drm/amd/-/i

[PATCH v4 3/3] drm/buddy: Add a new unit test case for buffer clearance issue

2025-07-16 Thread Arunpravin Paneer Selvam
when the blocks clear reset function is called. Signed-off-by: Arunpravin Paneer Selvam Reviewed-by: Matthew Auld --- drivers/gpu/drm/tests/drm_buddy_test.c | 41 ++ 1 file changed, 41 insertions(+) diff --git a/drivers/gpu/drm/tests/drm_buddy_test.c b/drivers/gpu/drm

[PATCH v4 1/3] drm/amdgpu: Add WARN_ON to the resource clear function

2025-07-16 Thread Arunpravin Paneer Selvam
(Christian). - Modified the patch subject name. Signed-off-by: Arunpravin Paneer Selvam Suggested-by: Christian König Reviewed-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.h | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu

Re: [PATCH v3 2/3] drm/amdgpu: Reset the clear flag in buddy during resume

2025-07-10 Thread Arunpravin Paneer Selvam
On 7/10/2025 7:50 PM, Matthew Auld wrote: On 10/07/2025 08:14, Arunpravin Paneer Selvam wrote: On 7/8/2025 2:30 PM, Matthew Auld wrote: On 08/07/2025 07:54, Arunpravin Paneer Selvam wrote: - Added a handler in DRM buddy manager to reset the cleared    flag for the blocks in the freelist

Re: [PATCH v3 2/3] drm/amdgpu: Reset the clear flag in buddy during resume

2025-07-10 Thread Arunpravin Paneer Selvam
On 7/8/2025 2:30 PM, Matthew Auld wrote: On 08/07/2025 07:54, Arunpravin Paneer Selvam wrote: - Added a handler in DRM buddy manager to reset the cleared    flag for the blocks in the freelist. - This is necessary because, upon resuming, the VRAM becomes    cluttered with BIOS data, yet the

[PATCH v3 3/3] drm/buddy: Add a new unit test case for buffer clearance issue

2025-07-07 Thread Arunpravin Paneer Selvam
when the blocks clear reset function is called. Signed-off-by: Arunpravin Paneer Selvam --- drivers/gpu/drm/tests/drm_buddy_test.c | 41 ++ 1 file changed, 41 insertions(+) diff --git a/drivers/gpu/drm/tests/drm_buddy_test.c b/drivers/gpu/drm/tests/drm_buddy_test.c index

[PATCH v3 2/3] drm/amdgpu: Reset the clear flag in buddy during resume

2025-07-07 Thread Arunpravin Paneer Selvam
to avoid the use of extra reset flag. Signed-off-by: Arunpravin Paneer Selvam Suggested-by: Christian König Cc: sta...@vger.kernel.org Fixes: a68c7eaa7a8f ("drm/amdgpu: Enable clear page functionality") Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3812 --- drivers/gpu/drm/

[PATCH v3 1/3] drm/amdgpu: Add WARN_ON to the resource clear function

2025-07-07 Thread Arunpravin Paneer Selvam
(Christian). - Modified the patch subject name. Signed-off-by: Arunpravin Paneer Selvam Suggested-by: Christian König Cc: sta...@vger.kernel.org Fixes: a68c7eaa7a8f ("drm/amdgpu: Enable clear page functionality") --- drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.h | 5 - 1 file changed, 4

Re: [PATCH v2 2/3] drm/amdgpu: Reset the clear flag in buddy during resume

2025-07-07 Thread Arunpravin Paneer Selvam
Hi Matthew, On 7/4/2025 2:22 PM, Matthew Auld wrote: On 01/07/2025 20:08, Arunpravin Paneer Selvam wrote: - Added a handler in DRM buddy manager to reset the cleared    flag for the blocks in the freelist. - This is necessary because, upon resuming, the VRAM becomes    cluttered with BIOS

Re: [PATCH v2 1/3] drm/amdgpu: Dirty cleared blocks on free

2025-07-03 Thread Arunpravin Paneer Selvam
On 7/2/2025 7:11 PM, Christian König wrote: On 02.07.25 13:58, Arunpravin Paneer Selvam wrote: Hi Christian, On 7/2/2025 1:27 PM, Christian König wrote: On 01.07.25 21:08, Arunpravin Paneer Selvam wrote: Set the dirty bit when the memory resource is not cleared during BO release. v2

Re: [PATCH v2 1/3] drm/amdgpu: Dirty cleared blocks on free

2025-07-02 Thread Arunpravin Paneer Selvam
Hi Christian, On 7/2/2025 1:27 PM, Christian König wrote: On 01.07.25 21:08, Arunpravin Paneer Selvam wrote: Set the dirty bit when the memory resource is not cleared during BO release. v2(Christian): - Drop the cleared flag set to false. - Improve the amdgpu_vram_mgr_set_clear_state

[PATCH v2 2/3] drm/amdgpu: Reset the clear flag in buddy during resume

2025-07-01 Thread Arunpravin Paneer Selvam
drm_buddy_clear_reset_blocks()(Matthew Auld) - Force merge the two dirty blocks.(Matthew Auld) - Add a new unit test case for this issue.(Matthew Auld) - Having this function being able to flip the state either way would be good. (Matthew Brost) Signed-off-by: Arunpravin Paneer Selvam

[PATCH v2 3/3] drm/buddy: Add a new unit test case for buffer clearance issue

2025-07-01 Thread Arunpravin Paneer Selvam
when the blocks clear reset function is called. Signed-off-by: Arunpravin Paneer Selvam --- drivers/gpu/drm/tests/drm_buddy_test.c | 41 ++ 1 file changed, 41 insertions(+) diff --git a/drivers/gpu/drm/tests/drm_buddy_test.c b/drivers/gpu/drm/tests/drm_buddy_test.c index

[PATCH v2 1/3] drm/amdgpu: Dirty cleared blocks on free

2025-07-01 Thread Arunpravin Paneer Selvam
Set the dirty bit when the memory resource is not cleared during BO release. v2(Christian): - Drop the cleared flag set to false. - Improve the amdgpu_vram_mgr_set_clear_state() function. Signed-off-by: Arunpravin Paneer Selvam Suggested-by: Christian König Cc: sta...@vger.kernel.org Fixes

[PATCH 1/2] drm/amdgpu: Dirty cleared blocks on free

2025-06-22 Thread Arunpravin Paneer Selvam
Set the dirty bit when the memory resource is not cleared during BO release. Signed-off-by: Arunpravin Paneer Selvam Suggested-by: Christian König Cc: sta...@vger.kernel.org Fixes: a68c7eaa7a8f ("drm/amdgpu: Enable clear page functionality") --- drivers/gpu/drm/amd/amdgpu/amdgp

[PATCH 2/2] drm/amdgpu: Reset the clear flag in buddy during resume

2025-06-22 Thread Arunpravin Paneer Selvam
- Added a handler in DRM buddy manager to reset the cleared flag for the blocks in the freelist. - This is necessary because, upon resuming, the VRAM becomes cluttered with BIOS data, yet the VRAM backend manager believes that everything has been cleared. Signed-off-by: Arunpravin Paneer

Re: [PATCH] drm/amdgpu: Fix potential dma_fence leak in amdgpu_ttm_clear_buffer

2025-06-02 Thread Paneer Selvam, Arunpravin
- From: Paneer Selvam, Arunpravin Sent: Friday, May 30, 2025 1:57 PM To: Ma, Li ; amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Koenig, Christian ; Yuan, Perry Subject: Re: [PATCH] drm/amdgpu: Fix potential dma_fence leak in amdgpu_ttm_clear_buffer Hi Ma, On 5/29/2025 6:37 PM, Li Ma w

Re: [PATCH] drm/amdgpu: Fix potential dma_fence leak in amdgpu_ttm_clear_buffer

2025-05-29 Thread Paneer Selvam, Arunpravin
Hi Ma, On 5/29/2025 6:37 PM, Li Ma wrote: The original code did not properly release the dma_fence `next` in case amdgpu_ttm_fill_mem failed during buffer clearing. Signed-off-by: Li Ma --- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) di

Re: [PATCH 1/2] drm/buddy: Add public helper to dirty blocks

2025-05-29 Thread Paneer Selvam, Arunpravin
On 5/28/2025 1:13 AM, Natalie Vock wrote: Cleared blocks that are handed out to users after allocation cannot be presumed to remain cleared. Thus, allocators using drm_buddy need to dirty all blocks on the allocation success path. Provide a helper for them to use. Fixes: 96950929eb232 ("drm/bu

Re: [PATCH 2/2] drm/amdgpu: Dirty cleared blocks on allocation

2025-05-28 Thread Paneer Selvam, Arunpravin
On 5/28/2025 2:59 PM, Natalie Vock wrote: Hi, On 5/28/25 09:07, Christian König wrote: On 5/27/25 21:43, Natalie Vock wrote: If we hand out cleared blocks to users, they are expected to write at least some non-zero values somewhere. If we keep the CLEAR bit set on the block, amdgpu_fill_b

Re: [RFC PATCH 1/2] drm/amdgpu: amdgpu_vram_mgr_new(): Clamp lpfn to total vram

2025-05-23 Thread Paneer Selvam, Arunpravin
On 5/15/2025 9:19 PM, Paneer Selvam, Arunpravin wrote: On 5/12/2025 12:41 PM, Paneer Selvam, Arunpravin wrote: On 5/12/2025 12:39 PM, Christian König wrote: On 5/11/25 22:37, Paneer Selvam, Arunpravin wrote: On 5/12/2025 2:03 AM, Paneer Selvam, Arunpravin wrote: On 5/3/2025 5:53 PM

Re: [RFC PATCH 1/2] drm/amdgpu: amdgpu_vram_mgr_new(): Clamp lpfn to total vram

2025-05-15 Thread Paneer Selvam, Arunpravin
On 5/12/2025 12:41 PM, Paneer Selvam, Arunpravin wrote: On 5/12/2025 12:39 PM, Christian König wrote: On 5/11/25 22:37, Paneer Selvam, Arunpravin wrote: On 5/12/2025 2:03 AM, Paneer Selvam, Arunpravin wrote: On 5/3/2025 5:53 PM, Paneer Selvam, Arunpravin wrote: On 5/2/2025 9:02 PM

Re: [PATCH] drm/amdgpu: Fix TTM validation warnings in user queue doorbell handling

2025-05-13 Thread Paneer Selvam, Arunpravin
On 5/9/2025 4:51 PM, Christian König wrote: On 5/9/25 12:10, Jesse.Zhang wrote: This patch resolves a kernel warning that occurs during user queue initialization: [ 428.714241] WARNING: CPU: 23 PID: 1965 at drivers/gpu/drm/ttm/ttm_bo.c:823 ttm_bo_validate+0x15c/0x1a0 [ttm] [ 428.714758]

Re: [RFC PATCH 1/2] drm/amdgpu: amdgpu_vram_mgr_new(): Clamp lpfn to total vram

2025-05-12 Thread Paneer Selvam, Arunpravin
On 5/12/2025 12:39 PM, Christian König wrote: On 5/11/25 22:37, Paneer Selvam, Arunpravin wrote: On 5/12/2025 2:03 AM, Paneer Selvam, Arunpravin wrote: On 5/3/2025 5:53 PM, Paneer Selvam, Arunpravin wrote: On 5/2/2025 9:02 PM, John Olender wrote: On 4/30/25 5:44 PM, Paneer Selvam

Re: [RFC PATCH 1/2] drm/amdgpu: amdgpu_vram_mgr_new(): Clamp lpfn to total vram

2025-05-11 Thread Paneer Selvam, Arunpravin
On 5/12/2025 2:03 AM, Paneer Selvam, Arunpravin wrote: On 5/3/2025 5:53 PM, Paneer Selvam, Arunpravin wrote: On 5/2/2025 9:02 PM, John Olender wrote: On 4/30/25 5:44 PM, Paneer Selvam, Arunpravin wrote: On 5/1/2025 2:50 AM, Alex Deucher wrote: + Christian On Tue, Apr 29, 2025 at 7

Re: [RFC PATCH 1/2] drm/amdgpu: amdgpu_vram_mgr_new(): Clamp lpfn to total vram

2025-05-11 Thread Paneer Selvam, Arunpravin
On 5/3/2025 5:53 PM, Paneer Selvam, Arunpravin wrote: On 5/2/2025 9:02 PM, John Olender wrote: On 4/30/25 5:44 PM, Paneer Selvam, Arunpravin wrote: On 5/1/2025 2:50 AM, Alex Deucher wrote: + Christian On Tue, Apr 29, 2025 at 7:24 AM John Olender wrote: The drm_mm allocator tolerated

Re: [RFC PATCH 1/2] drm/amdgpu: amdgpu_vram_mgr_new(): Clamp lpfn to total vram

2025-05-03 Thread Paneer Selvam, Arunpravin
On 5/2/2025 9:02 PM, John Olender wrote: On 4/30/25 5:44 PM, Paneer Selvam, Arunpravin wrote: On 5/1/2025 2:50 AM, Alex Deucher wrote: + Christian On Tue, Apr 29, 2025 at 7:24 AM John Olender wrote: The drm_mm allocator tolerated being passed end > mm->size, but the drm_buddy all

Re: [RFC PATCH 1/2] drm/amdgpu: amdgpu_vram_mgr_new(): Clamp lpfn to total vram

2025-04-30 Thread Paneer Selvam, Arunpravin
On 5/1/2025 2:50 AM, Alex Deucher wrote: + Christian On Tue, Apr 29, 2025 at 7:24 AM John Olender wrote: The drm_mm allocator tolerated being passed end > mm->size, but the drm_buddy allocator does not. Restore the pre-buddy-allocator behavior of allowing such placements. Closes: https://

[PATCH] drm/amdgpu: Add queue id support to the user queue wait IOCTL

2025-04-12 Thread Arunpravin Paneer Selvam
destruction. Otherwise, we would gather those references until we don't have any more space left and crash. Libdrm MR: https://gitlab.freedesktop.org/mesa/drm/-/merge_requests/408 Mesa MR: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34493 Signed-off-by: Arunpravin Paneer S

[PATCH v2] drm/amdgpu: Add queue id support to the user queue wait IOCTL

2025-04-12 Thread Arunpravin Paneer Selvam
/mesa/-/merge_requests/34493 Signed-off-by: Arunpravin Paneer Selvam Suggested-by: Christian König --- .../gpu/drm/amd/amdgpu/amdgpu_userq_fence.c | 20 +++ .../gpu/drm/amd/amdgpu/amdgpu_userq_fence.h | 1 - drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c | 1 - include/uap

[PATCH 2/5] drm/amdgpu/userq: Add lock before accessing dma_fence_is_signaled_locked

2025-04-10 Thread Arunpravin Paneer Selvam
Add lock before accessing dma_fence_is_signaled_locked. Signed-off-by: Arunpravin Paneer Selvam --- drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c b/drivers/gpu/drm/amd/amdgpu

[PATCH 5/5] drm/amdgpu: Acquire BO locks only during BO processing

2025-04-10 Thread Arunpravin Paneer Selvam
+0x17e/0x1d0 [ +0.06] softirqs last disabled at (749): [] __irq_exit_rcu+0x17e/0x1d0 [ +0.05] ---[ end trace ]--- Signed-off-by: Arunpravin Paneer Selvam --- .../gpu/drm/amd/amdgpu/amdgpu_userq_fence.c | 116 +++--- 1 file changed, 69 insertions(

[PATCH 4/5] drm/amdgpu/userq: Fix DEBUG_LOCKS_WARN_ON(lock->magic != lock)

2025-04-10 Thread Arunpravin Paneer Selvam
Fix DEBUG_LOCKS_WARN_ON(lock->magic != lock) warning logs. Signed-off-by: Arunpravin Paneer Selvam --- drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c b/drivers/gpu/drm/amd/amd

[PATCH 3/5] drm/amdgpu: Fix userq ttm_bo_pin and ttm_bo_unpin lockdep warnings

2025-04-08 Thread Arunpravin Paneer Selvam
+0x17e/0x1d0 [ +0.05] ---[ end trace ]--- Signed-off-by: Arunpravin Paneer Selvam --- drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c b/drivers/gpu/drm

[PATCH 1/5] drm/amdgpu/userq: Fix lock contention in userq fence

2025-04-08 Thread Arunpravin Paneer Selvam
&fence_drv->fence_list_lock); Signed-off-by: Arunpravin Paneer Selvam --- drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_us

Re: [PATCH 1/2] drm/amdgpu: store userq_managers in a list in adev

2025-04-04 Thread Paneer Selvam, Arunpravin
Hi Alex, I requested the tester to reproduce the suspend/resume hang issue with this patch series. I will update as soon as I get the results. Thanks, Arun. On 3/20/2025 10:22 PM, Alex Deucher wrote: So we can iterate across them when we need to manage all user queues. Signed-off-by: Alex D

Re: [PATCH 2/2] drm/amdgpu/userq: prevent runtime pm when userqs are active

2025-04-04 Thread Paneer Selvam, Arunpravin
Hi Alex, This patch didn't help to resolve the system hang issue during suspend that was introduced by the series - https://patchwork.freedesktop.org/series/141717/ But as you mentioned, the runtime pm needs this change while user queues are running. Reviewed-by: Arunpravin Paneer S

[PATCH] drm/amdgpu: Modify the seq64 VM cache policy

2025-02-10 Thread Arunpravin Paneer Selvam
The seq64 VM cache policy should be set to UC (Uncached) to match with userqueue fence address kernel mapped memory's cache settings. Signed-off-by: Arunpravin Paneer Selvam --- drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --

Re: [PATCH v2 2/2] drm/buddy: Add a testcase to verify the multiroot fini

2025-01-15 Thread Paneer Selvam, Arunpravin
Hi Jani, I merged the below patch into drm-misc-next, Please try rebuilding the drm-tip. https://cgit.freedesktop.org/drm/drm-misc/commit/?id=00728273bdf1001f8d2f7b65bc398000d7defe0b Thanks, Arun. On 1/15/2025 5:08 PM, Jani Nikula wrote: On Thu, 26 Dec 2024, Arunpravin Paneer Selvam

Re: [PATCH v2 2/2] drm/buddy: Add a testcase to verify the multiroot fini

2025-01-06 Thread Paneer Selvam, Arunpravin
Hi Matthew, Ping? Regards, Arun. On 12/26/2024 12:31 PM, Arunpravin Paneer Selvam wrote: - Added a testcase to verify the multiroot force merge fini. - Added a new field in_use to track the mm freed status. v2:(Matthew) - Add kunit_fail_current_test() when WARN_ON is true. Signed-off-by

[PATCH v4 1/3] drm/amdgpu: Fix out-of-bounds issue in user fence

2025-01-01 Thread Arunpravin Paneer Selvam
] do_syscall_64+0x4d/0x120 [ +0.08] entry_SYSCALL_64_after_hwframe+0x76/0x7e [ +0.07] RIP: 0033:0x7f7c3d31a94f Signed-off-by: Arunpravin Paneer Selvam --- drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd

[PATCH v2 1/2] drm/buddy: fix issue that force_merge cannot free all roots

2024-12-25 Thread Arunpravin Paneer Selvam
From: Lin.Cao If buddy manager have more than one roots and each root have sub-block need to be free. When drm_buddy_fini called, the first loop of force_merge will merge and free all of the sub block of first root, which offset is 0x0 and size is biggest(more than have of the mm size). In subseq

[PATCH v2 2/2] drm/buddy: Add a testcase to verify the multiroot fini

2024-12-25 Thread Arunpravin Paneer Selvam
- Added a testcase to verify the multiroot force merge fini. - Added a new field in_use to track the mm freed status. v2:(Matthew) - Add kunit_fail_current_test() when WARN_ON is true. Signed-off-by: Arunpravin Paneer Selvam Signed-off-by: Lin.Cao --- drivers/gpu/drm/drm_buddy.c

[PATCH] drm/amdgpu: Add a lock when accessing the buddy trim function

2024-12-24 Thread Arunpravin Paneer Selvam
51199] ? amdgpu_display_user_framebuffer_create+0x215/0x320 [amdgpu] [ 7197.251329] ? drm_internal_framebuffer_create+0xb7/0x1a0 [ 7197.251332] ? srso_alias_return_thunk+0x5/0xfbef5 Signed-off-by: Arunpravin Paneer Selvam Fixes: 4a5ad08f5377 ("drm/amdgpu: Add address alignment support to DCC buffers") --- drivers/gpu

Re: [PATCH 2/2] drm/buddy: Add a testcase to verify the multiroot fini

2024-12-20 Thread Paneer Selvam, Arunpravin
Hi Matthew, On 12/16/2024 11:52 PM, Matthew Auld wrote: On 16/12/2024 13:07, Arunpravin Paneer Selvam wrote: - Added a testcase to verify the multiroot force merge fini. - Added a new field in_use to track the mm freed status. Signed-off-by: Arunpravin Paneer Selvam Signed-off-by: Lin.Cao

Re: [PATCH v3 1/3] drm/amdgpu: Fix out-of-bounds issue in user fence

2024-12-20 Thread Paneer Selvam, Arunpravin
On 12/20/2024 4:08 PM, Christian König wrote: Hi Arun, Am 20.12.24 um 11:34 schrieb Paneer Selvam, Arunpravin: Hi Christian, On 12/19/2024 4:11 PM, Christian König wrote: Am 19.12.24 um 11:38 schrieb Arunpravin Paneer Selvam: Fix out-of-bounds issue in userq fence create when

Re: [PATCH v3 1/3] drm/amdgpu: Fix out-of-bounds issue in user fence

2024-12-20 Thread Paneer Selvam, Arunpravin
Hi Christian, On 12/19/2024 4:11 PM, Christian König wrote: Am 19.12.24 um 11:38 schrieb Arunpravin Paneer Selvam: Fix out-of-bounds issue in userq fence create when accessing the userq xa structure. Added a lock to protect the race condition. v2:(Christian)    - Acquire xa lock only for

[PATCH v3 3/3] drm/amdgpu: Fix wait IOCTL lockup issues.

2024-12-19 Thread Arunpravin Paneer Selvam
2] RBP: 7f3a009ff8f0 R08: 0001 R09: [ +0.01] R10: 0002 R11: 0246 R12: 561824bf39e0 [ +0.02] R13: c0406458 R14: 000c R15: 561824a25b60 [ +0.06] Signed-off-by: Arunpravin Paneer Selvam --- .../gp

[PATCH v3 2/3] drm/amdgpu: Improve the xa field names readability

2024-12-19 Thread Arunpravin Paneer Selvam
Make the xa field names used in the userqueue and userfence structure more understandable and add more clarity. Signed-off-by: Arunpravin Paneer Selvam --- .../gpu/drm/amd/amdgpu/amdgpu_userq_fence.c | 31 ++- .../gpu/drm/amd/amdgpu/amdgpu_userq_fence.h | 4 +-- drivers/gpu

[PATCH v3 1/3] drm/amdgpu: Fix out-of-bounds issue in user fence

2024-12-19 Thread Arunpravin Paneer Selvam
] entry_SYSCALL_64_after_hwframe+0x76/0x7e [ +0.07] RIP: 0033:0x7f7c3d31a94f Signed-off-by: Arunpravin Paneer Selvam --- .../gpu/drm/amd/amdgpu/amdgpu_userq_fence.c | 43 +++ .../gpu/drm/amd/amdgpu/amdgpu_userq_fence.h | 3 +- 2 files changed, 17 insertions(+), 29 deletions

Re: [PATCH v2 4/7] drm/amdgpu: Fix out-of-bounds issue in user fence

2024-12-16 Thread Paneer Selvam, Arunpravin
Hi Christian, On 12/13/2024 6:29 PM, Christian König wrote: Am 13.12.24 um 12:24 schrieb Paneer Selvam, Arunpravin: Hi Christian, On 12/13/2024 4:13 PM, Christian König wrote: Am 12.12.24 um 15:25 schrieb Arunpravin Paneer Selvam: Fix out-of-bounds issue in userq fence create when

[PATCH 2/2] drm/buddy: Add a testcase to verify the multiroot fini

2024-12-16 Thread Arunpravin Paneer Selvam
- Added a testcase to verify the multiroot force merge fini. - Added a new field in_use to track the mm freed status. Signed-off-by: Arunpravin Paneer Selvam Signed-off-by: Lin.Cao --- drivers/gpu/drm/drm_buddy.c| 20 - drivers/gpu/drm/tests/drm_buddy_test.c | 30

[PATCH 1/2] drm/buddy: fix issue that force_merge cannot free all roots

2024-12-16 Thread Arunpravin Paneer Selvam
From: Lin.Cao If buddy manager have more than one roots and each root have sub-block need to be free. When drm_buddy_fini called, the first loop of force_merge will merge and free all of the sub block of first root, which offset is 0x0 and size is biggest(more than have of the mm size). In subseq

Re: [PATCH v2 4/7] drm/amdgpu: Fix out-of-bounds issue in user fence

2024-12-13 Thread Paneer Selvam, Arunpravin
Hi Christian, On 12/13/2024 4:13 PM, Christian König wrote: Am 12.12.24 um 15:25 schrieb Arunpravin Paneer Selvam: Fix out-of-bounds issue in userq fence create when accessing the userq xa structure. Added a lock to protect the race condition. BUG: KASAN: slab-out-of-bounds in

[PATCH v2 7/7] drm/amdgpu: Apply sign extension to seq64

2024-12-12 Thread Arunpravin Paneer Selvam
Apply sign extension to seq64 va address. Signed-off-by: Arunpravin Paneer Selvam --- drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c

[PATCH v2 4/7] drm/amdgpu: Fix out-of-bounds issue in user fence

2024-12-12 Thread Arunpravin Paneer Selvam
] x64_sys_call+0x1205/0x20d0 [ +0.07] do_syscall_64+0x4d/0x120 [ +0.08] entry_SYSCALL_64_after_hwframe+0x76/0x7e [ +0.07] RIP: 0033:0x7f7c3d31a94f Signed-off-by: Arunpravin Paneer Selvam --- drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c | 4 +++- 1 file changed, 3 insertions(+), 1

[PATCH v2 3/7] drm/amdgpu: Fix the use-after-free issue in wait IOCTL

2024-12-12 Thread Arunpravin Paneer Selvam
] x64_sys_call+0x1209/0x20d0 [ 366.492299] do_syscall_64+0x51/0x120 [ 366.492303] entry_SYSCALL_64_after_hwframe+0x76/0x7e [ 366.492418] RIP: 0033:0x7f86f3b1a94f Signed-off-by: Arunpravin Paneer Selvam --- drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c | 1 + 1 file changed, 1 insertion(+) diff

[PATCH v2 2/7] drm/amdgpu: Fix NULL ptr dereference issue for non userq fences

2024-12-12 Thread Arunpravin Paneer Selvam
-off-by: Arunpravin Paneer Selvam --- drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c index 877cb17a14e9..3a88f754a395 100644 --- a

[PATCH v2 6/7] drm/amdgpu: Fix wait IOCTL lockup issues.

2024-12-12 Thread Arunpravin Paneer Selvam
: Arunpravin Paneer Selvam --- .../gpu/drm/amd/amdgpu/amdgpu_userq_fence.c | 122 +++--- 1 file changed, 72 insertions(+), 50 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c index 49dc78c2f0d7..5c39681c9720

[PATCH v2 5/7] drm/amdgpu: Modify the MES process va end limit

2024-12-12 Thread Arunpravin Paneer Selvam
From: Christian König Modify the MES process va end limit to max pfn. Signed-off-by: Christian König Signed-off-by: Arunpravin Paneer Selvam --- drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | 3 +-- drivers/gpu/drm/amd/amdgpu/amdgpu_umsch_mm.c | 2 +- drivers/gpu/drm/amd/amdgpu

[PATCH v2 1/7] drm/amdgpu: Add mqd for userq compute queue

2024-12-12 Thread Arunpravin Paneer Selvam
Add mqd for userq compute queue for gfx11/gfx12 Signed-off-by: Arunpravin Paneer Selvam --- drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c| 4 drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c| 4 drivers/gpu/drm/amd/include/v11_structs.h | 4 ++-- drivers/gpu/drm/amd/include/v12_structs.h | 4

Re: [PATCH] drm/amdgpu: fix UVD contiguous CS mapping problem

2024-12-02 Thread Paneer Selvam, Arunpravin
Hi Christian, Thank you. Reviewed-by: Arunpravin Paneer Selvam Regards, Arun. On 11/29/2024 8:38 PM, Christian König wrote: When starting the mpv player, Radeon R9 users are observing the below error in dmesg. [drm:amdgpu_uvd_cs_pass2 [amdgpu]] *ERROR* msg/fb buffer ff00f7c000-ff00f7e000 out

[PATCH v2 4/4] drm/amdgpu: Fix out-of-bounds issue in user fence

2024-11-28 Thread Arunpravin Paneer Selvam
] x64_sys_call+0x1205/0x20d0 [ +0.07] do_syscall_64+0x4d/0x120 [ +0.08] entry_SYSCALL_64_after_hwframe+0x76/0x7e [ +0.07] RIP: 0033:0x7f7c3d31a94f Signed-off-by: Arunpravin Paneer Selvam --- drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c | 4 +++- 1 file changed, 3 insertions(+), 1

[PATCH v2 3/4] drm/amdgpu: Fix the use-after-free issue in wait IOCTL

2024-11-28 Thread Arunpravin Paneer Selvam
] x64_sys_call+0x1209/0x20d0 [ 366.492299] do_syscall_64+0x51/0x120 [ 366.492303] entry_SYSCALL_64_after_hwframe+0x76/0x7e [ 366.492418] RIP: 0033:0x7f86f3b1a94f Signed-off-by: Arunpravin Paneer Selvam --- drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c | 1 + 1 file changed, 1 insertion(+) diff

[PATCH v2 2/4] drm/amdgpu: Add mqd support for userq compute queue

2024-11-28 Thread Arunpravin Paneer Selvam
Add mqd support for userq compute queue. Signed-off-by: Arunpravin Paneer Selvam --- drivers/gpu/drm/amd/amdgpu/mes_v11_0_userqueue.c | 13 ++--- drivers/gpu/drm/amd/include/v11_structs.h| 4 ++-- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm

[PATCH v2 1/4] drm/amdgpu: Fix NULL ptr dereference issue for non userq fences

2024-11-28 Thread Arunpravin Paneer Selvam
-off-by: Arunpravin Paneer Selvam --- drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c index 877cb17a14e9..3a88f754a395 100644 --- a

Re: [PATCH 1/3] drm/amdgpu: Add NULL ptr check for non userq fences

2024-11-24 Thread Paneer Selvam, Arunpravin
Hi Christian, On 11/20/2024 4:04 PM, Christian König wrote: Am 20.11.24 um 10:26 schrieb Arunpravin Paneer Selvam: We are observing a NULL value in the non userq fences, thus added a NULL pointer check just to avoid the NULL pointer dereference crash. v2: Moved the NULL check above the non

Re: [PATCH 3/3] drm/amdgpu: Fix dmesg warning from xarray

2024-11-24 Thread Paneer Selvam, Arunpravin
Hi Christian, On 11/20/2024 4:06 PM, Christian König wrote: Am 20.11.24 um 10:26 schrieb Arunpravin Paneer Selvam: Fix the warning issue generated at lib/xarray.c:1849. v2: keep the error handling same as before when the xalloc() call fails to store the fence_drv ref. Signed-off-by

[PATCH 1/3] drm/amdgpu: Add NULL ptr check for non userq fences

2024-11-20 Thread Arunpravin Paneer Selvam
We are observing a NULL value in the non userq fences, thus added a NULL pointer check just to avoid the NULL pointer dereference crash. v2: Moved the NULL check above the non userq check. Signed-off-by: Arunpravin Paneer Selvam --- drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c | 3 +++ 1

[PATCH 2/3] drm/amdgpu: Add mqd support for userq compute queue

2024-11-20 Thread Arunpravin Paneer Selvam
Add mqd support for userq compute queue. Signed-off-by: Arunpravin Paneer Selvam --- drivers/gpu/drm/amd/amdgpu/mes_v11_0_userqueue.c | 13 ++--- drivers/gpu/drm/amd/include/v11_structs.h| 4 ++-- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm

[PATCH 3/3] drm/amdgpu: Fix dmesg warning from xarray

2024-11-20 Thread Arunpravin Paneer Selvam
Fix the warning issue generated at lib/xarray.c:1849. v2: keep the error handling same as before when the xalloc() call fails to store the fence_drv ref. Signed-off-by: Arunpravin Paneer Selvam --- drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c | 6 -- 1 file changed, 4 insertions

[PATCH 1/3] drm/amdgpu: Add NULL ptr check for non userq fences

2024-11-20 Thread Arunpravin Paneer Selvam
We are observing a NULL value in the non userq fences, thus added a NULL pointer check just to avoid the NULL pointer dereference crash. v2: Moved the NULL check above the non userq check. Signed-off-by: Arunpravin Paneer Selvam --- drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c | 3 +++ 1

[PATCH 3/3] drm/amdgpu: Fix PF issue when xalloc fails

2024-11-19 Thread Arunpravin Paneer Selvam
Fix the Page fault and warning issue when xalloc fails to store the fence_drv. Signed-off-by: Arunpravin Paneer Selvam --- drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu

[PATCH 2/3] drm/amdgpu: Add mqd support for userq compute queue

2024-11-19 Thread Arunpravin Paneer Selvam
Add mqd support for userq compute queue. Signed-off-by: Arunpravin Paneer Selvam --- drivers/gpu/drm/amd/amdgpu/mes_v11_0_userqueue.c | 13 ++--- drivers/gpu/drm/amd/include/v11_structs.h| 4 ++-- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm

Re: [PATCH] drm/amdgpu: Fix UVD contiguous CS mapping problem

2024-11-14 Thread Paneer Selvam, Arunpravin
On 11/14/2024 9:17 PM, Christian König wrote: Am 14.11.24 um 16:38 schrieb Paneer Selvam, Arunpravin: Hi Christian, On 11/11/2024 3:33 PM, Christian König wrote: Am 11.11.24 um 09:05 schrieb Arunpravin Paneer Selvam: When starting the mpv player, Radeon R9 users are observing the below

Re: [PATCH] drm/amdgpu: Fix UVD contiguous CS mapping problem

2024-11-14 Thread Paneer Selvam, Arunpravin
Hi Christian, On 11/11/2024 3:33 PM, Christian König wrote: Am 11.11.24 um 09:05 schrieb Arunpravin Paneer Selvam: When starting the mpv player, Radeon R9 users are observing the below error in dmesg. [drm:amdgpu_uvd_cs_pass2 [amdgpu]] *ERROR* msg/fb buffer ff00f7c000-ff00f7e000 out of

[PATCH v2] drm/amdgpu: Add NULL ptr check for non userq fences

2024-11-13 Thread Arunpravin Paneer Selvam
We are observing a NULL value in the non userq fences, thus added a NULL pointer check just to avoid the NULL pointer dereference crash. v2: Moved the NULL check above the non userq check. Signed-off-by: Arunpravin Paneer Selvam --- drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c | 3 +++ 1

Re: [PATCH v3 2/2] drm/amdgpu: add the argument description for gpu_addr

2024-11-13 Thread Paneer Selvam, Arunpravin
Reviewed-by: Arunpravin Paneer Selvam On 11/13/2024 2:37 PM, Sunil Khatri wrote: Add argument description for the input argument gpu_addr for amdgpu_seq64_alloc. Fixes the warning raised by the compiler: drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c:168: warning: Function parameter or struct

Re: [PATCH v1 2/2] drm/amdgpu: add the argument description for gpu_addr

2024-11-13 Thread Paneer Selvam, Arunpravin
struct member 'gpu_addr' not described in 'amdgpu_seq64_alloc Cc: Arunpravin Paneer Selvam Signed-off-by: Sunil Khatri --- drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c b/drivers/gpu

[PATCH] drm/amdgpu: Add NULL ptr check for non userq fences

2024-11-11 Thread Arunpravin Paneer Selvam
We are observing a NULL value in the non userq fences, thus added a NULL pointer check just to avoid the NULL pointer dereference crash. Signed-off-by: Arunpravin Paneer Selvam --- drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu

[PATCH] drm/amdgpu: Fix UVD contiguous CS mapping problem

2024-11-11 Thread Arunpravin Paneer Selvam
and not set cases. Closes:https://gitlab.freedesktop.org/drm/amd/-/issues/3599 Closes:https://gitlab.freedesktop.org/drm/amd/-/issues/3501 Signed-off-by: Arunpravin Paneer Selvam Cc: sta...@vger.kernel.org --- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 18 +++--- 1 file changed, 11

[PATCH] drm/amdgpu: Fix UVD contiguous CS mapping problem

2024-11-11 Thread Arunpravin Paneer Selvam
and not set cases. Closes:https://gitlab.freedesktop.org/drm/amd/-/issues/3599 Closes:https://gitlab.freedesktop.org/drm/amd/-/issues/3501 Signed-off-by: Arunpravin Paneer Selvam Cc: sta...@vger.kernel.org --- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 18 +++--- 1 file changed, 11

[PATCH] drm/amdgpu: Modify userq signal/wait struct field names

2024-11-04 Thread Arunpravin Paneer Selvam
Modify kernel UAPI userq signal/wait struct field names and description corresponding to the libdrm UAPI review comments. libdrm MR: https://gitlab.freedesktop.org/mesa/drm/-/merge_requests/392 Signed-off-by: Arunpravin Paneer Selvam --- .../gpu/drm/amd/amdgpu/amdgpu_userq_fence.c | 20

[PATCH v2] drm/amdgpu: add userq specific kernel config for fence ioctls

2024-10-29 Thread Arunpravin Paneer Selvam
Keep the user queue fence signal and wait IOCTLs in the kernel config CONFIG_DRM_AMDGPU_NAVI3X_USERQ. v2(Christian): - Remove the userq specific config added for kernel queues fence init function. Signed-off-by: Arunpravin Paneer Selvam --- drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c

Re: [PATCH 1/2] drm/amdgpu: add userq specific kernel config for fence ioctls

2024-10-29 Thread Paneer Selvam, Arunpravin
On 10/29/2024 7:33 PM, Christian König wrote: Am 29.10.24 um 14:32 schrieb Alex Deucher: On Tue, Oct 29, 2024 at 5:38 AM Christian König wrote: Am 24.10.24 um 14:10 schrieb Arunpravin Paneer Selvam: Keep the user queue fence signal and wait IOCTLs in the kernel config

[PATCH 1/2] drm/amdgpu: add userq specific kernel config for fence ioctls

2024-10-25 Thread Arunpravin Paneer Selvam
Keep the user queue fence signal and wait IOCTLs in the kernel config CONFIG_DRM_AMDGPU_NAVI3X_USERQ. Signed-off-by: Arunpravin Paneer Selvam --- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 4 drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c | 16 2 files changed, 20

[PATCH 2/2] drm/amdgpu: Add gpu_addr support to seq64 allocation

2024-10-24 Thread Arunpravin Paneer Selvam
Add gpu address support to seq64 alloc function. v1:(Christian) - Add the user of this new interface change to the same patch. Signed-off-by: Arunpravin Paneer Selvam --- drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c | 10 -- drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.h | 3

Re: [PATCH] drm/amdgpu: Add gpu_addr support to seq64 allocation

2024-10-21 Thread Paneer Selvam, Arunpravin
um 15:26 schrieb Arunpravin Paneer Selvam: Add gpu address support to seq64 alloc function. Looks good to me, but when adding interfaces you should probably have the user of this in the same patch set. Regards, Christian. Signed-off-by: Arunpravin Paneer Selvam ---   drivers/gpu/drm/amd/a

[PATCH] drm/amdgpu: Add gpu_addr support to seq64 allocation

2024-10-18 Thread Arunpravin Paneer Selvam
Add gpu address support to seq64 alloc function. Signed-off-by: Arunpravin Paneer Selvam --- drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c | 10 -- drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.h | 3 ++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu

  1   2   3   4   5   6   7   >