gpu: drm: img: Fix to use iterator instead of list
authorHoegeun Kwon <hoegeun.kwon@samsung.com>
Tue, 9 Jan 2024 08:45:52 +0000 (17:45 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 19 Feb 2024 00:13:57 +0000 (09:13 +0900)
commit1691514834f8953601cc9398eb95986da1c172af
tree28c80db90215cd92cd974939dd7b224c64ac192a
parent0c191b2668dc5bff7b3656e1e255e070db26efbb
gpu: drm: img: Fix to use iterator instead of list

Change the dma fence management method from list to iterator method.
Also the fences have to added individually on each other driver. So
dma_resv_add_fence does not add a fence, but dma_resv_reserve_fences
is used to add it.

Change-Id: I4c87608b9878e218fe0ae5cc5acb564c1f9d5db9
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
drivers/gpu/drm/img/img-rogue/services/server/env/linux/pvr_buffer_sync.c