]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/amdgpu: Refine CSA related functions
authorRex Zhu <Rex.Zhu@amd.com>
Mon, 15 Oct 2018 09:08:38 +0000 (17:08 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Nov 2018 19:21:48 +0000 (14:21 -0500)
commit1e256e2762211c02078c31f839a9b243f62efd5e
treeda9dc4eb0fbfee937e8ed2812ccf32d60de9ca61
parent20bedfe0c13a2e221301e3c889b2a4c48374f78a
drm/amdgpu: Refine CSA related functions

There is no functional changes,
Use function arguments for SRIOV special variables which
is hardcode in those functions.

so we can share those functions in baremetal.

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/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h