drm/amdkfd: Process-device data creation and lookup split
authorAlexey Skidanov <Alexey.Skidanov@amd.com>
Tue, 18 Nov 2014 12:00:04 +0000 (14:00 +0200)
committerOded Gabbay <oded.gabbay@amd.com>
Fri, 9 Jan 2015 20:25:58 +0000 (22:25 +0200)
commit093c7d8cfd2a26ff05e3bdff63d371147df1951c
treea308fb36ec1d2d18480c5b0547d87160d52c1441
parentf7c826ad380b59baff190044c024b62091128145
drm/amdkfd: Process-device data creation and lookup split

This patch splits the current kfd_get_process_device_data() to two
functions, one that specifically creates a pdd and another one which
just do lookup.

This is done to enhance the readability and maintainability of the code.

Signed-off-by: Alexey Skidanov <Alexey.Skidanov@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c
drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c
drivers/gpu/drm/amd/amdkfd/kfd_priv.h
drivers/gpu/drm/amd/amdkfd/kfd_process.c
drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c