gpu: drm: img-rouge: Replace with *_unlocked variants to avoid resv lock warning
authorYongtaek Jeon <ytjeon@samsung.com>
Tue, 15 Apr 2025 10:02:11 +0000 (19:02 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 29 Apr 2025 03:38:33 +0000 (12:38 +0900)
commit502c3528ca2189a8b3670ca0a9f601c71452a096
tree7464d623643ffe755d589d12ba231bb2399355b5
parenta553bc2688f65b99a1c388c9e0e4a6ae91684f8c
gpu: drm: img-rouge: Replace with *_unlocked variants to avoid resv lock warning

Using dma_buf_map/unmap_attachment() without holding dma_resv_lock()
causes a WARN when lockdep is enabled.

Switched to *_unlocked variants, which handle locking internally, to
avoid the warning.

Change-Id: Icbd1b5a1cf25a850100277dfcb4e0f2ac9a6b774
Signed-off-by: Yongtaek Jeon <ytjeon@samsung.com>
drivers/gpu/drm/img-rogue/physmem_dmabuf.c