drm/qxl: use iterator instead of dma_resv_shared_list
authorChristian König <christian.koenig@amd.com>
Fri, 24 Sep 2021 08:04:00 +0000 (10:04 +0200)
committerChristian König <christian.koenig@amd.com>
Tue, 30 Nov 2021 13:53:02 +0000 (14:53 +0100)
commit86baad1941702aa9b6fb44d6f150a34e9e4e1fae
tree4adbc04670194265b664ea12cf150587eade035b
parent19cf41b64e3b150cf64fa01dec13f20dc86d95b2
drm/qxl: use iterator instead of dma_resv_shared_list

I'm not sure why it is useful to know the number of fences
in the reservation object, but we try to avoid exposing the
dma_resv_shared_list() function.

So use the iterator instead. If more information is desired
we could use dma_resv_describe() as well.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20211129120659.1815-5-christian.koenig@amd.com
drivers/gpu/drm/qxl/qxl_debugfs.c