Re: [PATCH libdrm 2/6] amdgpu: add handle table implementation v2

2018-08-06 Thread Zhang, Jerry (Junwei)
On 08/03/2018 07:34 PM, Christian König wrote: The kernel handles are dense and the kernel always tries to use the lowest free id. Use this to implement a more efficient handle table by using a resizeable array instead of a hash. v2: add handle_table_fini function, extra key checks, fix typ

[PATCH libdrm 2/6] amdgpu: add handle table implementation v2

2018-08-03 Thread Christian König
The kernel handles are dense and the kernel always tries to use the lowest free id. Use this to implement a more efficient handle table by using a resizeable array instead of a hash. v2: add handle_table_fini function, extra key checks, fix typo in function name Signed-off-by: Christian König