]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaf3a9a6e5f45cc6f66bb24e268c5291de842fdf7
treea4e9f6f883af55e789c6a416c70c50d1d864c1e6
parentb508020485d1626c8c3b6c5945e727dfdabb4fa5
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