drm/virtio: simplify getting fake offset
authorGurchetan Singh <gurchetansingh@chromium.org>
Thu, 19 Dec 2019 00:57:31 +0000 (16:57 -0800)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 19 Dec 2019 06:13:45 +0000 (07:13 +0100)
commit093bd9cf5e2c775bac9031ea5974a38ee6cca09b
tree9ebbea7a28e60210ca323bfa07344c7b07e8683c
parent9e07d4617b0156cd93b71fbda2b2a0f15da83e94
drm/virtio: simplify getting fake offset

This is a little simpler.

Signed-off-by: Gurchetan Singh <gurchetansingh@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20191219005733.18960-4-gurchetansingh@chromium.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/virtio/virtgpu_drv.h
drivers/gpu/drm/virtio/virtgpu_gem.c