commit | 8625ff9c0ba7db32ce4eb25f6032638c1f88c82f | [log] [tgz] |
---|---|---|
author | Felix Kuehling <Felix.Kuehling@amd.com> | Tue Aug 15 23:00:11 2017 -0400 |
committer | Oded Gabbay <oded.gabbay@gmail.com> | Tue Aug 15 23:00:11 2017 -0400 |
tree | e115312f991c94e587ec69948f467814370b7273 | |
parent | 735df2ba1d584e98a894680e29a813f9fde64a84 [diff] |
drm/amdkfd: Allocate gtt_sa_bitmap in long units gtt_sa_bitmap is accessed by bitmap functions, which operate on longs. Therefore the array should be allocated in long units. Also round up in case the number of bits is not a multiple of BITS_PER_LONG. Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>