linux/drivers/gpu/drm/qxl
Deepak R Varma 5d4c1edf0d drm/qxl: replace idr_init() by idr_init_base()
idr_init() uses base 0 which is an invalid identifier for this driver.
The idr_alloc for this driver uses 1 as start value for ID range. The
new function idr_init_base allows IDR to set the ID lookup from base 1.
This avoids all lookups that otherwise starts from 0 since 0 is always
unused / available.

References: commit 6ce711f275 ("idr: Make 1-based IDRs more efficient")

Signed-off-by: Deepak R Varma <mh12gx2825@gmail.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20201105185016.GA71797@localhost
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2020-11-06 08:50:31 +01:00
..
Kconfig
Makefile
qxl_cmd.c qxl/ttm: drop the unusued no wait flag to reserve function 2020-08-06 12:16:29 +10:00
qxl_debugfs.c drm/qxl: switch over to the new pin interface 2020-09-24 16:16:50 +02:00
qxl_dev.h PCI: Move PCI_VENDOR_ID_REDHAT definition to pci_ids.h 2020-07-09 17:00:47 -05:00
qxl_display.c drm/atomic: Pass the full state to CRTC atomic begin and flush 2020-11-02 12:37:49 +01:00
qxl_draw.c drm/qxl: qxl_release use after free 2020-04-29 13:21:34 +02:00
qxl_drv.c drm/qxl: don't take vga ports on rev5+ 2020-08-17 09:36:36 +02:00
qxl_drv.h drm/qxl: switch over to the new pin interface 2020-09-24 16:16:50 +02:00
qxl_dumb.c drm/qxl: remove _unlocked suffix in drm_gem_object_put_unlocked 2020-05-19 22:31:34 +01:00
qxl_gem.c drm/qxl: remove _unlocked suffix in drm_gem_object_put_unlocked 2020-05-19 22:31:34 +01:00
qxl_image.c drm/qxl: lost qxl_bo_kunmap_atomic_page in qxl_image_init_helper() 2020-04-29 13:21:34 +02:00
qxl_ioctl.c drm/qxl: switch over to the new pin interface 2020-09-24 16:16:50 +02:00
qxl_irq.c drm/qxl: Don't use drm_device->dev_private 2020-04-28 20:04:01 +02:00
qxl_kms.c drm/qxl: replace idr_init() by idr_init_base() 2020-11-06 08:50:31 +01:00
qxl_object.c drm/ttm: nuke caching placement flags 2020-10-15 12:51:35 +02:00
qxl_object.h drm/qxl: switch over to the new pin interface 2020-09-24 16:16:50 +02:00
qxl_prime.c
qxl_release.c drm/qxl: switch over to the new pin interface 2020-09-24 16:16:50 +02:00
qxl_ttm.c drm/qxl: drop ttm_page_alloc.h include 2020-10-29 15:57:36 +01:00