Skip to content
Commit 52370cc6 authored by Christian König's avatar Christian König
Browse files

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: default avatarChristian König <christian.koenig@amd.com>
Reviewed-by: default avatarMichel Dänzer <michel.daenzer@amd.com>
Reviewed-and-Tested-by: default avatarJunwei Zhang <Jerry.Zhang@amd.com>
parent 7aa1a511
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment