]> git.baikalelectronics.ru Git - 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)
commitf75303e0d20f15384092e5692772ebc91a03cd39
treeda9dc4eb0fbfee937e8ed2812ccf32d60de9ca61
parent6b329de59237b4e8fe4118d386ba048563c52be1
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