summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMohammed Anees <pvmohammedanees2003@gmail.com>2024-10-09 17:58:31 +0530
committerAlex Deucher <alexander.deucher@amd.com>2024-10-15 11:18:49 -0400
commit40f2cd98828f454bdc5006ad3d94330a5ea164b7 (patch)
tree7319b1c13869c78801d3715efe08e0e948855fd1 /tools/perf/scripts/python/export-to-postgresql.py
parent2a90ae75f9487bd6adfaa3dd7f7ae3f15b50f28e (diff)
drm/amdgpu: prevent BO_HANDLES error from being overwritten
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. Fixes: fec5f8e8c6bc ("drm/amdgpu: disallow multiple BO_HANDLES chunks in one submit") Signed-off-by: Mohammed Anees <pvmohammedanees2003@gmail.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions