drm/i915: Switch context id allocation directly to xarray
IDR internally uses xarray so we can use it directly which simplifies our code by removing the need to do external locking. Signed-off-by: NTvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: NChris Wilson <chris@chris-wilson.co.uk> Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20191224095920.2386297-1-chris@chris-wilson.co.uk
Showing
想要评论请 注册 或 登录