diff options
author | Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com> | 2024-01-22 15:09:43 +0300 |
---|---|---|
committer | Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com> | 2024-01-25 12:16:56 +0300 |
commit | f1cc6aceecd04964304786530eaa4ad87d90b972 (patch) | |
tree | abbfe177f3f83772c837cec402338fdf943938b1 /drivers/accel/ivpu/ivpu_pm.h | |
parent | d1b163aa0749706379055e40a52cf7a851abf9dc (diff) | |
download | linux-f1cc6aceecd04964304786530eaa4ad87d90b972.tar.xz |
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 'drivers/accel/ivpu/ivpu_pm.h')
0 files changed, 0 insertions, 0 deletions