accel/ivpu: Fix for missing lock around drm_gem_shmem_vmap()
authorJacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Mon, 15 Jan 2024 13:44:30 +0000 (14:44 +0100)
committerJacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Mon, 22 Jan 2024 09:28:43 +0000 (10:28 +0100)
commit7f66319927a8ced3be715eb7616a890b9bf0348b
treea3b50731c6bd3c075b2492dcaf0eb9d0855e4e33
parent2a20b857dd654595d332f2521d80bd67b03536a0
accel/ivpu: Fix for missing lock around drm_gem_shmem_vmap()

drm_gem_shmem_vmap/vunmap requires dma resv lock to be held.
This was missed during conversion to shmem helper.

Fixes: 8d88e4cdce4f ("accel/ivpu: Use GEM shmem helper for all buffers")
Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240115134434.493839-6-jacek.lawrynowicz@linux.intel.com
drivers/accel/ivpu/ivpu_gem.c