drm/virtio: Use IDAs more efficiently
authorMatthew Wilcox <willy@infradead.org>
Tue, 30 Oct 2018 16:53:52 +0000 (09:53 -0700)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 14 Nov 2018 11:50:34 +0000 (12:50 +0100)
commit2ae7f165c0b022a8ed1732f8ab2c11b2c173146e
treef60b615b1fad9053c153c51b02a9401304767513
parent556c62e85f9b97139c1b3f6f1585fcee0bc3eb6a
drm/virtio: Use IDAs more efficiently

0-based IDAs are more efficient than any other base.  Convert the
1-based IDAs to be 0-based.

Signed-off-by: Matthew Wilcox <willy@infradead.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20181030165352.13065-2-willy@infradead.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/virtio/virtgpu_kms.c
drivers/gpu/drm/virtio/virtgpu_object.c