gpu: drm: img: Fix to use iterator instead of list
authorHoegeun Kwon <hoegeun.kwon@samsung.com>
Fri, 7 Jul 2023 02:16:18 +0000 (11:16 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 24 Jul 2023 23:25:22 +0000 (08:25 +0900)
commit05bbaaf3735df9a39fb4eb4a665d07a49d6560f9
tree32c3c3ddddfdf67bb220851712e0d9447ad53099
parentacc91742c8dbcdae78287306ec17be87b0c6ba86
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>
drivers/gpu/drm/img/img-rogue/services/server/env/linux/pvr_buffer_sync.c