linux/drivers/gpu/drm/amd/amdkfd
Felix Kuehling 115c8c4104 drm/amdkfd: Use order_base_2 to get log2 of buffes sizes
Replace (ffs(size) - 1) with order_base_2(size) as a more straight
forward way to get log2 of buffer sizes.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2017-11-06 14:52:28 -05:00
..
cik_event_interrupt.c drm/amdkfd: Use IH context ID for signal lookup 2017-10-27 19:35:28 -04:00
cik_int.h drm/amdkfd: Add SDMA trap src id to the KFD isr wanted list 2017-10-27 19:35:18 -04:00
cik_regs.h drm/amdkfd: Use generic defines in new amd headers 2015-07-20 09:16:49 +03:00
Kconfig drm/radeon: deprecate and remove KFD interface 2017-10-30 14:16:21 +01:00
kfd_chardev.c drm/amdkfd: Fix debug unregister procedure on process termination 2017-11-01 19:21:29 -04:00
kfd_crat.h
kfd_dbgdev.c drm/amdkfd: Hardware DWORD size is 4 bytes 2017-11-06 14:52:27 -05:00
kfd_dbgdev.h drm/amdkfd: avoid CONFIG_ prefix for non-Kconfig symbols 2015-06-06 20:48:34 +03:00
kfd_dbgmgr.c drm/amdkfd: Handle remaining BUG_ONs more gracefully v2 2017-08-15 23:00:12 -04:00
kfd_dbgmgr.h drm/amdkfd: Clean up KFD style errors and warnings v2 2017-08-15 23:00:04 -04:00
kfd_device_queue_manager_cik.c drm/amdkfd: Cleanup DQM ASIC-specific ops 2017-11-01 19:21:31 -04:00
kfd_device_queue_manager_vi.c drm/amdkfd: Cleanup DQM ASIC-specific ops 2017-11-01 19:21:31 -04:00
kfd_device_queue_manager.c drm/amdkfd: Minor cleanups 2017-11-01 19:21:33 -04:00
kfd_device_queue_manager.h drm/amdkfd: Cleanup DQM ASIC-specific ops 2017-11-01 19:21:31 -04:00
kfd_device.c drm/amdkfd: use a high priority workqueue for IH work 2017-10-27 19:35:34 -04:00
kfd_doorbell.c drm/amdkfd: Separate doorbell allocation from PASID 2017-09-26 13:07:03 -04:00
kfd_events.c drm/amdkfd: Make event limit dependent on user mode mapping size 2017-10-27 19:35:29 -04:00
kfd_events.h drm/amdkfd: Simplify event ID and signal slot management 2017-10-27 19:35:27 -04:00
kfd_flat_memory.c drm/amdkfd: Change x==NULL/false references to !x 2017-08-15 23:00:06 -04:00
kfd_interrupt.c drm/amdkfd: use a high priority workqueue for IH work 2017-10-27 19:35:34 -04:00
kfd_kernel_queue_cik.c
kfd_kernel_queue_vi.c
kfd_kernel_queue.c drm/amdkfd: Hardware DWORD size is 4 bytes 2017-11-06 14:52:27 -05:00
kfd_kernel_queue.h
kfd_module.c drm/amdkfd: fix amdkfd use-after-free GP fault 2017-11-26 11:31:32 +02:00
kfd_mqd_manager_cik.c drm/amdkfd: Use order_base_2 to get log2 of buffes sizes 2017-11-06 14:52:28 -05:00
kfd_mqd_manager_vi.c drm/amdkfd: Use order_base_2 to get log2 of buffes sizes 2017-11-06 14:52:28 -05:00
kfd_mqd_manager.c drm/amdkfd: Reuse CHIP_* from amdgpu v2 2017-09-20 18:10:19 -04:00
kfd_mqd_manager.h drm/amd: Update MEC HQD loading code for KFD 2017-08-15 23:00:17 -04:00
kfd_packet_manager.c drm/amdkfd: Hardware DWORD size is 4 bytes 2017-11-06 14:52:27 -05:00
kfd_pasid.c drm/amdkfd: Use PASID manager from KGD 2017-09-26 13:07:04 -04:00
kfd_pm4_headers_diq.h drm/amdkfd: Add skeleton H/W debugger module support 2015-06-03 11:32:28 +03:00
kfd_pm4_headers_vi.h drm/amdkfd: Update PM4 packet headers 2017-08-15 23:00:15 -04:00
kfd_pm4_headers.h drm/amdkfd: Update PM4 packet headers 2017-08-15 23:00:15 -04:00
kfd_pm4_opcodes.h
kfd_priv.h drm/amdkfd: Use ASIC-specific SDMA MQD type 2017-11-01 19:22:01 -04:00
kfd_process_queue_manager.c drm/amdkfd: Fix SDMA oversubsription handling 2017-11-26 11:31:32 +02:00
kfd_process.c drm/amdkfd: Minor cleanups 2017-11-01 19:21:33 -04:00
kfd_queue.c drm/amdkfd: Remove BUG_ONs for NULL pointer arguments 2017-08-15 23:00:09 -04:00
kfd_topology.c drm/amdkfd: Handle remaining BUG_ONs more gracefully v2 2017-08-15 23:00:12 -04:00
kfd_topology.h drm/amdkfd: Set correct doorbell packet type for Carrizo 2015-07-20 09:16:49 +03:00
Makefile drm/amdgpu: add license to Makefiles 2017-12-04 11:47:55 -05:00