]> www.infradead.org Git - users/willy/xarray.git/commit
drm: Convert object_idr to XArray
authorMatthew Wilcox <willy@infradead.org>
Thu, 14 Feb 2019 21:40:05 +0000 (16:40 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 8 Aug 2019 03:39:31 +0000 (23:39 -0400)
commit20321938a443b180af5cdf4bfb4646b00375e554
tree58932c2ebdec4fa483711e5b904d889cd7b2e3da
parent087bd6440df479d49a696180390292b3f95ce009
drm: Convert object_idr to XArray

 - Rename it to 'objects'
 - Also convert leases IDR to XArray as the two are occasionally used by
   the same code (see drm_mode_get_lease_ioctl())
 - Refactor drm_mode_create_lease_ioctl() to create the new drm_master
   early to avoid creating an XArray on the stack and reparenting it
   afterwards.

Signed-off-by: Matthew Wilcox <willy@infradead.org>
drivers/gpu/drm/drm_auth.c
drivers/gpu/drm/drm_lease.c
drivers/gpu/drm/drm_mode_config.c
drivers/gpu/drm/drm_mode_object.c
include/drm/drm_auth.h
include/drm/drm_mode_config.h