drm/amdkfd: Refactor kfd CRIU into its own file
Subsystems (3)
PATCH v2 1/1 drm/amdkfd: Refactor kfd CRIU into its own file
The kfd CRIU code takes up about a thousand lines
in the kfd_chardev file; move it to its own file.
No functional change intended.
Signed-off-by David Francis <[email protected]>
Reviewed-by Felix Kuehling <[email protected]>
--- drivers/gpu/drm/amd/amdkfd/Makefile | 1 + drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 974 +--------------------- drivers/gpu/drm/amd/amdkfd/kfd_criu.c | 989 +++++++++++++++++++++++ drivers/gpu/drm/amd/amdkfd/kfd_criu.h | 50 ++ 4 files changed, 1046 insertions(+), 968 deletions(-) create mode 100644 drivers/gpu/drm/amd/amdkfd/kfd_criu.c create mode 100644 drivers/gpu/drm/amd/amdkfd/kfd_criu.h
drivers/gpu/drm/amd/amdkfd/Makefile +1 -0
@@ -32,6 +32,7 @@ AMDKFD_FILES := $(AMDKFD_PATH)/kfd_module.o \ $(AMDKFD_PATH)/kfd_flat_memory.o \ $(AMDKFD_PATH)/kfd_process.o \ $(AMDKFD_PATH)/kfd_queue.o \ + $(AMDKFD_PATH)/kfd_criu.o \ $(AMDKFD_PATH)/kfd_mqd_manager.o \ $(AMDKFD_PATH)/kfd_mqd_manager_cik.o \ $(AMDKFD_PATH)/kfd_mqd_manager_vi.o \
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c +6 -968
1,007 lines not on this page · raw message
drivers/gpu/drm/amd/amdkfd/kfd_criu.c new file +989 -0
989 lines not on this page · raw message
drivers/gpu/drm/amd/amdkfd/kfd_criu.h new file +50 -0
50 lines not on this page · raw message
Signature · 1 line
2.34.1