]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Move csa related code to separate file
authorRex Zhu <Rex.Zhu@amd.com>
Fri, 19 Oct 2018 05:35:48 +0000 (13:35 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Nov 2018 19:21:49 +0000 (14:21 -0500)
commit6c29a01d5257b42c962cea89f17fac9228d58aea
tree402ac5a7dddc2c55a6dba61988f6535e840489b6
parentf75303e0d20f15384092e5692772ebc91a03cd39
drm/amdgpu: Move csa related code to separate file

In baremetal, also need to reserve csa for preemption.
so move the csa related code out of sriov.

Reviewed-by: Monk Liu <Monk.Liu@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/Makefile
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/amdgpu_csa.h [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h