diff options
author | Nirmoy Das <nirmoy.das@intel.com> | 2024-10-11 18:10:29 +0300 |
---|---|---|
committer | Nirmoy Das <nirmoy.das@intel.com> | 2024-10-14 11:03:54 +0300 |
commit | ec7e6a1d527755fc3c7a3303eaa5577aac5cf6be (patch) | |
tree | c64237e5d9f820b6ca94b5ac7233c765b982125b /tools/perf/scripts/python/gecko.py | |
parent | 735be7acc52fe8f9e29c4327de0993f2c946acba (diff) | |
download | linux-ec7e6a1d527755fc3c7a3303eaa5577aac5cf6be.tar.xz |
drm/xe/ufence: ufence can be signaled right after wait_woken
do_comapre() can return success after a timedout wait_woken() which was
treated as -ETIME. The loop calling wait_woken() sets correct err so
there is no need to re-evaluate err.
v2: Remove entire check that reevaluate err at the end(Matt)
Fixes: e670f0b4ef24 ("drm/xe/uapi: Return correct error code for xe_wait_user_fence_ioctl")
Link: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/1630
Cc: stable@vger.kernel.org # v6.8+
Cc: Bommu Krishnaiah <krishnaiah.bommu@intel.com>
Cc: Matthew Auld <matthew.auld@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241011151029.4160630-1-nirmoy.das@intel.com
Signed-off-by: Nirmoy Das <nirmoy.das@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions