drm/virtio: use fence_id when processing fences
authorGurchetan Singh <gurchetansingh@chromium.org>
Thu, 19 Nov 2020 01:08:08 +0000 (17:08 -0800)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 20 Nov 2020 09:44:41 +0000 (10:44 +0100)
commitbb53a604a74b38e6d71ae12174c8c1d229c2e2b1
treea4e9f6f883af55e789c6a416c70c50d1d864c1e6
parentc12096085b623024416d02db435005cdf79a71bb
drm/virtio: use fence_id when processing fences

Currently, the fence ID, which can be used to identify a
virtgpu fence, is the same as the fence sequence number.

Let's use the fence_id name to clearly signal this.

Signed-off-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Anthoine Bourgeois <anthoine.bourgeois@gmail.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20201119010809.528-4-gurchetansingh@chromium.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/virtio/virtgpu_drv.h
drivers/gpu/drm/virtio/virtgpu_fence.c