]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: separate VM PT handling into amdgpu_vm_pt.c
authorChristian König <christian.koenig@amd.com>
Tue, 15 Mar 2022 07:51:24 +0000 (08:51 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Mar 2022 16:40:26 +0000 (12:40 -0400)
commit327a9bc03855f14fb61cf58795df592fd3852db3
treeb32d805dccf7289628c1b068ab6771e8746a8ae2
parent29dd2bdbfb78a50202a412ea931b1821a1930c7b
drm/amdgpu: separate VM PT handling into amdgpu_vm_pt.c

Separate the VM page table backend operations from the state machine since
the amdgpu_vm.c file is becoming to complex.

The allocating, freeing and updating page tables and page directories can
easily be moved into a separate file.

While at it cleanup everything checkpatch.pl reported and rename the
functions a bit to make more clear that they belong together.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/Makefile
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c [new file with mode: 0644]