diff options
author | Jacek Lawrynowicz | 2024-01-22 13:09:43 +0100 |
---|---|---|
committer | Jacek Lawrynowicz | 2024-01-25 10:16:56 +0100 |
commit | f1cc6aceecd04964304786530eaa4ad87d90b972 (patch) | |
tree | abbfe177f3f83772c837cec402338fdf943938b1 /rust | |
parent | d1b163aa0749706379055e40a52cf7a851abf9dc (diff) |
accel/ivpu: Fix dev open/close races with unbind
- Add context_list_lock to synchronize user context addition/removal
- Use drm_dev_enter() to prevent unbinding the device during ivpu_open()
and vpu address allocation
Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Reviewed-by: Wachowski, Karol <karol.wachowski@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240122120945.1150728-2-jacek.lawrynowicz@linux.intel.com
Diffstat (limited to 'rust')
0 files changed, 0 insertions, 0 deletions