Files
linux/drivers/gpu/drm/xe
Niranjana Vishwanathapura 0568a4086a drm/xe: Remove unwanted mutex locking
Do not hold xef->exec_queue.lock mutex while parsing the xarray
xef->exec_queue.xa in xe_file_close() as it is not needed and
will cause an unwanted dependency between this lock and the vm->lock.

This lock protects the exec queue lookup and reference taking which
doesn't apply to this code path. When FD is closing, IOCTLs presumably
can't be modifying the xarray.

v2: Update commit text (Matt Brost)
v3: Add more code comment (Rodrigo Vivi)
v4: Further expand code comment (Rodirgo Vivi)

Signed-off-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Jagmeet Randhawa <jagmeet.randhawa@intel.com>
Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240529221639.23117-1-niranjana.vishwanathapura@intel.com
2024-05-29 23:44:31 -07:00
..
2024-05-09 21:28:25 +02:00
2024-05-07 23:21:21 +02:00
2024-04-02 10:33:57 -07:00
2023-12-19 18:33:50 -05:00
2023-12-21 11:37:31 -05:00
2024-05-22 12:03:54 +02:00
2024-04-08 12:03:19 -07:00
2024-05-28 12:29:43 -04:00
2024-05-22 13:22:40 +01:00
2024-05-13 21:36:50 +02:00
2024-04-02 10:33:57 -07:00
2023-12-19 18:29:20 -05:00
2024-05-22 12:03:56 +02:00
2024-05-22 12:03:55 +02:00
2023-12-19 18:29:20 -05:00
2024-04-02 10:33:57 -07:00
2024-04-02 10:33:57 -07:00
2024-05-07 12:03:49 +02:00
2024-05-14 11:26:40 -04:00
2023-12-21 11:45:28 -05:00
2024-05-13 21:36:52 +02:00
2024-04-02 10:33:57 -07:00
2023-12-21 11:45:24 -05:00
2023-12-19 18:31:30 -05:00
2023-12-21 11:45:06 -05:00
2023-12-21 11:45:06 -05:00
2024-05-22 12:03:53 +02:00
2024-05-07 12:45:39 -04:00
2024-05-23 13:38:26 -04:00
2024-05-23 13:38:26 -04:00
2023-12-21 11:44:39 -05:00