Re: [PATCH] drm/amdgpu: prevent BO_HANDLES error from being overwritten

2024-10-09 Thread Mohammed Anees
Hi, I have sent the v2 Patch reflecting these changes along with the Cc tag as suggested by Christian. Thanks

Re: [PATCH] drm/amdgpu: prevent BO_HANDLES error from being overwritten

2024-10-09 Thread Christian König
Am 09.10.24 um 10:22 schrieb Pierre-Eric Pelloux-Prayer: Hi, Le 05/10/2024 à 01:59, Mohammed Anees a écrit : Before this patch, if multiple BO_HANDLES chunks were submitted, the error -EINVAL would be correctly set but could be overwritten by the return value from amdgpu_cs_p1_bo_handles(). Thi

Re: [PATCH] drm/amdgpu: prevent BO_HANDLES error from being overwritten

2024-10-09 Thread Pierre-Eric Pelloux-Prayer
Hi, Le 05/10/2024 à 01:59, Mohammed Anees a écrit : Before this patch, if multiple BO_HANDLES chunks were submitted, the error -EINVAL would be correctly set but could be overwritten by the return value from amdgpu_cs_p1_bo_handles(). This patch ensures that once an error condition is detected,

[PATCH] drm/amdgpu: prevent BO_HANDLES error from being overwritten

2024-10-04 Thread Mohammed Anees
Before this patch, if multiple BO_HANDLES chunks were submitted, the error -EINVAL would be correctly set but could be overwritten by the return value from amdgpu_cs_p1_bo_handles(). This patch ensures that once an error condition is detected, the function returns immediately, avoiding the overwrit