]> git.baikalelectronics.ru Git - kernel.git/commit
drm/virtio: Replace IDRs with IDAs
authorMatthew Wilcox <willy@infradead.org>
Wed, 26 Sep 2018 16:00:28 +0000 (09:00 -0700)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 29 Oct 2018 21:50:55 +0000 (22:50 +0100)
commite62501314ce127b0f3877c11ef89730db900d956
tree595d3ca8cb753851752d02fe6430ea95651cfc8d
parentfbd576d13af9c09b483039772889bbbe996ed3c1
drm/virtio: Replace IDRs with IDAs

These IDRs were only being used to allocate unique numbers, not to look
up pointers, so they can use the more space-efficient IDA instead.

Signed-off-by: Matthew Wilcox <willy@infradead.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20180926160031.15721-2-willy@infradead.org
[ kraxel: resolve conflict ]

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/virtio/virtgpu_drv.h
drivers/gpu/drm/virtio/virtgpu_kms.c
drivers/gpu/drm/virtio/virtgpu_object.c