]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit1938d1ae32fefa172288e3a9245ae126640c5c10
tree595d3ca8cb753851752d02fe6430ea95651cfc8d
parent6c1cd97bdaffa2ae1dbdc8a0857931308ac647cd
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