commit | 52370cc6eb37e31f44daf563bada4392f6a58e49 | [log] [tgz] |
---|---|---|
author | Christian König <christian.koenig@amd.com> | Thu Aug 02 10:42:41 2018 +0200 |
committer | Christian König <christian.koenig@amd.com> | Tue Aug 07 13:27:16 2018 +0200 |
tree | de5b9f3d8095b30268c8dfeff71c7ad1947f1d6f | |
parent | 7aa1a511336dd7cb26dafef81d76edd6978a6cdf [diff] |
amdgpu: add handle table implementation v2 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 <christian.koenig@amd.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-and-Tested-by: Junwei Zhang <Jerry.Zhang@amd.com>