mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-19 05:06:53 +00:00
drm/amdkfd: Move a constant definition around
The similar definitions should be consecutive. Signed-off-by: Yong Zhao <Yong.Zhao@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
478168e1cb
commit
7452394310
1 changed files with 6 additions and 5 deletions
|
|
@ -97,17 +97,18 @@
|
||||||
#define KFD_CWSR_TBA_TMA_SIZE (PAGE_SIZE * 2)
|
#define KFD_CWSR_TBA_TMA_SIZE (PAGE_SIZE * 2)
|
||||||
#define KFD_CWSR_TMA_OFFSET PAGE_SIZE
|
#define KFD_CWSR_TMA_OFFSET PAGE_SIZE
|
||||||
|
|
||||||
|
#define KFD_MAX_NUM_OF_QUEUES_PER_DEVICE \
|
||||||
|
(KFD_MAX_NUM_OF_PROCESSES * \
|
||||||
|
KFD_MAX_NUM_OF_QUEUES_PER_PROCESS)
|
||||||
|
|
||||||
|
#define KFD_KERNEL_QUEUE_SIZE 2048
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Kernel module parameter to specify maximum number of supported queues per
|
* Kernel module parameter to specify maximum number of supported queues per
|
||||||
* device
|
* device
|
||||||
*/
|
*/
|
||||||
extern int max_num_of_queues_per_device;
|
extern int max_num_of_queues_per_device;
|
||||||
|
|
||||||
#define KFD_MAX_NUM_OF_QUEUES_PER_DEVICE \
|
|
||||||
(KFD_MAX_NUM_OF_PROCESSES * \
|
|
||||||
KFD_MAX_NUM_OF_QUEUES_PER_PROCESS)
|
|
||||||
|
|
||||||
#define KFD_KERNEL_QUEUE_SIZE 2048
|
|
||||||
|
|
||||||
/* Kernel module parameter to specify the scheduling policy */
|
/* Kernel module parameter to specify the scheduling policy */
|
||||||
extern int sched_policy;
|
extern int sched_policy;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue