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

2024-10-09 Thread Pierre-Eric Pelloux-Prayer
Thanks for the updated patch, looks good to me. Le 09/10/2024 à 14:31, Christian König a écrit : Am 09.10.24 um 14:28 schrieb 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 fr

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

2024-10-09 Thread Christian König
Am 09.10.24 um 14:28 schrieb 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 if there are multiple BO_HANDLES, we stop. C

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

2024-10-09 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 if there are multiple BO_HANDLES, we stop. Cc: sta...@vger.kernel.org Fixes: fec5f8e8c6bc (