]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit7946340fa38965705f79273cef0cdc477239bf2d
tree402ac5a7dddc2c55a6dba61988f6535e840489b6
parent1e256e2762211c02078c31f839a9b243f62efd5e
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