After merging the drm tree, today's linux-next build (x86_64So I think that Dave's drm-next now contains the correct code.
allmodconfig) failed like this:
drivers/gpu/drm/amd/amdkfd/kfd_device.c: In function 'kgd2kfd_device_init':
drivers/gpu/drm/amd/amdkfd/kfd_device.c:193:11: error: 'max_num_of_processes' undeclared (first use in this function)
size += (max_num_of_processes * sizeof(struct pm4_map_process) +
^
drivers/gpu/drm/amd/amdkfd/kfd_device.c:193:11: note: each undeclared identifier is reported only once for each function it appears in
drivers/gpu/drm/amd/amdkfd/kfd_device.c:194:26: error: 'max_num_of_queues_per_process' undeclared (first use in this function)
max_num_of_processes * max_num_of_queues_per_process *
^